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)" <de...@tapestry.apache.org> on 2008/01/20 19:38:34 UTC

[jira] Commented: (TAPESTRY-1526) shorter logical page name for pages of contributed library

    [ https://issues.apache.org/jira/browse/TAPESTRY-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560840#action_12560840 ] 

Howard M. Lewis Ship commented on TAPESTRY-1526:
------------------------------------------------

Good thought; currently on the package name is taken into account when stripping redundant prefixes and suffixes from the class name, but we should be able to "seed" in the library mapping virtual folder ('user", in this example) as well.

> shorter logical page name for pages of contributed library
> ----------------------------------------------------------
>
>                 Key: TAPESTRY-1526
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1526
>             Project: Tapestry
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Martin Grotzke
>            Priority: Minor
>
> For a library mapping it would be really nice to have shorter logical page names.
> The library mapping is e.g. the following:
>     public static void contributeComponentClassResolver( Configuration<LibraryMapping> configuration ) {
>         configuration.add( new LibraryMapping( "user", "org.comp.app.user.presentation" ) );
>     }
> For the page class org.comp.app.user.presentation.pages.CreateUser it would be nice to get
> the url /app/user/create instead of /app/user/createuser.

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