Re: URL mapping

2011-04-09 Thread Taha Hafeez
.2 to create a simple project. > My question is how do I achieve the URL mapping(customize URL) same as > Spring MVG like > > class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> > > > > >myPageController > > > > Thanks > David >

URL mapping

2011-04-09 Thread Tsun Bon Yu
Dear Tapestry users, I am trying to use Tapestry 5.2 to create a simple project. My question is how do I achieve the URL mapping(customize URL) same as Spring MVG like myPageController Thanks David

Re: T5 - How to do custom URL mapping?

2007-07-16 Thread Fabien Le Floc'h
Thank you for your explanations, I am not sure to understand correctly, when you speak about the path of least resistance about page activation/passivation, you speak of it as an alternate simpler solution than the dispatcher based solution? If yes, I don't see how simpler it is. The way I under

Re: T5 - How to do custom URL mapping?

2007-07-13 Thread Howard Lewis Ship
Part of the solution here is a custom Dispatcher, contributed to the MasterDispatcher service configuration. A Dispatcher is provided with the Request and Response, and can decide how and if to response, much like a servlet. The different Dispatchers form a chain-of-command. You can "schedule"

Re: T5 - How to do custom URL mapping?

2007-07-13 Thread Fabien Le Floc'h
I found a way to do it by implementing a PageRenderRequestFilter. However this is a bit tricky, since it requires a "User" page defined for it to work (even if it is not used by the app), because this filter is only called if _componentClassResolver.isPageName(pageName) is successful (cf PageRende

T5 - How to do custom URL mapping?

2007-07-13 Thread Fabien Le Floc'h
Hi All, I am new to Tapestry and would like to have a particular mapping for some pages. For example, I would like that a call to /user/MyUserName/viewSomething/withThisParameter maps to a page called ViewSomething, where a user field would be initialized with MyUserName. Now I can easily achieve