You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by rathinasamy <ra...@snovabits.net> on 2012/02/10 11:24:13 UTC
How can I get the value from query parameter
Hi,
I have Index.tml page and Index.java class.
If the user hits the below url I want to retrieve the value of the param
uniqueValue (i.e., I need the value 5895858) Can anyone give me some
samples?
http://localhost:8080/UserRegistration/?uniqueValue=5895858
Thanks in advance.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-parameter-tp5472015p5472015.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: How can I get the value from query parameter
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Fri, 10 Feb 2012 08:24:13 -0200, rathinasamy
<ra...@snovabits.net> wrote:
> Hi,
Hi!
This is the dev mailing list. You should post your Tapestry user questions
in the Tapestry mailing list. ;) It's the right place and you'll get more
answers there. :)
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: How can I get the value from query parameter
Posted by karthi <ra...@snovabits.net>.
Thank you it works great!!
I have tried that earlier but not print that value in onSuccess() method...
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-parameter-tp5472015p5472130.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: How can I get the value from query parameter
Posted by trsvax <tr...@gmail.com>.
FYI: It's better to ask these kinds of questions on the user list.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-parameter-tp5472015p5472061.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: How can I get the value from query parameter
Posted by trsvax <tr...@gmail.com>.
Put the following in your page.
@ActivationRequestParameter
private String uniqueValue;
You can use types other than String.
@ActivationRequestParameter
private Integer uniqueNumber;
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-parameter-tp5472015p5472056.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org