0 Replies Latest reply on Oct 23, 2007 8:35 AM by cubrovic

    How to load data when modalpanel is activated modalPanel

    cubrovic

      I need to have several modalpanels with lots of data that may or may not be used on data page (depends whether knows value that need to insert or want to use a list of values in modal panel).

      So I need to load data in modalPanel only when user click on link to show modal panel.

      <rich:modalPanel id="mp" minHeight="200" minWidth="450" height="200" width="500" zindex="2000">
      <f:facet name="header">
      <h:outputText value="Modal Panel Title" />
      </f:facet>
      I nead to load datatable here only if/when the modalpanelis shown
      </rich:modalPanel>


      I guess it can be done with some combination of ajax panels but have no idea how.

      Can anyone help me with little sample code to start with?