PascalAlberty
Jun 12th, 2007, 04:07 PM
Hi,
I would like to apply a specific decorator for a specific view for one controller.
Typically, my controller is a MultiActionFormController. Depending of the success (or not) of the action execution,, different views are shown. Depending of these views, I would like to apply a different decorator.
Actually, decorator are choosen based on access point (controller url mapping) and not based on the view name.
How can I do this if possible ?
Thanks
I would like to apply a specific decorator for a specific view for one controller.
Typically, my controller is a MultiActionFormController. Depending of the success (or not) of the action execution,, different views are shown. Depending of these views, I would like to apply a different decorator.
Actually, decorator are choosen based on access point (controller url mapping) and not based on the view name.
How can I do this if possible ?
Thanks