[ 
https://issues.apache.org/jira/browse/MYFACES-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-2471.
-------------------------------------

         Assignee: Leonardo Uribe
    Fix Version/s: 2.0.0
       Resolution: Fixed

This was solved on 2.0.0, as part of MYFACES-2353. This issue is no longer 
valid, so I'll close this one as fixed

> 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
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0
>
>
> 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.

Reply via email to