Re: Validation Framework and DispatchAction

2006-12-28 Thread Wendy Smoak
On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: This should solve my problem as each submitaction that requires validation validates the same set of data. However this will not work if there are three methods create and update both need to validate but each validate against a different set

Re: Validation Framework and DispatchAction

2006-12-28 Thread Ed Griebel
46 To: Struts Users Mailing List Subject: Re: Validation Framework and DispatchAction On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: > This validates at the action mapping level so in the above case it validates > on update as well as create. > > How do you validate just against the

RE: Validation Framework and DispatchAction

2006-12-28 Thread Andy Foster
t set of parameters and the third submitaction does not validate. Regards Andy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 28 December 2006 16:46 To: Struts Users Mailing List Subject: Re: Validation Framework and DispatchAction On 12/28/06, Andy Foster <[EMAI

Re: Validation Framework and DispatchAction

2006-12-28 Thread Wendy Smoak
On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: This validates at the action mapping level so in the above case it validates on update as well as create. How do you validate just against the create submitaction of the DispatchAction mapping? I would suggest turning off the automatic valid

Validation Framework and DispatchAction

2006-12-28 Thread Andy Foster
Hi all, This is probably a common question but have struggled to find an answer so apologies if I have missed the obvious. Below is an example of issue: I have a page that uses a single form to hold all the display data but can perform the following multiple submit actions: Create - create as a