Re: Adding a dynamic sub directory to URL 

2012-07-19 Thread Thiago H de Paula Figueiredo
On Thu, 19 Jul 2012 05:18:39 -0300, Lance Java wrote: In option 1: - The URL displayed in the user's browser will be different to the @Injected request's getPath() That's exactly the point of URL rewriting! :) - I can only assume that the HTTPServletRequest will not be cloaked so @Injec

Re: Adding a dynamic sub directory to URL 

2012-07-19 Thread Lance Java
x27;t see a need to cloak the @Inject'ed Request. For this reason, I lean towards option 2. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714591.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Thiago H de Paula Figueiredo
On Wed, 18 Jul 2012 13:17:51 -0300, Lance Java wrote: For the incoming ones (requested URLs), it works by changing the Request Yes, I saw that... I'm not sure I agree with that approach. If a downstram process Example please. :) was trying to calculate URL's relative to the current path

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Lance Java
-- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714567.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: u

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Thiago H de Paula Figueiredo
On Wed, 18 Jul 2012 10:31:51 -0300, Lance Java wrote: If anyone wants to grab its sources, check https://github.com/thiagohp/tapestry-url-rewriter. Peeking at the code, it looks like you needed to decorate ComponentEventLinkEncoder too It does, but just for outgoing links (the ones generat

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Lance Java
it. The LinkTransformet API does not provide this (from what I can see). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714552.html Sent from the Tapestry - User mailing list archive at Nabble.

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Thiago H de Paula Figueiredo
On Wed, 18 Jul 2012 04:58:31 -0300, Lance Java wrote: I do this by decorating the ComponentEventLinkEncoder as I found that the LinkTransformer API was not adequate. I really need to take some time to get the old URL rewriter API, which is better suited than LinkTransformer in some scenar

Re: Adding a dynamic sub directory to URL 

2012-07-18 Thread Lance Java
ava https://github.com/uklance/tapestry-sandbox/blob/master/src/main/java/com/github/uklance/services/AppModule.java#L133 Cheers, Lance. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714543.html Sent from the Tapestry

Re: Adding a dynamic sub directory to URL

2012-07-18 Thread Dusko Jovanovski
45711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714537.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org &g

Re: Adding a dynamic sub directory to URL 

2012-07-17 Thread dkeenan
This looks perfect! Tapestry is outstandingly good. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714537.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Adding a dynamic sub directory to URL 

2012-07-17 Thread dkeenan
Thanks. Will take a look. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714535.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Adding a dynamic sub directory to URL 

2012-07-17 Thread dkeenan
-sub-directory-to-URL-tp5714532p5714534.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

Re: Adding a dynamic sub directory to URL 

2012-07-17 Thread Taha Siddiqi
lly I want to give the impression that each club has its own sub-dir > in the application. > > Does anyone know if there is a way of achieving this? > > Many thanks, > > David. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.

Adding a dynamic sub directory to URL 

2012-07-17 Thread dkeenan
way of achieving this? Many thanks, David.  -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532.html Sent from the Tapestry - User mailing list archive at Nabble.com