struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Markert <>
Subject Re: Question about buttons
Date Tue, 03 Jun 2003 12:47:12 GMT
Hello Nadja,

Tuesday, June 3, 2003, 2:35:03 PM, you wrote:

NS> Hello everyone,

NS> if I want to have a button in my form that would be a second submit button,
NS> can I give it it's own action-class? I guess not, but I thought I'd ask.
You cannot. Perhaps you can use a second form with only your button?

NS> Also, how can I check in my form bean which button has been pressed?
Use something like:

<html:submit property="second_submit_button"/>

Your request will contain a parameter named "second_submit_button".

NS> The reason why I am asking all of this: I want to have a third button in my
NS> form, next to the general submit and cancel buttons. If that button is
NS> pressed, some extra info is being displayed but the data in the form should
NS> be validated. I thought, it'd be nicer to use a button for this than a
NS> normal link...

NS> Greetings,
NS> Nadja

NS> ---------------------------------------------------------------------
NS> To unsubscribe, e-mail:
NS> For additional commands, e-mail:

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message