On Wed, 05 May 2010 18:21:30 -0300, Michael Prescott <michael.r.presc...@gmail.com> wrote:

Is there any solid documentation on the full set of transformations from
page class to URL?  Seems that understanding all of the URLs at which my
pages are made available is important to using any sort of URL-based
security.

Every time I go to look this up, I can never find it, other than the
"Sub-Folders / Sub-Packages" snippet on the Component Class page:
http://tapestry.apache.org/tapestry5/guide/component-classes.html

If you're not using URL rewriting, that's all you need to know plus the handling of the index page. A tip is that a match is made from the whole path before dropping what is after the last slash. Take this URL: /aaa/bbb/ccc. At first ComponentClassResolver checks if an page exists. If not, if aaa/bbb exists (ccc is the activation context), and so on. The rest is logic for shortening URLs (/user/edituser <-> /user/edit).

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