Okay I understand this.

However , would it posssible to keep the name without the "cut" by Tapestry .


I mean create a page like address / CreateAddress and have the url ending with 
CreateAdress ?


________________________________
De : Dmitry Gusev <dmitry.gu...@gmail.com>
Envoyé : mercredi 24 août 2016 17:18:49
À : Tapestry users
Objet : Re: Logical Page Name Shortening

To make URLs shorter/prettier, so you could name your java classes & TMLs
differently, i.e.:

address/CreateAddress => address/create
user/CreateUser => user/create

Without this feature your URLs would be address/createaddress and
user/createuser, or you would have to name your pages the same but put them
to different packages, which may be not convenient when you want to lookup
a class by its name or when you want to import one user.Create to
address.Create -- in java you'd have to use fully qualified names.

On Wed, Aug 24, 2016 at 6:12 PM, Lherm Nicolas <nlh...@sqli.com> wrote:

> Hi,
>
>
> Yes I saw it, but I don't understand why tapestry removed the suffix.
>
> ________________________________
> De : Dmitry Gusev <dmitry.gu...@gmail.com>
> Envoyé : mercredi 24 août 2016 16:54:46
> À : Tapestry users
> Objet : Re: Logical Page Name Shortening
>
> Hi, have you seen this?
>
> http://tapestry.apache.org/page-navigation.html
>
> On Wed, Aug 24, 2016 at 5:38 PM, Lherm Nicolas <nlh...@sqli.com> wrote:
>
> > Hello,
> >
> >
> > I have a question about the shortheneng URL's of somes page names.
> >
> >
> > I read that Tapestry removed the redundant suffix of the URL in certains
> > cases, and and wanna know why or where do they do this ?
> >
> >
> > Thanks
> >
> >
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>



--
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to