Not sure how I could make this work without passing params because backing bean does not any knowledge of the user selection, however your post made me realize that I needed to reRender the modal panel to make it work. Once I reRendered the modal window, it's working as expected.Thanks for your help.
Main Topics
Browse All Topics





by: mbonaciPosted on 2009-02-08 at 12:14:15ID: 23585443
I think you are complicating unnecessary with use of <a4j:actionparam>?
onciliatio nNotAllowe d}" oncomplete="javascript:Ric hfaces.sho wModalPane l('confirm Panel');" reRender="confirmPanel" action="#{ViewResult.onSho wModal}">
I suggest you to use "action" param of the commandButton to call the method in the backing bean and there set all values you want shown in Modal Panel. Leave onComplete as it is and call reRender="confirmPanel", like this:
<a4j:commandButton value="Reconcile" disabled="#{ViewResult.rec
Do the same (use action to call managed bean method) with Command buttons inside Modal panel.
I hope this helps,
Mb¤