Assuming T4... Assuming that you just want a readable URL but not necessarily a friendly one, then you can use ExternalLinks to pages implementing IExternalPage.
Make your page implement IExternalPage. In your public void activateExternalPage(Object[] parameters, IRequestCycle cycle) method, extract the parameter by position: parameters[0]. Then you would have something like http://my.organization.org/app?service=external&page=article&sp=l2832 I think if you look at the URL encoders as suggested by Jesse, there is a nice transition from the External link above to a "prettier" URL. Jonathan > -----Original Message----- > From: Kaspar Fischer [mailto:[EMAIL PROTECTED] > Sent: Monday, November 26, 2007 1:50 PM > To: Tapestry users > Subject: Dynamic pages (or: arguments to pages) > > Hi All, > > I am new to Tapestry and would be glad to receive a hint on how to > realize > "dynamic pages", i.e., pages whose content depends on GET arguments. > > I have a database full of articles, each having an Id, and I want to > show each article on its own page. In PHP, I would have used URLs like > > http://my.organization.org/app?page=article&id=2832 > > to display article with Id 2832. > > I am not quite sure what the Tapestry way for such a problem is. I've > coded a page ArticlePage that extends BasePage and now need a way to > learn the Id from the URL. How can I do this? > > Many thanks, > Kaspar > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]