struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject RE: design question regarding multiple submit buttons
Date Thu, 18 Sep 2003 17:22:14 GMT
David wrote:
> When they have no more addresses to enter, they should hit "DONE" to
move on to the next form.
> However, when "DONE" is selected, the form calls the validate method, 
> which of course fails because the fields are empty.

I think validation is on by default, so you may want to turn it off and
call validate() manually when appropriate.  (IE, from the 'add' method
but not from the 'done' method.)  Also take a look at
LookupDispatchAction (Tip #3).

Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message