Struts validation (validwhen)

2009-10-05 Thread acastanheira2001
Hi, I have a form with two fields, when one is null the other is required, so I need to check one against the other. I´ve done the config below, but nothing happens: test ((codigo == null) or (*this* != null)) mask ${alfa} test ((nome == null) or (*this* != null)) mask ${numInst}

Re: struts newbie validate

2009-09-08 Thread acastanheira2001
Hi, Any ideas? acastanheira2001 wrote: > > Hi, > > I have to server-side validate user input data in a production system. > > Here are some code snippets: > > struts-config.xml > > > > type="MyClassAction" >

struts newbie validate

2009-09-03 Thread acastanheira2001
Hi, I have to server-side validate user input data in a production system. Here are some code snippets: struts-config.xml As far as I know, when the user clicks http://localh