On Wed, Apr 27, 2011 at 2:29 PM, Mark <mark-li...@xeric.net> wrote:

> On Wed, Apr 27, 2011 at 1:30 PM, Tim Koop <t...@timkoop.com> wrote:
>
>> I have some third party code that calls one of my Tapestry pages, passing
>> in some values in the query string.  From in my Tapestry page (the Java
>> class), how can I retrieve this query string?
>>
>> Sorry here it is...

Lets say you have something like:

> http://localhost:8080/app/page?value1=testValue&value2=99

>
In the page class write:

>
@ActivationRequestParameter
private String value1

@ActivationRequestParameter
private int value2

If you are using Tapestry Hibernate and the value is the id, you can do
something like:
@ActivationRequestParameter
private MyObject myObject

Mark

Reply via email to