This content has been marked as final.
Show 3 replies
-
1. Re: ModalPanel: How i can showing a modal panel that is pre
janson12 Mar 31, 2008 7:08 PM (in response to peerless)don't know whether i really got ya but you will need to put the modalpanel on the same page where you want it to appear on top. you can then call it with the respective richfaces/js function (id of your panel as parameter).
cheers -
2. Re: ModalPanel: How i can showing a modal panel that is pre
daniel.soneira Apr 1, 2008 4:16 AM (in response to peerless)You either put the source for the modalpanel into MyOpenerFile.jsp or you INCLUDE it (jsp:include)
You can then use Richfaces.showModalPanel. Please not the LOWERCASE "f" in "Richfaces".
I also made that "mistake" first, because the documentation was simply wrong (copy/pasted).
Example (MyOpenerFile.jsp):<h:form> <h:commandButton value="showPopup" onclick="Richfaces.showModalPanel('myPopup')" </h:form> <jsp:include src="MyPopupModalPanel.jsp"/>
Example (MyPopupModalPanel.jsp):<rich:modalPanel id="myPopup"> <h:form> .... </h:form> </rich:modalPanel>
-
3. Re: ModalPanel: How i can showing a modal panel that is pre
peerless Apr 1, 2008 8:23 AM (in response to peerless)thanks!