See this: http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/

On Tue, 11 Jun 2013 13:27:54 -0300, Nomen Nomanum <getibi...@outlook.com> wrote:

OK, i have already implemented it. I have page ListArticle, which serves only for once user click on some article takes him to the following path someweb.mx:3032/ListArticle/SpecificNameOfArticle. However, how to proceed further, ie how to delete ListArticle/ from the path context and leave only SpecificNameOfArticle? I am reading documenation, but I can't learn nothing from it? There is an inkling in some spring app and your url-rewriter app I have found on the web, however I am green in tapestry field for now, and can't figure out it best.

To: users@tapestry.apache.org
Subject: Re: PageURL Rewriting, pulling name instead of id
Date: Tue, 11 Jun 2013 09:00:28 -0300
From: thiag...@gmail.com

On Mon, 10 Jun 2013 19:56:06 -0300, Nomen Nomanum <getibi...@outlook.com>
wrote:

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

You could use an Index page for that and use the name of the article (or
some modification of it) as the activation context. If you don't do that, you'll need to use some form of URL rewriting, but then you create another problem for you: you'll need to figure out yourself whether the URL is for
a Tapestry page or an article name.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

                                        


--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to