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
develop the digester which parse this file to fill internal data of the
FormView.

Angelo


2007/3/21, Dave Newton [EMAIL PROTECTED]:


--- 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,






The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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 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:
  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.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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 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:
  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.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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,



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
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.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[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.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]