You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kyle Marvin (JIRA)" <be...@incubator.apache.org> on 2005/02/24 16:21:50 UTC

[jira] Resolved: (BEEHIVE-126) Control composition:instantiate nested control and reset property

     [ http://issues.apache.org/jira/browse/BEEHIVE-126?page=history ]
     
Kyle Marvin resolved BEEHIVE-126:
---------------------------------

     Assign To: James Song  (was: Kyle Marvin)
    Resolution: Fixed

There were actually some minor bugs in the test case, where innerbean/innerbean2 and job/job2 were switched.

Fixed by svn 155190.

> Control composition:instantiate nested control and reset property
> -----------------------------------------------------------------
>
>          Key: BEEHIVE-126
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-126
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: James Song
>      Fix For: V1Beta

>
> Problem:
> The property on the nested control, if reset at instantiation, is NULL.
> Code example:
> On a controlImpl that instantiates a nested control:
>     @Control 
>     @InnerControl.Identity(job="farmer")
>     InnerControlBean innerControl2;
> When getting property "job" using getter, the result is NULL.
> Repro:
> 1. sync svn to r110045,
> 2. ant clean deploy from beehive/trunk;
> 3. run detailed.tests from trunk/controls/test ant detailed.tests
> 4. inspect controls/test/tch.html, and look for test "TestComposition.testGetPropertyByGetter"

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