This content has been marked as final.
Show 3 replies
-
1. Re: problem with reRender on jsFunction
ilya_shaikovsky Jul 9, 2009 6:50 AM (in response to sam-user)try to reRender not the modal panel directly but the content inside.
-
2. Re: problem with reRender on jsFunction
ano1121 Jul 9, 2009 9:39 AM (in response to sam-user)I had the same problem and like the previous posting said, I had to use the reRender attribute along with the oncomplete attribute.
So, my code looks like<a4j:support event="onRowClick" onsubmit="rowClicked(this)" action="#{myBean.doSomeAction()}" reRender="outputPanelDiv" oncomplete="#{rich:component('myModalPanel')}.show()" />
I had myModalPanel wrapped with the a4j:outputPanel outputPanelDiv.
Hope this helps! -
3. Re: problem with reRender on jsFunction
sam-user Jul 10, 2009 10:06 AM (in response to sam-user)Thanks.
Actually it worked when I pu the reRender on the button instead of on the function.