0 Replies Latest reply on Jul 19, 2010 2:58 AM by ravi.kuchika

    a4j:queue for rich:menuItem

    ravi.kuchika

      Hello All,

       

      I am trying to a4j:queue on rich:menuitem. My menuitem is populated from backend. menuItem has menu1,menu2,menu3 and each menu item is being associate with an action and inturn seperate page. My requirement is.. if user click on menu1,menu2,menu3 conitnuously only menu3 should get loaded menu1 and menu2 should not load.I place a4j:queue as

       

      <a4j:queue ignoreDupResponses="true" onbeforedomupdate="alert('on before dom update');" />

       

      and my menuitem is:

       

      <

       

      rich:menuItem binding="#{menuItem.htmlMenuItem}" submitMode="ajax"></rich:menuItem>

       

       

      but menu1,menu2 and after that menu3 is being loaded. From the debuggers i got that for every menu click its invoking the action and returning to the respective page.

       

      Can any one suggest me whats wrong i am doing??

       

      Thanks in advance