Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread Sandro Giessl
Hi! method="..." is exactly what I have been looking for. Sorry for disturbing the list, I didn't expect it to be that easy. :) Thanks! Sandro On Friday 17 August 2007 14:22:57 j alex wrote: > Assuming that Add, Back , Fwd are different methods in the same > Action, you could use s:submit meth

Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread Sandro Giessl
Hi! method="..." is exactly what I have been looking for. Sorry for disturbing the list, I didn't expect it to be that easy. :) Thanks! Sandro On Friday 17 August 2007 14:22:57 j alex wrote: > Assuming that Add, Back , Fwd are different methods in the same > Action, you could use s:submit meth

Re: [S2] Validation depending on which submit button was pressed

2007-08-17 Thread j alex
Assuming that Add, Back , Fwd are different methods in the same Action, you could use s:submit method="Add" to post to Add method, and define the validations for that method using annotation . I havent tried if the non-field level validators get executed at this point On 8/17/07, Sandro Giessl <