Take a look at the code here:
https://github.com/uklance/tapestry-sandbox/blob/master/src/main/java/com/github/uklance/mode/ModeComponentEventLinkEncoder.java

It looks for "special" prefixes and stores the prefix in a Mode
environmental before rewriting the URL without the prefix. You can then use
the environmental in pages and components (for filtering etc).

Also, take a look at this thread
http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-td5714532.html
where Thiago suggests using a filter and a ComponentEventLinkEncoder to do
URL rewriting. He suggests that the filter changes the Request and the
ComponentEventLinkEncoder only changes the Links.

Either way will work with subtle differences.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Dynamicly-assign-fixed-symbolic-root-folders-to-the-URL-Tapestry-Tapestry-5-3-3-tp5715743p5715748.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to