You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "hv @ Fashion Content" <in...@fashioncontent.com> on 2005/11/15 13:17:38 UTC

@InjectObject into Page super class

Take

abstract public class PageA extends BasePage { .... @InjectObject .... }
abstract public class PageAplus extends PageA { .... }

Might I then get into trouble with the class enhancer when I load a page of 
class PageAplus ?

Henrik 




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: @InjectObject into Page super class

Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
ok, will keep looking. Somehow the enhancer fails to implement my accessor 
function for the injected object. Strange thing is that I can get it to work 
with component, but not with pages.

>"No, this must specifically works; its one of the greatest benefits of
>the annotation approach.

On 11/15/05, hv @ Fashion Content <in...@fashioncontent.com> wrote:
> Take
>
> abstract public class PageA extends BasePage { .... @InjectObject .... }
> abstract public class PageAplus extends PageA { .... }
>
> Might I then get into trouble with the class enhancer when I load a page 
> of
> class PageAplus ?
>
> Henrik
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: @InjectObject into Page super class

Posted by Howard Lewis Ship <hl...@gmail.com>.
No, this must specifically works; its one of the greatest benefits of
the annotation approach.

On 11/15/05, hv @ Fashion Content <in...@fashioncontent.com> wrote:
> Take
>
> abstract public class PageA extends BasePage { .... @InjectObject .... }
> abstract public class PageAplus extends PageA { .... }
>
> Might I then get into trouble with the class enhancer when I load a page of
> class PageAplus ?
>
> Henrik
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org