#Thiago
Yes, that would work in the case where I want something like 

localhost:8080/FullArticle/NameOfArticle

but what if I wanted 

localhost:8080/NameOfArticle
?
How to achieve this behavior?

#Jens
I completely agree with you. But what if I build wrapper around my listing of 
the articles, and tapestry register based on the clicked 
article creates in the flow page name for it? Is it possible?

> Subject: Re: PageURL Rewriting, pulling name instead of id
> From: mailingl...@j-b-s.de
> Date: Tue, 11 Jun 2013 00:46:42 +0200
> To: users@tapestry.apache.org
> 
> Be carefull with article names...make sure a name is unique in all supported 
> languages similar to the PK-ID you are using right now. From experience a 
> name is usually not sufficient to guarantee this, thus attributes like color 
> or size are required as well in your final name or as part of your 
> ActivationContext. But this depends on your product catalogue of course and 
> is not a Tapestry topic any longer :-)
> 
> I believe URL rewriting is the only solution to even remove the pagename.
> 
> 
> Jens
> 
> Sent from my iPhone
> 
> On 10.06.2013, at 23:38, "Thiago H de Paula Figueiredo" <thiag...@gmail.com> 
> wrote:
> 
> > Just use the name of the article as the page activation context instead. No 
> > URL rewriting needed.
> > 
> > On Mon, 10 Jun 2013 17:59:42 -0300, Nomen Nomanum <getibi...@outlook.com> 
> > wrote:
> > 
> >> Hi. I have an issue with the following: Lets say I click on my article, 
> >> and it directs me to that specific page
> >> 
> >> localhost:8080/FullArticle/3
> >> where 3 denotes id of article, however I don't want, what I want is to be 
> >> something like
> >> 
> >> localhost:8080/FullArticle/NameOfArticle
> >> 
> >> or even better
> >> 
> >> 
> >> localhost:8080/nameOfArticle
> >> 
> >> Any tips how to achieve this?
> >>                       
> > 
> > 
> > -- 
> > Thiago H. de Paula Figueiredo
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
                                          

Reply via email to