Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.3-SNAPSHOT
-
None
-
None
Description
Actually, myfaces 1.2 renders a javascript on button like this:
onclick="if(typeof window.clearFormHiddenParams_form3!='undefined')
{clearFormHiddenParams_form3('form3');}but jsf ri does nothing. Myfaces renders a hidden fields with name="form:_idcl" that allow submit through javascript. The default behavior should not have this.
The suggestion is create a param
org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON
by default false but when set to true it renders the javascript.