Ive copy pasted most of code.UserSession (interface) and UserSessionImpl (class) are almost empty, just the method in the link returning true always.
The binding I tried with the binder, before the binding of the application. Thiago: I've readed it and there's no problem, but when a copy-paste fails it's confusing. I'll post the sources in a moment... On Wed, Jan 21, 2009 at 9:45 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 21 Jan 2009 16:23:45 -0300, Sid Ferreira <sid....@gmail.com> > escreveu: > > Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im >> getting this error... Why? >> > > As any error in Java, the first thing to do is to look at the stack trace: > > No service implements the interface >> tibox.allert.fastSupport.services.UserSessionImpl. >> > > Read the Tapestry-IoC documentation because the problem lies in your T-IoC > configuration. Don't forget to read this page: > http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html. > > (Sorry, second RTFM today, hehehe) :) > > By the way, I think there's an error in this constructor: > > public AccessController(ApplicationStateManager asm, ComponentClassResolver > resolver, ComponentSource componentSource, UserSessionImpl newUserSession) > > Instead of UserSessionImpl, I think it should be UserSession, the interface > declared in that wiki page. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > Consultor, desenvolvedor e instrutor em Java > http://www.arsmachina.com.br/thiago > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations