[richfaces-issues] [JBoss JIRA] (RF-12715) richfaces.js searchForComponentRootOrReturn doesn't recognize non-richfaces components

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Jan 11 07:59:09 EST 2013


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

Lukáš Fryč edited comment on RF-12715 at 1/11/13 7:58 AM:
----------------------------------------------------------

Note that we doesn't have to fix JSF component's behavior here - only fix specific for RichFaces components is needed.
RichFaces components does infer behaviour-source dynamically, based on the element where the behavior event occurred.

This is exactly what {{searchForComponentOrReturn}} intents to do - identify where behavior event occured and if its RichFaces component, it will re-target an event source.


                
      was (Author: lfryc):
    Note that we doesn't have to fix JSF component's behavior here - only fix specific for RichFaces components is needed.
RichFaces components does infer behaviour-source dynamically, based on the element where the behavior event occurred.

This is exactly what {{searchForComponentOrReturn}} do - identify where behavior event occured and if its RichFaces component, it will re-target an event source.


                  
> richfaces.js searchForComponentRootOrReturn doesn't recognize non-richfaces components
> --------------------------------------------------------------------------------------
>
>                 Key: RF-12715
>                 URL: https://issues.jboss.org/browse/RF-12715
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.3.0.CR1
>            Reporter: Brian Leathem
>            Assignee: Brian Leathem
>            Priority: Blocker
>              Labels: regression
>             Fix For: 4.3.0.CR1
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The searchForComponentRootOrReturn function in richfaces.js was created to correct the source element of jsf events to jsf components.  However the check of whether an element belongs to a component fails for non JSF components.
> A concrete example of this failure can be seen when an event generates from a nested _f:ajax_ tag.

--
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