Patrick Yip said the following on 06/03/2005 08:46 PM:

Jamie,

I think I like to implement it using 2 submit buttons.

How can I tell which submit button is clicked if I use the same
listener?
Thanks,
-Patrick
To detect which submit button is clicked, you should use the attributes tag and selected. The selected attribute must be bound to a property that will be updated with the value bound to the tag attribute when the submit button is cliked.

In the form listener, you can then test is the property has been set or not and perform the right action.

--ERic

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

Reply via email to