0 Replies Latest reply on Jul 30, 2008 4:57 PM by Guillaume Jeudy

    Navigate to a new page after modalPanel submit

    Guillaume Jeudy Master


      I'm using a modalPanel with a form inside, when I submit I would like not only the modalPanel to disappear (which already works) but the parent window to navigate to a new page. Any hints on how I could achieve that is appreciated.

      <rich:modalPanel id="panel" width="450" height="150" headerClass="noPadding">
       <f:facet name="header">
       <h:outputText value="Unfreeze release package"></h:outputText>
       <f:facet name="controls">
       <h:graphicImage value="/img/modal/close.png"
       style="cursor:pointer" id="hidelink" />
       <rich:componentControl for="panel" attachTo="hidelink"
       operation="hide" event="onclick" />
       <h:outputText styleClass="label"
       value="This operation will cause the deployment lifecycle to reset. Are you sure you want to unfreeze release package?" />
       value="Yes, I want to unfreeze release package" />