This content has been marked as final.
Show 4 replies
-
1. Re: rich:modalPanel getting closed on row selection
juangon Sep 29, 2009 5:03 PM (in response to snowhite)<a4j:support reRender="panelTest" actionListener="#{module1Manager.takeSelection}" event="onselectionchange" oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
I think the oncomplete attribute doesn't have any sense here (why showing the modalpanel if modalpanel is already opened?) -
2. Re: rich:modalPanel getting closed on row selection
snowhite Sep 29, 2009 5:08 PM (in response to snowhite)Ok, I placed the oncomplete attribute as a workaround to keep the modalPanel from being closed. If I remove that attribute, when user selects any row in scrollableDataTable, modalPanel is getting closed.
-
3. Re: rich:modalPanel getting closed on row selection
ilya_shaikovsky Sep 30, 2009 4:39 AM (in response to snowhite)remove your oncomplete and try to add just limittolist="true" to the support.
I guess your modal lies in some autoupdatable outputPanel or include. So closure in this case occurs by design. -
4. Re: rich:modalPanel getting closed on row selection
snowhite Sep 30, 2009 6:10 PM (in response to snowhite)That worked. Thank you very much. Yes, my modalPanel is in included page in a tab.