Re: URL protocol versioning in Tapestry 5

2011-03-10 Thread abangkis
Hi Howard. Thanks a lot for your explanation. On Thu, Mar 10, 2011 at 1:23 AM, Howard Lewis Ship wrote: > The philosophy in Tapestry is that action links are transient ... > their value is dependent on the exact structure of the page which can > change between deployments ... and that's OK becau

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread Howard Lewis Ship
The philosophy in Tapestry is that action links are transient ... their value is dependent on the exact structure of the page which can change between deployments ... and that's OK because component event links (ActionLink is a specific application of a component event request) are NOT bookmarkable

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread abangkis
Great :D Thanks a lot igor. I know there's an easier way to do this in tapestry :) On Wed, Mar 9, 2011 at 8:22 PM, Igor Drobiazko wrote: > You can contribute your own ComponentEventLinkTransformer: > > > http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/services/linktransfor

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread Igor Drobiazko
You can contribute your own ComponentEventLinkTransformer: http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/services/linktransform/ComponentEventLinkTransformer.html On Wed, Mar 9, 2011 at 2:03 PM, abangkis wrote: > Hi igor thanks for the reply. The protocol_version is ju

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread abangkis
Hi igor thanks for the reply. The protocol_version is just a string. For example, http://www.myserver.com/myapps/page_name.method_name/1.0/param2/param3

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread Igor Drobiazko
What do you mean by protocol version? You need to be more precise if you need help. Usually posting some code helps to help you. On Wed, Mar 9, 2011 at 12:51 PM, abangkis wrote: > Hello, i try to rephrase my question. If i click an action link in my page, > the generated URL would look like this

Re: URL protocol versioning in Tapestry 5

2011-03-09 Thread abangkis
Hello, i try to rephrase my question. If i click an action link in my page, the generated URL would look like this in T5. http://www.myserver.com/myapps/page_name.method_name/protocol_version/param2/param3 My que

URL protocol versioning in Tapestry 5

2011-03-08 Thread abangkis
Hi all, i would like to create some kind of URL protocol versioning in my apps. The URL generated would be something like this http://www.myserver.com/myapps/page.method/protocol_version/param2/param3/moreparam I'm thinking between of using Service Advisor or RequestFilter to handle the case. Can