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/17 21:21:48 UTC
[jira] Created: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
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
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
[jira] Closed: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
Posted by "Karen Stutesman (JIRA)" <be...@incubator.apache.org>.
[ 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
[jira] Updated: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
Posted by "Karen Stutesman (JIRA)" <be...@incubator.apache.org>.
[ 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
[jira] Resolved: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
[ 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
[jira] Updated: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
Posted by "Karen Stutesman (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-324?page=history ]
Karen Stutesman updated BEEHIVE-324:
------------------------------------
Attachment: overrideBug.zip
Page flow and jsp demonstrating override of expansionAction being ignored.
> 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
> 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
[jira] Assigned: (BEEHIVE-324) Tree: Overriding expansionAction does not appear to be working
Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-324?page=history ]
Daryl Olander reassigned BEEHIVE-324:
-------------------------------------
Assign To: Daryl Olander
> 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: Daryl Olander
> 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