Don't you love it when you post a question and find out the answer 2 minutes after ? :o)
Just realized that the submit component throws a "selected" event to the page. All i have to do is provide a listener method for this event for each submit component. Hugo Palma wrote: > Hi, > > i recently came across this problem. I have a form with different > buttons, all of them should submit the form but each one has to be > handled in a different way. > > The only solution i could think of was to add a hidden field to the form > that is filled using javascript by the onclick event of each button. The > value identifies which button was pressed and then on the submit handler > method i can check the value and proceed accordingly. > > Is there a better way to do this ? > > Thanks. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]