You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Daryl Olander (JIRA)" <be...@incubator.apache.org> on 2005/02/17 01:41:50 UTC

[jira] Updated: (BEEHIVE-276) Can we update Trees without round trip to the server?

     [ http://issues.apache.org/jira/browse/BEEHIVE-276?page=history ]

Daryl Olander updated BEEHIVE-276:
----------------------------------

       type: Improvement  (was: New Feature)
    Summary: Can we update Trees without round trip to the server?  (was: Tie Async Tree Updates to <netui:retrievePopupOutput>)

> Can we update Trees without round trip to the server?
> -----------------------------------------------------
>
>          Key: BEEHIVE-276
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-276
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: TBD
>  Environment: Browser
>     Reporter: Jeremiah Johnson
>     Assignee: Daryl Olander
>      Fix For: TBD

>
> 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