jsf popup
Hi there,
I have a jsf page which produces a popup on button click.
<h:commandButton value="popupParent" onclick="popupFn()" action="#{testbean.actionFn()}"/>
The popupFn will create a popup window. That window is a jsf page that has a input text field and a button.
<h:commandButton value="inpopup" action="#{testBean.childAction}/>
My problem is to make the button in popup window execute its action first [ childAction] and then only after it is done the button in parent window should execute its action [actionFn].
Is there a way I can make the parent action execute only after the popup window is closed? The way i have it makes it execute the parent action first and then childAction.
Any replies are appreciated.
Thanks,
Mark.">

