Re: T5.0.6 I'm lost after upgrade T5

2007-11-04 Thread Michael Bernagou
Ok, I got it It was not the right import ;o) I used this : import org.apache.log4j.Logger; instead of import org.slf4j.Logger; Thanks :) 2007/11/4, Michael Bernagou <[EMAIL PROTECTED]>: > > I already tried to add the setters, without success. But Itried to access > Home and I got an error reg

Re: T5.0.6 I'm lost after upgrade T5

2007-11-04 Thread Michael Bernagou
I already tried to add the setters, without success. But Itried to access Home and I got an error regarding my Logger : My Home.java public class Home { ... @Inject private Logger logger; String refreshList() { try { logger.debug("Processiong refreshList..."); users = app

Re: T5.0.6 I'm lost after upgrade T5

2007-11-03 Thread Nick Westgate
Try adding setters to your fields. Cheers, Nick. Josh Canfield wrote: @InjectPage private Home home; The error message seems a little strange, but the code above is injecting a page called Home. Does that page load correctly if accessed directly? Josh On 11/3/07, Michael Bernagou <[EM

Re: T5.0.6 I'm lost after upgrade T5

2007-11-03 Thread Josh Canfield
> > @InjectPage > private Home home; > The error message seems a little strange, but the code above is injecting a page called Home. Does that page load correctly if accessed directly? Josh On 11/3/07, Michael Bernagou <[EMAIL PROTECTED]> wrote: > > Everything worked perfectly, but since I u

T5.0.6 I'm lost after upgrade T5

2007-11-03 Thread Michael Bernagou
Everything worked perfectly, but since I upgraded to T5.0.6, it fails for an understandable reason! I replaced my html by tml and placed them in the right place. I upgrade log4j to get the latest and add the new logging api (to avoid runtime error). The thing is really strange... My Start.tml ht