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/14 21:02:12 UTC

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

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
    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


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

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-297?page=history ]

Alejandro Ramirez reassigned BEEHIVE-297:
-----------------------------------------

    Assign To: Daryl Olander

> 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: Daryl Olander
>     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


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

Posted by "Karen Stutesman (JIRA)" <be...@incubator.apache.org>.
     [ 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


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

Posted by "Karen Stutesman (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-297?page=history ]

Karen Stutesman reassigned BEEHIVE-297:
---------------------------------------

    Assign To: Karen Stutesman  (was: Alejandro Ramirez)

> 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


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

Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
     [ 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