[ https://issues.apache.org/jira/browse/MYFACES-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025240#comment-13025240 ]
Martin Kočí commented on MYFACES-3115: -------------------------------------- Here are code snippets: sample.xhtml: <f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"> <h:head> <h:outputScript name="jsf.js" library="javax.faces" /> <h:outputScript name="project.js" /> </h:head> <h:body> <h:form id="form1"> <h:commandButton value="Partial"> <f:ajax execute="@this" render="@this" /> </h:commandButton> </h:form> </h:body> </f:view> project.js: jsf.ajax.addOnEvent( function (data) { var test = data.source.id; } ); with 2.0.6-snapshot: Error: data.source is undefined Source: http://localhost:8080/project/faces/javax.faces.resource/project.js Line: 2 Works fine with 2.0.4 > jsf.js event handler source id might be missing > ----------------------------------------------- > > Key: MYFACES-3115 > URL: https://issues.apache.org/jira/browse/MYFACES-3115 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.0.5 > Reporter: Werner Punz > Priority: Minor > > Martin Koci reported about a missing context.source.id in the event handling. > I rather suspect this not being a bug since we had some name fallback in > 2.0.4 which was removed to due to being not entirely correct this needs to be > investigated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira