- put a hidden element in the form:
<input type="hidden" name="actionevent" value=''''''>
- wrap the form.submit() in a js function that changes the actionevent name
- document.formname.actionevent.name=actionevent_name; document.formname.submit();
- } }}}
- and call it at any time in your html code with the action event name.
This will result in a call to doYourMethodName method in the ActionEvent class.