Thiago: [...]your dispatcher must be added before the RootPath[...]

Is that neccesary? RootPath I think is when you go to "/", this is
Index page, and we suppose Index doesn't need security. So I use my
security dispatcher AFTER RootPath. Thanks

On Thu, Nov 26, 2009 at 8:41 AM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> Em Thu, 26 Nov 2009 07:18:53 -0200, Ulrich Stärk <u...@spielviel.de>
> escreveu:
>
>> Use a ComponentRequestFilter. That way you can handle component events and
>> page render requests inside the same filter.
>
> It could be a Dispatcher too. The wiki has a nice explanation:
> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher. Just a
> small correction: your dispatcher must be added before the RootPath,
> ComponentEvent and PageRender dispatchers:
>
> configuration.add("YourDispatcher", yourDispatcher, "before:RootPath,
> before:ComponentEvent, before:PageRender, after:Asset, after:VirtualAsset");
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to