You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Daryl Olander (JIRA)" <be...@incubator.apache.org> on 2005/02/19 00:10:50 UTC
[jira] Resolved: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
[ http://issues.apache.org/jira/browse/BEEHIVE-324?page=history ]
Daryl Olander resolved BEEHIVE-324:
-----------------------------------
Assign To: Karen Stutesman (was: Daryl Olander)
Resolution: Fixed
This was a simple bug. We were accessing the state off of the root instead of passing in the inheritted version of it to the routine that generated the expansion anchor.
BVT: coreWeb/bugs/j324
> 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 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.
--
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