Hi guys,
> TapestryModule.class, part of Tapestry, defines an IgnoredPathsFilteer  
> service inside method bind(), so there's no need to define it again. ;)
I have missed that. Thanks Thiago for putting that correct.
Regards, nillehammer

----- original Nachricht --------

Betreff: Re: T5 Module methods call
Gesendet: Mo, 29. Jun 2009
Von: Thiago H. de Paula Figueiredo<thiag...@gmail.com>

> Em Mon, 29 Jun 2009 16:15:51 -0300, nille hammer  
> <tapestry.nilleham...@winfonet.eu> escreveu:
> 
> > Hi Haipeng,
> 
> Hi everyone!
> 
> >> but this one is not called:
> >>  public static void contributeIgnoredPathsFilter(Configuration<String>
> >> configuration)
> 
> I don't know if that's your problem, but this method will only be called  
> when the first request is received. Tapestry-IoC, by default, just create  
> services when they're first needed.
> 
> > The contribution method is called by a builder method for a service that 
> 
> > accepts your configuration as method parameter. I assume you want to  
> > build a service that implements  "RequestFilter". So do you have sth.  
> > like the following in your module class?
> >
> > public  RequestFilter buildIgnoredPathsFilter(final Collection<String>  
> > contributions) {
> >     return new IgnoredPathsFilter(contributions);
> > }
> 
> TapestryModule.class, part of Tapestry, defines an IgnoredPathsFilteer  
> service inside method bind(), so there's no need to define it again. ;)
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> 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
> 
> 

--- original Nachricht Ende ----


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to