Hi all,
I have an issue on putting the return value from pop up window into the parent page. When I close the pop up window and get the return value from the pop-up page, like:
var retVal = window.showModalDialog(url, myObject);
and use the jsfunction method to set this retVal into my parent page request, like:
<a4j:jsFunction name="setValue" id="setValue" reRender="criteriaFieldsGrid" ajaxSingle="true" action="#{handler.setSelectedValue}" ignoreDupResponses="true" >
<a4j:actionparam name="param1" assignTo="#{handler.selectedValue}"/>
</a4j:jsFunction>
But I saw the value will jump up a while and disappear again. How can I keep this value in the parent request while getting it from the pop up page.