RE: Button pressed

2002-06-04 Thread Galbreath, Mark
but some of the basic stuff is pretty standard) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 02:56 To: 'Struts Users Mailing List' Subject: RE: Button pressed That's a joke, right? This reminds me of a client I consulted last year who

RE: Button pressed

2002-06-04 Thread Andrew Hill
version X to use it... :-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 19:31 To: 'Struts Users Mailing List' Subject: RE: Button pressed True, but JavaScript is much more aligned than JScript to ECMA (no surprise there), as Netscape

RE: Button pressed

2002-06-04 Thread James Mitchell
James Mitchell Software Engineer\Struts Evangelist -Original Message- From: Daniel J. D'Cotta [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 10:19 PM To: [EMAIL PROTECTED] Subject: RE: Button pressed James, Just to confirm, you mean you would use a hidden field in your form

RE: Button pressed

2002-06-03 Thread Leonardo Maciel
set the property on JSP file: html:submit property=edit value=Edit/ on action class: if (request.getParameter(edit) != null ) { // means edit was pressed } -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts

RE: Button pressed

2002-06-03 Thread Sri Sankaran
You could use the DispatchAction class. See http://jguru.com/faq/view.jsp?EID=897290. Of course, this is doing more than what you have asked for -- however I suspect (going by the button names) that that's what you want. Sri -Original Message- From: Carlos Fernandez [mailto:[EMAIL

Re: Button pressed

2002-06-03 Thread Bharat Nagwani
one more alternative create a hidden field and assign a value to it (edit or continue) using javascript and check that hidden field in request.getParameter... At 02:26 PM 6/3/2002 -0400, you wrote: Hi guys, I'd like to know if there is a way that I will know which button was pressed. I have

RE: Button pressed

2002-06-03 Thread Carlos Fernandez
Thanks guys, but...as a company policy, we are not suppose to use java script. -Carlos. -Original Message- From: Bharat Nagwani [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:39 PM To: Struts Users Mailing List Subject: Re: Button pressed one more alternative create a hidden

RE: Button pressed

2002-06-03 Thread Christian Velez
This can be placed in URL. e.g. EditFormAction.do?action=Edit EditFormAction.do?action=Continue Test the request parameter value. Christian -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts Subject: Button

Re: Button pressed

2002-06-03 Thread Bharat Nagwani
Dont know if this will work Try using IMG SRC=URL instead of regular button with the URL having a different query string for edit and continue. eg ...?action=edit At 02:26 PM 6/3/2002 -0400, you wrote: Hi guys, I'd like to know if there is a way that I will know which button was pressed. I

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
That's a joke, right? This reminds me of a client I consulted last year who insisted on interactive graphing with Active X rather than Java applets because of security concerns. And it's JavaScript, not java script. -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]

RE: Button pressed

2002-06-03 Thread Ady Das-O'Toole
JavaScript myself. -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:42 PM To: Struts Users Mailing List Subject: RE: Button pressed Thanks guys, but...as a company policy, we are not suppose to use java script. -Carlos. -Original Message

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
Another kludgey way around not using JavaScript would be to put the buttons in different forms. -Original Message- From: Christian Velez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:49 PM To: 'Struts Users Mailing List' Subject: RE: Button pressed This can be placed in URL

Re: Button pressed

2002-06-03 Thread James Mitchell
. Search the archives for more James - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, June 03, 2002 2:59 PM Subject: RE: Button pressed Another kludgey way around not using JavaScript would be to put the buttons

RE: Button pressed

2002-06-03 Thread Joseph Barefoot
-Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:56 AM To: 'Struts Users Mailing List' Subject: RE: Button pressed That's a joke, right? This reminds me of a client I consulted last year who insisted on interactive graphing with Active X

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
No argument here...Marketing has no clue, but controls the money. -Original Message- From: Joseph Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 6:07 PM To: Struts Users Mailing List Subject: RE: Button pressed 'tis no joke, unfortunately. JavaScript is disallowed

RE: Button pressed

2002-06-03 Thread Andrew Hill
browsers and even browser versions but some of the basic stuff is pretty standard) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 02:56 To: 'Struts Users Mailing List' Subject: RE: Button pressed That's a joke, right? This reminds me of a client