Still i have the same issue, maybe i wasnt clear or im to frustrated to think clear and understend what happends, for exampe i have this code:
t5page.java------ @InjectService MyService myService Object OnActivate(){ myService.getData(); } t4page.java------- void initialize(){ MyService myservice = registry.getService(MyService.class); myService.getData(); } myServiceImpl.java private Request request; public MyServiceImpl(Request request) { this.request=request System.out.println("<<<<<<<<<<<<<<<<<<"+request.isRequestedSessionIdValid());// <--- the system breaks when execute this line from the t4page.java } public void getData(){ ..... anything } } the system is a little bit more complex than this, so maybe my mistake is on appModule, tapestryfilter, Registry or somwhere else but supose everything is ok, i want to know if this example should work, with Thiago's advice my t4page look like this but still i have the same exception t4page.java implements Thiago advice jej------- void preInitialize() { RequestGlobals requestGlobals = registry.getService(RequestGlobals.class); requestGlobals.storeServletRequestResponse(getRequest(), getResponse()); } void initialize() { MyService myservice = registry.getService(MyService.class); myService.getData(); } -- View this message in context: http://www.nabble.com/Tapestry5-IoC-and-Request-problem-tp25813570p25826840.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org