[ 
https://issues.apache.org/jira/browse/TAP5-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAP5-97.
------------------------------------

    Resolution: Duplicate

Robert has added a URLRewriting service that should address your needs.

> Pluggable strategy for mapping URLs to classes (and back)
> ---------------------------------------------------------
>
>                 Key: TAP5-97
>                 URL: https://issues.apache.org/jira/browse/TAP5-97
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>         Environment: N/A
>            Reporter: David Peterson
>            Priority: Minor
>
> It would be useful to be able to customise the URLs generated by and handled 
> by Tapestry.
> For example, I would like to be able to map the URL "/article" to the 
> ArticleViewer class, rather than having to create a page class called Article 
> (which overlaps with the name of my model class).
> An alternative is to create a class in the package .../pages/view/ViewArticle 
> and use the URL "/view/article". But this introduces an extra word into the 
> URL which is ugly and also the number of slashes in a URL can affect the 
> page's ranking in some search engines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to