2 Replies Latest reply on Jun 28, 2010 7:26 AM by Ilya Shaikovsky

    rich modal panel

    krikor paol Newbie

      I have a modal panel.

      <h:outputLink value="EditModifyEvents.jsf" id="link">
              Show Modal Panel
              <rich:componentControl for="pn1" attachTo="link" operation="show" event="onclick"/>
          </h:outputLink>

       

      <rich:modalPanel  id="pn1">
              <h:outputText value="myself" />
              <h:outputLink value="#" id="hidelink">
              x
              <rich:componentControl for="pn1" attachTo="hidelink" operation="hide" event="onclick"/>
              </h:outputLink>
      </rich:modalPanel>

       

      Problem is, I want the modalPanel  to open the URL EditModifyEvents.jsf. That is I click show modal panel, and i open the file in that modal panel.

       

      how is it done? witht he above, its redirecting the main page to editmodifyevents.jsf..