[richfaces-issues] [JBoss JIRA] (RF-12616) Event re-targetting for correct javax.faces.source support in case where event doesn't originate on component's DOM root

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


    [ https://issues.jboss.org/browse/RF-12616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736690#comment-12736690 ] 

Lukáš Fryč commented on RF-12616:
---------------------------------

Attached diagram which is illustrating this issue.
                
> 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: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list