This content has been marked as final.
Show 2 replies
-
1. Re: Starting a richfaces:ModelPanel outside of a button or other link
liuliu Feb 18, 2010 3:18 AM (in response to gbadavidson)hi,
anywhere in your page you can call richfaces.showmodal.
<script>
Richfaces.showModalPanel('infoExpressModal',{})
</script>
for your problem use this,
<a4j:outputPanel ajaxRendered="true">
<rich:modalPanel id="modalErr" width="400" height="118" zindex="4000"
showWhenRendered="#{not (facesContext.maximumSeverity==null)}">..........
</rich:modalPanel>
</a4j:outputPanel>
hope this can help
liu
-
2. Re: Starting a richfaces:ModelPanel outside of a button or other link
gbadavidson Feb 18, 2010 4:33 PM (in response to liuliu)Liu,
Thanks!! I have the model panel popping up perfectly!!! I used the Richfaces.Showmodelpanel attribute with a boolean value from a managed bean. It worked exactly as I wanted it to.
Thanks again!