[ http://issues.apache.org/jira/browse/BEEHIVE-519?page=history ]
     
Daryl Olander resolved BEEHIVE-519:
-----------------------------------

     Assign To: Krista Baker  (was: Daryl Olander)
    Resolution: Fixed

Good Bug.

This was caused because we did the recursive expansion when we didn't need to 
because we did an expand on server.  In certain situations (this one), that 
caused the next node to expand. 

The fix was to not do the client expansion when expandOnServer is true.

> multiple treeItems expanded from netui:treeItem with expandOnServer
> -------------------------------------------------------------------
>
>          Key: BEEHIVE-519
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-519
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Krista Baker
>     Assignee: Krista Baker
>      Fix For: V1
>  Attachments: Controller.jpf, expandModesTEST1.jsp
>
> With a static runAtClient tree, when a treeItem contains an 
> expandOnServer="true", the next node at the same level is also expanded.  
> Example:
> ItemA (Root - RunAtClient)
>   ItemB (expandOnServer="true")
>     ItemBChild
>   ItemC (expandOnServer="false")
>     ItemCChild
> All items begin as expanded="false".  Expand ItemA, ItemB and ItemC appear as 
> expected.  When ItemB is expanded, BOTH ItemBChild and ItemCChild appear in 
> their respective areas, however, only ItemBChild should be visible at this 
> time.  ItemCChild will disappear at this point if any of the treeItems are 
> selected.
> This does not seem to be reproducible using dynamic (pageFlow created) trees, 
> only static (JSP created) trees with RunAtClient=true.
> Results:
> Expected: Only the item selected to be expanded should be expanded
> Actual: Both the item and the next item are expanded (note that a third item 
> or ItemD and ItemDChild would not be expanded)
> See attached repro.

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