creating dynamic rich:dropdownmenu
        Posted  
        
            by santhana sankar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by santhana sankar
        
        
        
        Published on 2010-06-07T11:55:48Z
        Indexed on 
            2010/06/07
            12:12 UTC
        
        
        Read the original article
        Hit count: 353
        
MethodExpression methodExpression =  
     application.getExpressionFactory().createMethodExpression( 
         FacesContext.getCurrentInstance().getELContext(),  
         "#{PrismBacking.onItemClick}",  
         null,  
         new Class[] { ActionEvent.class }); 
menuItem.setActionExpression(methodExpression); 
I created a dynamic drop down as above my creating action listener but the listener was not called. I included the method inside the getter of dropdown in backing bean. Do I have to configure the action listener in any of the config files. kindly help.
© Stack Overflow or respective owner