This content has been marked as final. Show 2 replies
You must have added "Submit Button" item.
Please use "Button" item instead of Submit button.
and then use below code to handle your event in contorller's processFormRequest
String event = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
Do necessary task
Please let me know if it solves your query..
You cannot create submit button using personalization.
You can try below.
Create a normal button using personalization or programmatically in process request.
add fire action/partial action to the button bean in ProcessRequest using setFireActionForSubmit method on Button Bean.
OAButtonBean xxButton = (OAButtonBean)webBean.findChildRecursive("xxCustButton"); // if you have created button using personalizatin.
Capture and handle the event in processFormRequest.
As you are extending controller to handle the event i suggest create button also programatically if it meets your requirement. Please refer below link.