javascript on button should be removed or configurable by user
--------------------------------------------------------------
Key: MYFACES-1849
URL: https://issues.apache.org/jira/browse/MYFACES-1849
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 1.2.3-SNAPSHOT
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.