You can use the fieldexpression validator. See http://struts.apache.org/2.1.8.1/docs/fieldexpression-validator.html for details.
On Tue, Jul 13, 2010 at 05:39:52AM -0700, kisja wrote: > > I have two textfield and I would like to validate that at least one of both > have data. > How I can do? > > (I apologize for my bad English) > > Thanks > -- > View this message in context: > http://old.nabble.com/Struts2-validation-tp29149892p29149892.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org