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/15 21:49:44 UTC

[jira] Resolved: (BEEHIVE-297) Tree: If you specify the action attribute on a its children should not inherit this action

     [ http://issues.apache.org/jira/browse/BEEHIVE-297?page=history ]
     
Daryl Olander resolved BEEHIVE-297:
-----------------------------------

     Assign To: Alejandro Ramirez  (was: Daryl Olander)
    Resolution: Cannot Reproduce

This is exactly the way it works.  I'm not seeing the problem you describe.  I checked in the test coreWeb/bugs/j297 which verifies this in three ways:
1) on an interior node [0.1]
2) on a leaf [0.2.0]
3) on an interior node that has a treePropertyOverride on it's parent.  This verified that the children still have the override. [0.0.0]

> 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: Alejandro Ramirez
>     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