]
Lukáš Fryč updated RF-12616:
----------------------------
Attachment: autocomplete-event-retargeting.png
Event re-targetting for correct javax.faces.source support in case
where event doesn't originate on component's DOM root
------------------------------------------------------------------------------------------------------------------------
Key: RF-12616
URL:
https://issues.jboss.org/browse/RF-12616
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: core
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Fix For: 4.3.0.M3
Attachments: autocomplete-event-retargeting.png
When processing events from components, attached AJAX behaviors propagates calls to:
{code}
jsf.ajax.request(source, event, options);
{code}
The ID of source element is then propagated to {{javax.faces.source}} as behavior event
source.
However when a source of a event wasn't root of the component's DOM, then
{{javax.faces.source}} isn't equal to {{clientId}} of component and thus behavior
decoding fails.
----
This issue can be fixed by incorporating interceptor for {{jsf.ajax.request}}, which will
re-target source to the root of the component's DOM (which has attribute{{id}} equal
to {{clientId}} of component).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: