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

Krista Baker updated BEEHIVE-519:
---------------------------------

    Attachment: Controller.jpf
                expandModesTEST1.jsp

> 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: Daryl Olander
>      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