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: [EMAIL PROTECTED]
NS> For additional commands, e-mail: [EMAIL PROTECTED]



-- 
Best regards,
Dirk


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

Reply via email to