i have an @EventListener attached to an JS method on a Hidden component. during the rendering of the page the ComponentEventConnectionWorker will contribute the results of the ComponentEvent.script for each component that has ajax events. as part of that rendering the component's extendedId is utilized.
my hidden component is returning an extended Id of "MyPageName/theHiddenComponentsContainer.null" the ".null" portion of the extendedId is incorrect. The Hidden components Id parameter is set to "hidden". this seems to be a bug in how the AbstractComponent's impl of getIdPath() conflicts with the Hidden components Id parameter. AbstractComponent.getIdPath() access the _id instance variable directly. Outsiders, such as the PageLoader use the getId()/setId() getter/setter pair. Unfortunately, if the component has an id parameter getId()/setId() are overridden by the ParameterPropertyWorker. In my case this means that the component's id$Default instance variable is set to "hidden" while the _id instance variable is still null. Calls to getId() return "hidden", but since the AbstractComponent accesses _id directly ... the id$Default is never used when constructing the extendedPath. This should effect any component with an id parameter. Can anyone else confirm this? This may just be a case of user error ;) I didn't find any mention of this in Jira or the mailing list - although nabble has a lot to be desired and I am a Jira noob. If so i will be happy to add it and submit a simple patch. Carlos --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]