Re: struts validation and dispatch action

2003-12-15 Thread Joe Germuska
Joe, I'd like to try your duplicate action mapping suggestion, but I'm not sure how to specify the different paths. If my dispatchAction NotesAction.java has two methods - SaveNotes and CreateNotes, with CreateNotes needing the validation. what would the action mappings look like? I'm sorry, I may

Re: struts validation and dispatch action

2003-12-15 Thread Sonam Belbase
Thanks for all the suggestions. Joe, I'd like to try your duplicate action mapping suggestion, but I'm not sure how to specify the different paths. If my dispatchAction NotesAction.java has two methods - SaveNotes and CreateNotes, with CreateNotes needing the validation. what would the action mapp

RE : struts validation and dispatch action

2003-12-15 Thread Menard . Jean-Francois
ntreal, QC H1N1J4 - Étage RC -Message d'origine- De : Ghanakota, Vishu [mailto:[EMAIL PROTECTED] Envoyé : lundi 15 décembre 2003 17:06 À : 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Objet : RE: struts validation and dispatch action >From what I h

RE: struts validation and dispatch action

2003-12-15 Thread Hookom, Jacob
lto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:06 PM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: struts validation and dispatch action >From what I have done before, you can sub-class the action and override the validate to do a conditional validatio

Re: struts validation and dispatch action

2003-12-15 Thread Joe Germuska
At 4:56 PM -0500 12/15/03, Sonam Belbase wrote: Hi, I've noticed that since validation is defined in the action mapping, it will apply to all methods of a dispatch action. But what if only one method in the dispatch action requires field X to be populated/selected and another method doesn't care.

RE: struts validation and dispatch action

2003-12-15 Thread Ghanakota, Vishu
>From what I have done before, you can sub-class the action and override the validate to do a conditional validation, this way you still get to keep the validation in action mapping or you can move the entire validation to your action. -Original Message- From: Sonam Belbase [mailto:[EMAIL