[ http://issues.apache.org/jira/browse/BEEHIVE-297?page=history ] Karen Stutesman closed BEEHIVE-297: -----------------------------------
Verified that this is not reproducible. The overriden action is only inherited by a node's children if <netui:treePropertyOverride> is used. Not if the action on <netui:treeItem> is used. > Tree: If you specify the action attribute on a <netui:treeItem> its children > should not inherit this action > ----------------------------------------------------------------------------------------------------------- > > Key: BEEHIVE-297 > URL: http://issues.apache.org/jira/browse/BEEHIVE-297 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1 > Reporter: Karen Stutesman > Assignee: Karen Stutesman > Priority: Minor > > If you specify the action attribute on a <netui:treeItem> its children should > not inherit this action. The <netui:treePropertyOveride> tag can be used if > you want children of a node to inherit the override. > Create a tree that looks like this: > <netui:tree dataSource="pageflow.myTree" tagId="myTree" > selectionAction="postback"> > <netui:treeItem>TreeItem1 > <netui:treeItem action="mySelectAction">TreeItem1.1 > <netui:treeItem>TreeItem1.1.1 > </netui:treeItem> > </netui:treeItem> > </netui:treeItem> > </netui:tree> > Expected behavior: Select TreeItem1 and postback is called. Select > TreeItem1.1 and mySelectAction is called. Select TreeItem1.1.1 and postback > is called. > Actual behavior: TreeItem1.1.1 inherits mySelectAction from TreeItem1.1. > Inheritance should be done via the treePropertyOverride tag. -- 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
