[TYPO3-mvc] I proudly present my first TYPO3 MVC Project

Steffen Kamper info at sk-typo3.de
Wed Jul 29 11:01:51 CEST 2009


Hi,

Sebastian Gebhard schrieb:
>>> $this->view->assign('config', $this->settings);
> Why passing i from Controller to View by hand? {settings} is available 
> in the view by default.
>
ok, even better.


> But in the case of my PageBrowserViewHelper passing around the params 
> from the template to the ViewHelper would look like this:
> 
> <auto:pageBrowser pages="{pages}" firstPages="{settings.firstPages}" 
> lastPages="{settings.lastPages}" eachPages="{settings.eachPages}" 
> aroundActPages="{settings.aroundActPages}" />
> 
> To keep work with fluid efficient i'd like to see TS access in the 
> ViewHelpers.

what's wrong with Tx_Extbase_Dispatcher::getSettings() ? There is your TS in

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list