View Layer: implementing presentation logic

2008-12-19 Thread Thorsten Scherler
Hi all, I am looking into implementing some presentation logic and wonder what the best approach is. In my usecase I have a form and after the user submitted it I present the values back in a page. There is an optional option that I want to display if the user had given feedback to the option.

Re: View Layer: implementing presentation logic

2008-12-19 Thread Jérémy Bogatirsky
Hi, you may look at wicket:enclosure. I'm actually trying to use it. Jérémy 2008/12/19 Thorsten Scherler thorsten.scherler@juntadeandalucia.es: Hi all, I am looking into implementing some presentation logic and wonder what the best approach is. In my usecase I have a form and after

Re: View Layer: implementing presentation logic

2008-12-19 Thread Thorsten Scherler
El vie, 19-12-2008 a las 11:29 +0100, Jérémy Bogatirsky escribió: Hi, you may look at wicket:enclosure. I'm actually trying to use it. Thanks Jérémy, I am ATM trying to use it but not very successfully till now. Salu2 P.S.: For more information about the different tags in wicket see

Re: View Layer: implementing presentation logic

2008-12-19 Thread Ryan McKinley
I may be missing something but what about just setting the visible property? for( section : sections ) { Label label = new Label( ... label.setVisible( section.id != 0 ); add( label ) } On Dec 19, 2008, at 4:52 AM, Thorsten Scherler wrote: Hi all, I am looking into implementing some