[TYPO3-ect] MVC pagination results via xajax

Philip Almeida philip.almeida at gmail.com
Fri Nov 30 17:52:23 CET 2007


On Nov 30, 2007 4:24 PM, Elmar Hinz <elmar07 at googlemail.com> wrote:

> Philip Almeida wrote:
>
> > Well I am working on a way to do the result browser via ajax now.
> > Meanwhile I think there is a "block" in the regular result browser
> because
> > it is not possible, as far as I know, to change the template.
> >
> > Example:
> >
> > tx_lib_resultBrowser_controller class defines the template folder and
> the
> > template file:
> >
> >     function defaultAction() {
> >         $model = $this->makeInstance('tx_lib_resultBrowser_model');
> >         $view = $this->makeInstance('tx_lib_resultBrowser_view',
> $model);
> >         $view->setPathToTemplateDirectory('EXT:lib/resultBrowser/');
> >         $view->render('template.php');
> >         return $view->get('result');
> >     }
> >
> > tx_lib_resultBrowser_controller is called via class
> > tx_lib_resultBrowserProcessor.
>
>
>
> Hi Philip,
>
> as announeced a while ago I stripped the pipeline of processors out of lib
> for differnt reasons today and published a new version to TER. So it's
> tx_lib_resultBrowserSpl again in the TER version. PoP will be moved to an
> addon extension of lib, for those who like to use it.
>
>
> http://typo3.org/extensions/repository/view/lib/0.1.0/info/resultBrowser%252Fclass.tx_lib_resultBrowser_controller.php/
>
> The problem is the same. The emplate path is still hardcoded for the
> resultBrowser.
>
> Simply extend the classes and overwrite the methods:
>
> tx_lib_resultBrowserSpl->buildAs
> tx_lib_resultBrowser_controller-> defaultAction
>
> Regards
>
> Elmar
>
> Thanks for your fast response.
I was already in the process of extending the classes.
I tried lib 0.1.0 but my application just vanish. I think I have to wait for
a new project.
Meanwhile I go with  0.0.25
:)

Best regards Elmar,

Philip Almeida


>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> TYPO3-team-extension-coordination mailing list
> TYPO3-team-extension-coordination at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination
>



-- 
--- --- --- --- --- --- --- --- ---
Philip de Oliveira de Almeida


More information about the TYPO3-team-extension-coordination mailing list