[richfaces-issues] [JBoss JIRA] (RF-11900) contextMenu has to be defined after the extendedDatatable, or it cannot attach

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Jan 20 16:39:18 EST 2012


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

Brian Leathem commented on RF-11900:
------------------------------------

The event listener is registered during the component initialisation.  If it cannot find the attachId dom element, the listener does not get registered.

A solution is to register the listener in a $(document).ready() handler.
                
> contextMenu has to be defined after the extendedDatatable, or it cannot attach
> ------------------------------------------------------------------------------
>
>                 Key: RF-11900
>                 URL: https://issues.jboss.org/browse/RF-11900
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>            Reporter: Brian Leathem
>            Assignee: Brian Leathem
>             Fix For: 4.2.0.CR1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list