[TYPO3-mvc] passing on demand object to various views/formats

Thomas Allmer at at delusionworld.com
Wed Mar 2 15:02:48 CET 2011


On 02.03.2011 10:31, Nikolas Hagelstein wrote:
> 1. Don't pass arroud the whole demand object. This is not possible
> trough links due to hmac issues (even if you disable it).
>
> 2. Insteand pass arround an "overwrite" deman array which consists of
> key/properties you whish to manipulate.
>
> 3. usually you got an initial i.e. default demand (generated from
> settings in my example- change it to your needs).
>
> 4. consider adding access checks withhin the override function. You
> probably don't want all properties to be overwritable.
>
> Hope this helps,

thank you!

that really looks like a smooth solution :)
thx for the sample code :)

I will definitely check this out :)
-- 
+---------------------------------+-----------------------------------+
| Thomas Allmer                   |   http://www.delusionworld.com    |
| E-mail: at at delusionworld.com    |   phone: +43 699 16217064         |
+---------------------------------+-----------------------------------+


More information about the TYPO3-project-typo3v4mvc mailing list