This content has been marked as final.
Show 4 replies
-
1. Re: Launch the modalPanel the second time, it remembers the
vh May 22, 2007 11:13 PM (in response to vh)The problem I see is that the ModalPanel didn't gets reloaded after the first time it is closed.
But I did put "reRender" to make it redraw itself. Why it is not working? -
2. Re: Launch the modalPanel the second time, it remembers the
harnishg May 23, 2007 12:27 AM (in response to vh)Probably because the rerender isn't triggered ... try something like:
<a4j:commandLink reRender="mp" oncomplete="javascript:Richfaces.showModalPanel('mp',{width:450, top:200});" value=" Richfaces.showModalPanel('mp',{width:450, top:200})"/>
(using the modalpanel from the demo with some dynamic component) -
3. Re: Launch the modalPanel the second time, it remembers the
harnishg May 23, 2007 12:28 AM (in response to vh)I should probably mention I haven't tried it, but in theory that should work.
-
4. Re: Launch the modalPanel the second time, it remembers the
ilya_shaikovsky May 23, 2007 5:59 AM (in response to vh)It's better to reRender the fields inside mp instead of full wilndow reRendering.