I think there isn't any difference between Tapestry and other framewords here. 
Or did I misunderstand?

You have defined the 'getFwdLink' in your java class, then just construct the 
url and assign this property in tml:

public String getFwdLink() {
    return  String.format(http://www.mysite.com?userId=%s&pass=%s, userId, ab); 
 // you can use any way you like
 }

In tml, <a href="${fwdLink}">login</a>.

DH
http://www.gaonline.com.cn

----- Original Message ----- 
From: "sameerkhare" 
To: <users@tapestry.apache.org>
Sent: Wednesday, October 28, 2009 2:08 PM
Subject: Re: how can i construct external url with querystring???


> 
> Then how can i construct the external URL with query string in tapestry.
> 
> My Problem is that, I have a link on my tml page. and i need to construct
> URL with querystring and assign it to the link in tml page.
> 
> Please suggest me, that how can i implement it.
> 
> sameer
>  
> 
> 
> DH-14 wrote:
>> 
>> Don't understand your problem well.
>> 
>> Doesn't [ ${fwdLink} login ] fit your need? 
>> 
>> DH
>> http://www.gaonline.com.cn
>> 
>> ----- Original Message ----- 
>> From: "sameerkhare" 
>> To: <users@tapestry.apache.org>
>> Sent: Wednesday, October 28, 2009 12:47 PM
>> Subject: how can i construct external url with querystring???
>> 
>> 
>>> 
>>> I want to construct a URL as below and forward to that external URL
>>> through
>>> tapestry 5.
>>> My tml file contains link as below
>>> 
>>> ${fwdLink} login  
>>> 
>>> and correspoinding java file contains getter method for it. 
>>> 
>>> public String getFwdLink() {
>>> return fwdLink= "Http://www.mysite.com?userId=abc&pass=ab";
>>> }
>>> 
>>> My problem is that how can i construct url with querystring???
>>> 
>>> Please let me know if any one has any idea on it.
>>> 
>>> Thanks
>>> Sameer

Reply via email to