Em Wed, 19 Aug 2009 15:56:08 -0300, Sebastian Hennebrueder <use...@laliluna.de> escreveu:

Hello,

Hi!

I couldn't find a way to define an alias name for components or pages. Is this just not possible?

Tapestry doesn't support this out-of-the-box, but its architecture has some points that can help you:

1) Regarding page names, you can use URL rewriting. It can be used to more than just deal with page names: I have a website (to be released soon) that rewrites login.domain.com to domain.com/page/login. 2) Regarding component names, you can advise or alias ComponentClassResolver. This is the service that maps page, component and mixin names into their classes.

I would implement what you want by advising ComponentClassResolver methods and changing their parameters (FooComponent into Foo, etc) before invoking the real implementation..

--
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

Reply via email to