[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: Dynamic pages (or: arguments to pages) [T4]
From:       Kaspar Fischer <fischerk () inf ! ethz ! ch>
Date:       2007-11-28 11:11:39
Message-ID: FE1B165A-789F-4E3A-AF4C-4653CE2ED89C () inf ! ethz ! ch
[Download RAW message or body]

Ulrich, Andy, Jesse, Jonathan, and Andy, thanks a lot for
the many responses and tips!

I am using T4 and have implemented it by injecting the web
request into my page and using a URL encoder for friendly URLs.

Regards,
Kaspar

On 27.11.2007, at 01:54, Andy Huhn wrote:

> Kaspar,
>
> If you're using T5, see
>
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
>
> Especially the section titled "Page activation".
>
> Andy
>
> On Mon, 2007-11-26 at 19:49 +0100, Kaspar Fischer wrote:
>> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic