You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Karen Stutesman (JIRA)" <be...@incubator.apache.org> on 2005/02/24 20:55:49 UTC

[jira] Closed: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working

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


Verified fixed
Overriding expansionAction now appears to be working correctly.

> 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