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

Karen Stutesman updated BEEHIVE-324:
------------------------------------

    Description: 
If you set the selectionAction and expansionAction for an entire tree, you can 
override both of those actions in particular tree elements using 
<netui:treePropertyOverride>. Currently, overriding selectionAction appears to 
be working correctly but expansionAction continues to use the action set by the 
tree.

Test case:
1. <netui:tree> specifies myTreeAction for selectionAction and expansionAction.
2. <netui:treeItem> specifies mySelectionAction myExpansionAction for 
selectionAction and expansionAction.
3. Two <netui:treeItem> tags are nested in the first one to provide items to 
expand and collapse.

Expected Result: mySelectionAction action is called when selection occurs and 
myExpansionAction when expand/contract occurs.

Actual Result: mySelectionAction occurs but myExpansionAction does not. 
myTreeAction continues to be called despite the override.

See attached example.

  was:
If you set the selectionAction and expansionAction for an entire tree, you can 
override both of those actions in particular tree elements using 
<netui:treePropertyOverride>. Currently, overriding selectionAction appears to 
be working correctly but expansionAction continues to us the action set by the 
tree.

Test case:
1. <netui:tree> specifies myTreeAction for selectionAction and expansionAction.
2. <netui:treeItem> specifies mySelectionAction myExpansionAction for 
selectionAction and expansionAction.
3. Two <netui:treeItem> tags are nested in the first one to provide items to 
expand and collapse.

Expected Result: mySelectionAction action is called when selection occurs and 
myExpansionAction when expand/contract occurs.

Actual Result: mySelectionAction occurs but myExpansionAction does not. 
myTreeAction continues to be called despite the override.

See attached example.


> Tree: Overriding expansionAction does not appear to be working
> --------------------------------------------------------------
>
>          Key: BEEHIVE-324
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-324
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Karen Stutesman
>     Assignee: Karen Stutesman
>  Attachments: overrideBug.zip
>
> If you set the selectionAction and expansionAction for an entire tree, you 
> can override both of those actions in particular tree elements using 
> <netui:treePropertyOverride>. Currently, overriding selectionAction appears 
> to be working correctly but expansionAction continues to use the action set 
> by the tree.
> Test case:
> 1. <netui:tree> specifies myTreeAction for selectionAction and 
> expansionAction.
> 2. <netui:treeItem> specifies mySelectionAction myExpansionAction for 
> selectionAction and expansionAction.
> 3. Two <netui:treeItem> tags are nested in the first one to provide items to 
> expand and collapse.
> Expected Result: mySelectionAction action is called when selection occurs and 
> myExpansionAction when expand/contract occurs.
> Actual Result: mySelectionAction occurs but myExpansionAction does not. 
> myTreeAction continues to be called despite the override.
> See attached example.

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