Affects Version/s: 7.1.0 CE GA1, 7.1.1 CE GA2, 7.1.2 CE GA3, 7.1.10 DXP GA1, 7.1.10 DXP FP1, 7.1.10 DXP FP2, 7.1.10 DXP FP3, 7.1.10 DXP FP4, 7.1.10 DXP FP5, 184.108.40.206 SP1, 7.1.10 DXP FP6, 7.1.10 DXP FP7
Given the following JSPX markup and Java source, the submitForm and omniAction methods should be invoked when the "submitForm" button is clicked. Similarly, the resetForm and omniAction methods should be invoked when the "resetForm" button is clicked:
The problem is that the the submitForm, resetForm, and omniAction methods are all invoked regardless of which button is clicked on.
1. Deploy the attached portlet to $LIFERAY_HOME/deploy and add the portlet named "
LPS-91310" to a portal page.
2. Click on the "submitForm" button and record the results displayed by the portlet
3. Click on the "Try again" link
4. Click on the "resetForm" button and record the results displayed by the portlet
When the "submitForm" button is clicked in step 2, the following is displayed:
Also, when the "resetForm" button is clicked in step 4, the following is displayed:
When either button is clicked, the "omniAction" method is not invoked.