[richfaces-issues] [JBoss JIRA] (RF-12616) Event re-targetting for correct javax.faces.source support

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Nov 23 09:35:21 EST 2012


Lukáš Fryč created RF-12616:
-------------------------------

             Summary: Event re-targetting for correct javax.faces.source support
                 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


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: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list