[jboss-user] [JBoss Seam] - Re: h:messages on modalPanel

damianharvey do-not-reply at jboss.com
Mon Sep 3 15:18:08 EDT 2007


Are you reRendering the modal panel when you display it? It exists on the page like any other component and all you are doing it making it display.
<a:commandButton action="#{doSomething}" oncomplete="javascript:Richfaces.showModalPanel('msgDialog',{width:450, top:200})" reRender="errorMessages"/>
  | ..
  | ..
  | <rich:modaPanel id="msgDialog" ...etc
  | <s:div id="errorMessages">
  |    <h:messages/>
  | </s:div>
  | 

Cheers,

Damian

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080608#4080608

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080608



More information about the jboss-user mailing list