Re: [s2] Possibility to hide input fields if not empty?

2007-03-22 Thread Angelo zerr
I don't know XML validation for the Struts 2.x, but if it's the same than Struts 1.x, it would be works. FormView use XML validation to set information about field (required, date). If you have interested with FormView, you could explain me the XML validation used with Struts 2.x and I could

Re: [s2] Possibility to hide input fields if not empty?

2007-03-21 Thread Piero Sartini
Thanks, this will work. But I was not specific enough. If there is a way to use the Validators for this task, that would be really handy (if valid then do not display). Am Dienstag, 20. März 2007 schrieb joey: Just use condition tag to hide your fields,like this: s:if

Re: [s2] Possibility to hide input fields if not empty?

2007-03-21 Thread Angelo zerr
Hi, if you want you can see http://formview.sourceforge.net/. FormView can manage your case and other. It works with Struts 1.x or without Struts. Regards Angelo 2007/3/21, Piero Sartini [EMAIL PROTECTED]: Thanks, this will work. But I was not specific enough. If there is a way to use the

Re: [s2] Possibility to hide input fields if not empty?

2007-03-21 Thread Dave Newton
--- Angelo zerr [EMAIL PROTECTED] wrote: if you want you can see http://formview.sourceforge.net/. FormView can manage your case and other. It works with Struts 1.x or without Struts. But not 2.0, which is what the question was? d,

Re: [s2] Possibility to hide input fields if not empty?

2007-03-20 Thread joey
Just use condition tag to hide your fields,like this: s:if test=user.email==null s:textfield key=user.email name=user.email / /s:if On 3/20/07, Piero Sartini [EMAIL PROTECTED] wrote: Just wondering how you guys would make something like this:

[s2] Possibility to hide input fields if not empty?

2007-03-19 Thread Piero Sartini
Just wondering how you guys would make something like this: When a Field in a form is null or empty it should be displayed, if it is already filled it should disappear. Is there an easy way to do this with s2? Use-Case is to ask the user missing information after login. Piero.