Thank you for your reply. As mentioned, I tried to use the
PageRenderLinkTransformer which is part of the LinkTransformer API
(LinkTransformer extends ComponentEventLinkTransformer,
PageRenderLinkTransformer). The problem is that the decode method isn't invoked
when the root page is requested (without the name of the root page). So I can't
rewrite requests for "/". Is this a feature or a bug? :-) Or did I something
wrong?

Regards,
Jan Reinhard






"Thiago H. de Paula Figueiredo" <thiag...@gmail.com> hat am 5. Juni 2011 um
14:43 geschrieben:

> On Fri, 03 Jun 2011 19:49:13 -0300, tapes...@bg.cdev.de 
> <tapes...@bg.cdev.de> wrote:
>
> > Hello,
>
> Hi!
>
> > I'm trying to use the PageRenderLinkTransformer to rewrite my urls but it
> > doesn't seem to be the right way for my case. The problem is that the
> > decodePageRenderRequest method isnt invoked when I request the root 
> > without a
> > page name. I would like to rewrite dynamically urls by the requested 
> > subdomain.
> > e.g. myparameter.domain.com/  to domain.com/Page/myparameter
> >
> > Has anyone an idea? Did I something wrong? The URLRewriterRule would 
> > work but its deprecated...
>
> Use the LinkTransformer API. It's the replacement of URL rewriter.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, 
> and instructor
> Owner, 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
>

Reply via email to