But where is PropertyName? The only thing passed to the action is request.
Thanks

Martin Gainty wrote:

Antunes
I thought it was
PropertyName.getValue() ??
M-
----- Original Message ----- From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Sunday, October 09, 2005 6:17 PM
Subject: Submit buttons getting their value


Hello all,

I have two submit buttons, one with a value of Continue and the other Back.

How do I check their values?

I've tried request.getAttribute("submit").toString() but I do not get anything.

My buttons are like this:

<html:submit value="back">back</html:submit>
<html:submit value="continue">continue</html:submit>

They are within the same form structure.

My action has already a Session Bean scope to save the form contents. But the submit is not
in that DynaBean.

I will decide on what to do within the action based on what button is pressed.

Thanks,
C.F.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to