In the modalPanel demo, is it possible to get the "X" button to work not only as a close button, but also with the "reset" function? I mean, the next time the panel pops up it will showing the first page of the wizard?
<rich:modalPanel id="panel" width="350" height="100"> <f:facet name="header"> <h:panelGroup> <h:outputText value="Modal Panel"></h:outputText> </h:panelGroup> </f:facet> <f:facet name="controls"> <h:panelGroup> <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hidelink"/> <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/> </h:panelGroup> </f:facet> <h:outputText value="This panel is called using Component Control Component"></h:outputText> <br/> <h:outputText value="Closure link (X) works also through Component Control"></h:outputText> </rich:modalPanel>