struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <david.ball...@efsnetwork.com>
Subject RE: design question regarding multiple submit buttons
Date Thu, 18 Sep 2003 19:55:37 GMT
thanks for the advice, Wendy.  its up and running :)

-----Original Message-----
From: Wendy Smoak [mailto:Wendy.Smoak@asu.edu]
Sent: Thursday, September 18, 2003 12:22 PM
To: Struts Users Mailing List
Subject: RE: design question regarding multiple submit buttons


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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message