RE: Conditional fire on validation()

2011-07-18 Thread Baubak Gandomi
Original Message- From: Eric Lentz [mailto:eric.le...@sherwin.com] Sent: lundi 18 juillet 2011 14:16 To: Struts Users Mailing List Subject: Re: Conditional fire on validation() > I'm not sure it's exactly what you're looking for, but IIRC there should be > a convention for th

Re: Conditional fire on validation()

2011-07-18 Thread Eric Lentz
> I'm not sure it's exactly what you're looking for, but IIRC there should be > a convention for the validate method, such that you can call, for example, a > method validateSave, expecting that it's fired contextually with the save > action > > Maurizio Cucchiara Oh yeah! I remember coming ac

Re: Conditional fire on validation()

2011-07-18 Thread Maurizio Cucchiara
I'm not sure it's exactly what you're looking for, but IIRC there should be a convention for the validate method, such that you can call, for example, a method validateSave, expecting that it's fired contextually with the save action Maurizio Cucchiara Il giorno 18/lug/2011 14.03, "Eric Lentz" h

Conditional fire on validation()

2011-07-18 Thread Eric Lentz
I'm using the wildcard method in my configuration pages/foo.jsp ... and I want validation to fire only upon the call to the method that performs the save/update. No problem with the XML file as the name takes care of that (e.g., assuming "save" is the method name: FooAction-foo-save