You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2008/10/16 19:17:45 UTC

[jira] Updated: (TAP5-97) Pluggable strategy for mapping URLs to classes (and back)

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

Howard M. Lewis Ship updated TAP5-97:
-------------------------------------

    Issue Type: New Feature  (was: Bug)

> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org