JS Error for onevent handler of f:ajax tag
------------------------------------------
Key: MYFACES-2471
URL: https://issues.apache.org/jira/browse/MYFACES-2471
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-alpha
Reporter: Matthias Weßendorf
This markup:
<h:commandLink value="Click me">
<f:ajax onevent="callback" />
</h:commandLink>
generates a JS error:
missing ) after argument list
jsf.util.chain(document.getElementById('...d656309279_1ee968b8','j_id1670484283_385
The generated HTML for the JS looks like:
onclick="jsf.util.chain(document.getElementById('j_id1670484283_38509b28'),
event,'jsf.ajax.request(\'j_id1670484283_38509b28\',event,{onevent:callback,\'javax.faces.behavior.event\':\'action\'})',
'return oamSubmitForm('j_id656309279_1ee968b8','j_id1670484283_38509b28');');"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.