-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 8:44 PM
To: [EMAIL PROTECTED]
Subject: RE: multiple html:submit buttons with different names?
Yes!
Thanks to everyone for your help today - if I can't work it out now there's
no hope! : )
I'm
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
To: Struts Users Mailing List
[EMAIL PROTECTED]
o.com cc:
Subject: Re: multiple
html:submit buttons with different names?
13/11/2001
19:12
Please respond
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.
Rob,
Assuming your FormBean has a getter/setter for action:
td height=22 align=right
html:submit property=action value=Submit/
/td
td height=22
html:submit property=action value=Close/
/td
Within the action, you could then assign the
]
o.com cc:
Subject: Re: multiple html:submit buttons
with different names
, November 13, 2001 2:19 PM
To: Struts Users Mailing List
Subject: Re: multiple html:submit buttons with different names?
Brian
That would work but what if the text on the button was multilingual, ie
could be any one of 100 languages depending on user locale setting, which
is what I have
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
-
From: Rob Breeds [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:19 PM
To: Struts Users Mailing List
Subject: Re: multiple html:submit buttons with different names?
Brian
That would work but what if the text on the button was multilingual, ie
could be any one of 100 languages
Or you could just do what ted said ;)
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged.
It is intended for the addressee(s) only. Access to this E-mail by anyone else is
unauthorized. If you are not an addressee, any disclosure or copying of
' [EMAIL PROTECTED]
|
| cc:
|
| Subject: RE: multiple html:submit buttons with different names
11 matches
Mail list logo