onPopupDone and retrievPopupOutput
----------------------------------

         Key: BEEHIVE-948
         URL: http://issues.apache.org/jira/browse/BEEHIVE-948
     Project: Beehive
        Type: Wish
  Components: Documentation  
 Environment: n/a
    Reporter: Jack Rudnick


When using "onPopupDone" of the "netui:configurePopup" tag and the 
"netui:retrievePopupTag" you need to use: "Netui_OnPopupDone(map);" in the 
"onPopupDone" script so that the "retrievePopupTag" will map the form values 
appropriately (as it does when you do not use "onPopupDone").  Currently, the 
use of the "Netui_OnPopupDone(map);" with regard to this situation is not 
documented, making this process very confusing.  A functional code sample below:

<script language="javascript">
<!--
function goTo(map)
{
Netui_OnPopupDone(map);
alert('Hello World!');
}
//-->
</script>

<netui:anchor formSubmit="false" action="someAction" popup="true">
    <netui:configurePopup resizable="true" width="400" height="300" 
onPopupDone="goTo(map);">
        <netui:retrievePopupOutput tagIdRef="tagid_goes_here" 
dataSource="outputFormBean.someData" />
    </netui:configurePopup>
    Testing...
</netui:anchor>




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to