Tie Async Tree Updates to <netui:retrievePopupOutput>
-----------------------------------------------------

         Key: BEEHIVE-276
         URL: http://issues.apache.org/jira/browse/BEEHIVE-276
     Project: Beehive
        Type: Wish
  Components: NetUI  
 Environment: Browser
    Reporter: Jeremiah Johnson
    Priority: Minor


I have a page called Record Product Delivery that contains a tree and a form.  
The tree lists products currently in the system.  When the user clicks on a 
product in the tree, the SKU field in the form is updated with the product SKU. 
 The user then enters the quantity delivered and saves the update to inventory.

In the case that a product was delivered that is not yet in inventory, the user 
may click on 'Add new product'.  That causes a popup that records the new 
product details.  When the popup exits, I would like the tree refreshed and the 
SKU field updated with the new SKU.

               <netui:anchor action="beginNewProduct" popup="true">
                  Add New Product
                  <netui:configurePopup height="200" width="200">
                     <netui:retrievePopupOutput tagIdRef="productTree"
                        dataSource="pageFlow.productTree"/>
                     <netui:retrievePopupOutput tagIdRef="sku"
                        dataSource="outputFormBean.sku"/>
                  </netui:configurePopup>

If I attempt to use that code, my page dies with JavaScript error.  It would be 
my preference that the tree actually update.  Right now, this is not intended 
to work because retrievePopupOutput is only intended to update fields that 
contain simple values.

Please consider tying async tree updates in with this retrievePopupOutput tag.

- jeremiah

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to