By the end of the day I'll have a LookupDispatchAction.  I started to call
it MultiButtonDispatchAction, but it really will be more generic such that
it will look up messages from ApplicationResources.properties and return
back the key so that the Action is not tightly coupled with the JSP page
text. (I'm open to suggestions on the class name though).

I'll submit it to the list tonight hopefully, for review.

Ted will have to update his FAQ very soon!  No JavaScript will be used in my
solution.  :)

    Erik




----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 2:33 PM
Subject: Re: multiple html:submit buttons with different names?


> http://jguru.com/faq/view.jsp?EID=543699
>
> Rob Breeds wrote:
> >
> > Hi
> >
> > Is it possible to have multiple <html:submit> tags in a  <html:form>
> > different only in name such that the action can differentiate between
them.
> >
> > The docs indicate there is no 'name' attribute for the <html:submit> tag
> > corresponding to the name attribute for a HTML input type="submit" tag.
> >
> > Ultimately I want one form on the page, with several ways of submitting
the
> > form depending on which section I'm in, and then have the final submit
> > button indicate to the Action class that the form is complete.
> >
> > Any ideas please?
> >
> > Thanks
> >
> > Rob
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to