You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Will Scheidegger <wi...@mac.com> on 2005/07/08 10:44:26 UTC

BasePage with no IEngine?!?

I'm pretty new to Tapestry so bare with me if I'm asking a stupid 
question, but I'm faced with the following problem:

I'm switching from one component to an other with

cycle.activate(targetPage);

So far so good, but the targetPage (subclass of BasePage) has no 
IEngine set! When I call

getEngine()

I get null! Can someone please explain to me under what circumstances 
it is possible for a BasePage to have no IEngine?

Thanks!

-Will


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


Re: BasePage with no IEngine?!?

Posted by Kent Tong <ke...@cpttm.org.mo>.
Will Scheidegger <willscheidegger <at> mac.com> writes:

> So far so good, but the targetPage (subclass of BasePage) has no 
> IEngine set! When I call
> 
> getEngine()
> 
> I get null! Can someone please explain to me under what circumstances 
> it is possible for a BasePage to have no IEngine?

Are you trying to call getEngine() in the constructor of
your page class?

--
Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT)


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