« Return to Thread: Disappointed by the guestbook 3.6 example

Re: Disappointed by the guestbook 3.6 example

by gregoryjoseph :: Rate this Message:

Reply to Author | View in Thread



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+Definition
http://documentation.magnolia-cms.com/reference/templating.html#Templateandparagraphmodelaction

>
> any advice ?
>
> Nicolas
>
>
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------

 « Return to Thread: Disappointed by the guestbook 3.6 example