RE: Button labels and DispatchActions mix?

2003-08-14 Thread Paul McCulloch
: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

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
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

RE: Button labels and DispatchActions mix?

2003-08-14 Thread Michael Ruppin
: 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

RE: Button labels and DispatchActions mix?

2003-08-14 Thread Rohit Aeron
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

RE: Button labels and DispatchActions mix?

2003-08-14 Thread Alex Shneyderman
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?

2003-08-14 Thread Paul McCulloch
: 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

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
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

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
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

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
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

RE: Button labels and DispatchActions mix?

2003-08-14 Thread ansuman_behera
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

RE: Button labels and DispatchActions mix?

2003-08-09 Thread Alex Shneyderman
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

RE: Button labels and DispatchActions mix?

2003-08-09 Thread Van Riper, Mike
:[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

RE: Button labels and DispatchActions mix?

2003-08-08 Thread Rohit Aeron
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

RE: Button labels and DispatchActions mix?

2003-08-07 Thread Alex Shneyderman
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