You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/02/11 00:52:18 UTC

[jira] Created: (BEEHIVE-276) Tie Async Tree Updates to

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


[jira] Updated: (BEEHIVE-276) Tie Async Tree Updates to

Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-276?page=history ]

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

      Assign To: Daryl Olander
           type: New Feature  (was: Wish)
       Priority: Major  (was: Minor)
        Version: TBD
    Fix Version: TBD

I don't believe that using the popup update is the right way to do this.  The generalization of this problem is that external events (in this case the popup submit) can update the state of the tree.  This is probably less common than other things which can cause the underlying tree state to be updated.

What we need is a general machanism for updating a tree on a page if the state has changed on the server.  I've been playing around with something like this with the DivPanel, but it's not yet ready for prime time.

I'm going to grab this issue, but I doubt it will ship in 1.0.

> Tie Async Tree Updates to <netui:retrievePopupOutput>
> -----------------------------------------------------
>
>          Key: BEEHIVE-276
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-276
>      Project: Beehive
>         Type: New Feature
>   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


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

Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-276?page=history ]

Daryl Olander reassigned BEEHIVE-276:
-------------------------------------

    Assign To:     (was: Daryl Olander)

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


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

Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
     [ 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