You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org> on 2005/11/10 19:24:05 UTC

[jira] Resolved: (BEEHIVE-997) client initializer isn't run when controls are only declared in a base class

     [ http://issues.apache.org/jira/browse/BEEHIVE-997?page=all ]
     
Eddie O'Neil resolved BEEHIVE-997:
----------------------------------

    Resolution: Fixed

Fixed in SVN 332345.

> client initializer isn't run when controls are only declared in a base class
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-997
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-997
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Eddie O'Neil
>      Fix For: 1.1

>
> Given a class hierarchy as:
> class BaseClass {
>   @Control
>   protected EchoControl _echoControl;
> }
> and 
> class SubClass {
>   // no control references
> }
> the controls annotation processor doesn't generate a SubClassClientInitializer.  The result is that any references to _echoControl in the superclass NPE because the control isn't initialized.  
> Not sure what the solution is yet; there are several possibilities.  Will solicit input on dev@.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira