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/01 18:13:19 UTC

[jira] Created: (BEEHIVE-221) A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly

A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly
--------------------------------------------------------------------------------------------------

         Key: BEEHIVE-221
         URL: http://issues.apache.org/jira/browse/BEEHIVE-221
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Daryl Olander
 Assigned to: Daryl Olander 
     Fix For: V1Beta


If you have two scriptContainers each with a tree inside it, both tree having runAtClient set to true.  Expansion of the second Tree doesn't work.  The reason is that the tree init() javascript is run before the second tree is added to the HTML DOM.  

The solution will be to actually allow running the tree init code more than once.

-- 
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-221) A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly

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

     Assign To: Alejandro Ramirez  (was: Daryl Olander)
    Resolution: Fixed

This was fixed a couple of days ago.  I reworked the initialization code on a Tree such that it can run twice if necessary.  The JavaScript will not initialize all trees that haven't yet been initialized each time it runs.  

In addition, by pushing the JavaScript up the ScriptContainer hierarchy, it will only run twice when you have two script containers without a common parent.

coreWeb/RichTree/treeSC2.jsp and coreWeb/RichTree/treeSC3.jsp demonstrate both conditions.

> A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-221
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-221
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Daryl Olander
>     Assignee: Alejandro Ramirez
>      Fix For: V1Beta

>
> If you have two scriptContainers each with a tree inside it, both tree having runAtClient set to true.  Expansion of the second Tree doesn't work.  The reason is that the tree init() javascript is run before the second tree is added to the HTML DOM.  
> The solution will be to actually allow running the tree init code more than once.

-- 
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-221) A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly

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


Verified that the second tree is now able to be expanded and contracted

> A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-221
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-221
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Daryl Olander
>     Assignee: Krista Baker
>      Fix For: V1Beta

>
> If you have two scriptContainers each with a tree inside it, both tree having runAtClient set to true.  Expansion of the second Tree doesn't work.  The reason is that the tree init() javascript is run before the second tree is added to the HTML DOM.  
> The solution will be to actually allow running the tree init code more than once.

-- 
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-221) A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly

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

Alejandro Ramirez reassigned BEEHIVE-221:
-----------------------------------------

    Assign To: Karen Stutesman  (was: Alejandro Ramirez)

Please verify

> A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-221
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-221
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Daryl Olander
>     Assignee: Karen Stutesman
>      Fix For: V1Beta

>
> If you have two scriptContainers each with a tree inside it, both tree having runAtClient set to true.  Expansion of the second Tree doesn't work.  The reason is that the tree init() javascript is run before the second tree is added to the HTML DOM.  
> The solution will be to actually allow running the tree init code more than once.

-- 
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-221) A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly

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

Karen Stutesman reassigned BEEHIVE-221:
---------------------------------------

    Assign To: Krista Baker  (was: Karen Stutesman)

> A tree in a scriptContainer below another tree in a scriptContainer doesn't runAtClient correectly
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-221
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-221
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Daryl Olander
>     Assignee: Krista Baker
>      Fix For: V1Beta

>
> If you have two scriptContainers each with a tree inside it, both tree having runAtClient set to true.  Expansion of the second Tree doesn't work.  The reason is that the tree init() javascript is run before the second tree is added to the HTML DOM.  
> The solution will be to actually allow running the tree init code more than once.

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