You can set the page attribute on your form validation definition, then use client side script to set the page request parameter based on which button is clicked.
You might want to look at MappingDispatchAction as well. -----Original Message----- From: David Durham [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 10:20 AM To: Struts Users Mailing List Subject: Re: Does validator work with Lookup dispatch action mosho wrote: > I have few concerns using lookupdispatch action, 1. Will I be able to > validate using struts validator? > 2. I need to validate only when next button is hit, is that possible? > > Is there any tutorial avialable for using lookup dispatch action. I've done something similar by explicitly calling form.validate() from within the "execute" method, but this has a bad smell. Someone else probably has a better approach. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]