This content has been marked as final.
Show 3 replies
-
1. Re: Dynamic modelPanel using java
jruffin Apr 26, 2007 2:34 PM (in response to jruffin)Sorry for the ping...
Anyone have an example of a dynamic modalPanel using java? I think it would be great in the scenario I mentioned. Am I right in this usage? -
2. Re: Dynamic modelPanel using java
sergeysmirnov Apr 26, 2007 3:12 PM (in response to jruffin)What I really do not understand is why you decide to create modal panel dynamically in your case. I do not find even one small reason.
If the "Save" button is not an Ajax button, the functionality seems very primitive - the modal panel with "Please, wait" label is triggered by onclick attribute of the button. When the response comes, the new page is displayed (modal panel is gone without any action from your side) -
3. Re: Dynamic modelPanel using java
jruffin Apr 30, 2007 12:09 PM (in response to jruffin)Thanks for the clarity Sergey...
I added this to my a4j:commandButtononclick="Richfaces.showModalPanel('invoicetoForm:mp1', {top:100, left:100})
Added a base panel like this:<rich:modalPanel id="mp1" minHeight="100" minWidth="200" height="200" width="400" zindex="300"> <t:outputText value="Hold tight..."/> </rich:modalPanel>
and it worked.
Thanks again!