public function render( $bodyOnly = false )
    {
        $this->parseRequest();

        $result = $this->view->render( 'rowSet/layout', array(
            'rowSet' => $this,
        ) );

        if ( $bodyOnly )
        {
            return $result;
        }

        if ( $this->hasFlags( self::FLAG_LAYOUT_FILTERING ) )
        {
            $result = $this->view->render( 'rowSet/layout/filtering', array(
                'content'   => $result,
                'rowSet'    => $this,
            ) );
        }

        if ( $this->hasFlags( self::FLAG_LAYOUT_AJAX ) )
        {
            $result = $this->view->render( 'rowSet/layout/ajax', array(
                'content'   => $result,
                'rowSet'    => $this,
            ) );
        }
        else
        {
            $result = $this->view->render( 'rowSet/layout/basic', array(
                'content'   => $result,
                'rowSet'    => $this,
            ) );
        }

        return $result;
    }