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
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
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
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
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
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
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
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
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
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]]
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
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
.
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
-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
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
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
16 matches
Mail list logo