...
- wrap the form.submit() in a js function that changes the actionevent name
Code Block | ||||
---|---|---|---|---|
| ||||
No Format | ||||
doSubmit(actionevent_name){
document.formname.actionevent.name=actionevent_name;
document.formname.submit();
}
|
...
This will result in a call to doYourMethodName method in the ActionEvent class.
Example
Find an usage example in org.apache.turbine.modules.actions.VelocityAction in Turbine Code.