1 Reply Latest reply on Oct 14, 2009 5:10 PM by ilya_shaikovsky

    Open modal through dropwDowMenu?

    vhmolinar

      Why isn't possible to open an rich:modal through an dropDownenu/menuItem?

      Everytime i try it, my modal opens, but i got a refresh on my page.

      How could I open my modal without refreshing my page? How could I say to rich:menuItem for doesn't call any url?

      Here comes a sample of a modal calling through dropDowMenu:

      
      <rich:menuItem>
      <a4j:commandLink>
      <h:outputText value="Holiday" />
      <rich:componentControl for="holidayModal" operation="show" event="onclick"/>
      </a4j:commandLink>
      </rich:menuItem>