Em Tue, 08 Dec 2009 08:40:34 -0200, Jan Jirout <jir...@coroptis.com> escreveu:

Hi,

Hi!

I think that both problems are related to "name stripping", but I don't know how to add new rules to this process. It seems to me, that "URL rewriting" doesn't help at all.

URL rewriting is definitely the best solution to both your problems. Using it, you have total control about your URLs.

The "I woud like to use page names as ArticlePage and UserPage but in tml file use refference to them as 'user' and 'article'" could be solved by decorating or advising the ComponentSource and changing the parameter of the getPage() method. I suggest you to not do that, as one of the beauties of Tapestry is exactly that the page class, the template and how you reference the page are all the same.

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

Reply via email to