On Jun 19, 2009, at 6:45 PM, Nicolas Brasseur wrote:
>
>
> Hi,
>
> I've reviewed the Guestbook 3.6 example (
http://wiki.magnolia-cms.com/display/WIKI/Guestbook+for+3.6
> ). I am a bit disappointed by the amount of Java code stored in the
> JSP page.
> Is there another strategy to handle the same use-case but put the
> java code in some king of action/filter/controller instead of in the
> view layer ?
Definitely - you could use the form module's FormHandler, or maybe
more straightforward, at template or paragraph model
http://wiki.magnolia-cms.com/display/DEV/Renderer,+Model+and+Template+Definitionhttp://documentation.magnolia-cms.com/reference/templating.html#Templateandparagraphmodelaction----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <
user-list-unsubscribe@...>
----------------------------------------------------------------