:49 PM
To: Struts Users Mailing List
Subject: Re: Button labels and DispatchActions mix?
It works with the button label But I have two Search buttons on the
same page both labeled
search.button.reset but they perform two different actions. So I need a
way to distinguish which was pressed
inside
in Struts in Action for a description.
Paul
-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: 07 August 2003 13:27
To: Struts Users Mailing List
Subject: RE: Button labels and DispatchActions mix?
Its better you use javascript
There you can append your action also
: Todor Sergueev Petkov
[mailto:[EMAIL PROTECTED]
Sent: 07 August 2003 13:58
To: Struts Users Mailing List
Subject: Re: Button labels and DispatchActions mix?
Even DispatchLookupAction doesn't work if you want
to use the same label
eg. buttons.reset or buttons.search
for two different
List
Subject: Re: Button labels and DispatchActions mix?
It works with the button label But I have two Search buttons on the
same page both labeled
search.button.reset but they perform two different actions. So I need a
way to distinguish which was pressed
inside my DispatchAction
Rohit
you
can not change the caption on the fly.
Alex.
-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:10 AM
To: Struts Users Mailing List
Subject: RE: Button labels and DispatchActions mix?
This will work ..
html:submit property=action
: Re: Button labels and DispatchActions mix?
Even DispatchLookupAction doesn't work if you want to use the same label
eg. buttons.reset or buttons.search
for two different buttons useing the same Action...
Paul McCulloch wrote:
I believe that the solution is to use a DispatchLookupAction
It works with the button label But I have two Search buttons on the
same page both labeled
search.button.reset but they perform two different actions. So I need a
way to distinguish which was pressed
inside my DispatchAction
Rohit Aeron wrote:
This will work ..
html:submit
labels and DispatchActions mix?
This will work ..
html:submit property=action
value=bean:message key=search.button.reset /
/html:submit
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:29 PM
To: Struts Users
buttons, with the
same label doing different things? Surely this would just confuse the user?
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: 07 August 2003 13:58
To: Struts Users Mailing List
Subject: Re: Button labels and DispatchActions mix?
Even
McCulloch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 6:09 PM
To: 'Struts Users Mailing List'
Subject: RE: Button labels and DispatchActions mix?
I believe that the solution is to use a DispatchLookupAction rather than a
dispatch action. See p226 in Struts in Action for a description.
Paul
Woo hoo, I missed that!
Thanks.
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:39 AM
To: 'Struts Users Mailing List'
Subject: RE: Button labels and DispatchActions mix?
I believe that the solution is to use
:[EMAIL PROTECTED]
http://www.baychi.org/bof/struts
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 6:12 AM
To: 'Struts Users Mailing List'
Subject: RE: Button labels and DispatchActions mix?
I guees if you want to assign
This will work ..
html:submit property=action
value=bean:message key=search.button.reset /
/html:submit
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:29 PM
To: Struts Users Mailing List
Subject: Button labels and
of work.
HTH,
Alex.
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:06 AM
To: 'Struts Users Mailing List'
Subject: RE: Button labels and DispatchActions mix?
I'm not sure I understand you. Why would you want multple buttons
14 matches
Mail list logo