Re: how can i construct external url with querystring???

2009-10-28 Thread DH
Don't understand your problem well.

Doesn't [a href=${fwdLink}login/a] 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=abcpass=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
 -- 
 View this message in context: 
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26089334.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare

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=abcpass=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
 -- 
 View this message in context:
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26089334.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 

 

-- 
View this message in context: 
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26089818.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: how can i construct external url with querystring???

2009-10-28 Thread DH
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=%spass=%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=abcpass=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

Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare

Is it the good way to construct the url by this way. I think it is not.
I am trying to use Link tapestry class with createPageRender() method. but
no luck..





DH-14 wrote:
 
 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=%spass=%s, userId,
 ab);  // you can use any way you like
  }
 
 In tml,  ${fwdLink} login .
 
 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=abcpass=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
 

-- 
View this message in context: 
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: how can i construct external url with querystring???

2009-10-28 Thread DH
But what you want is external link, createPageRender() is to create internal 
link, you need provide your app internal page name.

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

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


 
 Is it the good way to construct the url by this way. I think it is not.
 I am trying to use Link tapestry class with createPageRender() method. but
 no luck..
 
 
 
 
 
 DH-14 wrote:
 
 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=%spass=%s, userId,
 ab);  // you can use any way you like
  }
 
 In tml,  ${fwdLink} login .
 
 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=abcpass=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
 
 
 -- 
 View this message in context: 
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare

That's right...
createPageRender() is to create internal link, Thats why i am not able to
create external link by this method.
Currently i am constructing the link with following approach. But i am not
sure, that is it good way to create an exteranl link./

public String getFwdLink(){
StringBuilder fwdLink= new StringBuilder();
fwdLink.append(messages.get(siteURL));
fwdLink.append(?);
fwdLink.append(RET_URL);
fwdLink.append(messages.get(mysite));
fwdLink.append();
fwdLink.append(AUTH_DPID);
fwdLink.append(messages.get(dsp_ID));
fwdLink.append();
fwdLink.append(AUTH_ACTION);
fwdLink.append(messages.get(actionToken));
return fwdLink.toString();
}



Please conferm that is above method to create exteranl link is good with
tapestry.

Sameer



DH-14 wrote:
 
 But what you want is external link, createPageRender() is to create
 internal link, you need provide your app internal page name.
 
 DH
 http://www.gaonline.com.cn
 
 - Original Message - 
 From: sameerkhare
 To: users@tapestry.apache.org
 Sent: Wednesday, October 28, 2009 5:29 PM
 Subject: Re: how can i construct external url with querystring???
 
 
 
 Is it the good way to construct the url by this way. I think it is not.
 I am trying to use Link tapestry class with createPageRender() method.
 but
 no luck..
 
 
 
 
 
 DH-14 wrote:
 
 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=%spass=%s,
 userId,
 ab);  // you can use any way you like
  }
 
 In tml,  ${fwdLink} login .
 
 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=abcpass=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
 
 
 -- 
 View this message in context:
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 

 

-- 
View this message in context: 
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26092168.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: how can i construct external url with querystring???

2009-10-28 Thread cordenier christophe
Hello

I use java.net.URL to create external URLs, this allows me to verify URL is
valid.
Tapestry uses java.net.URL for external redirection, i mean that action
method can return URL and Tapestry will do the redirection work.

Regards
Christophe.

2009/10/28 sameerkhare sameer.kh...@hcl.in


 That's right...
 createPageRender() is to create internal link, Thats why i am not able to
 create external link by this method.
 Currently i am constructing the link with following approach. But i am not
 sure, that is it good way to create an exteranl link./

 public String getFwdLink(){
StringBuilder fwdLink= new StringBuilder();
fwdLink.append(messages.get(siteURL));
fwdLink.append(?);
fwdLink.append(RET_URL);
fwdLink.append(messages.get(mysite));
fwdLink.append();
fwdLink.append(AUTH_DPID);
fwdLink.append(messages.get(dsp_ID));
fwdLink.append();
fwdLink.append(AUTH_ACTION);
fwdLink.append(messages.get(actionToken));
return fwdLink.toString();
}



 Please conferm that is above method to create exteranl link is good with
 tapestry.

 Sameer



 DH-14 wrote:
 
  But what you want is external link, createPageRender() is to create
  internal link, you need provide your app internal page name.
 
  DH
  http://www.gaonline.com.cn
 
  - Original Message -
  From: sameerkhare
  To: users@tapestry.apache.org
  Sent: Wednesday, October 28, 2009 5:29 PM
  Subject: Re: how can i construct external url with querystring???
 
 
 
  Is it the good way to construct the url by this way. I think it is not.
  I am trying to use Link tapestry class with createPageRender() method.
  but
  no luck..
 
 
 
 
 
  DH-14 wrote:
 
  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=%spass=%s,
  userId,
  ab);  // you can use any way you like
   }
 
  In tml,  ${fwdLink} login .
 
  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=abcpass=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
 
 
  --
  View this message in context:
 
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
  Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

 --
 View this message in context:
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26092168.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


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




Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare

I am not very much clear that how it will work in my case.
I have a link in tml page and assign the url value with querystring to that
link.
How can i do this with URL class.
Please help me more on it.

BR
Sameer


cordenier christophe wrote:
 
 Hello
 
 I use java.net.URL to create external URLs, this allows me to verify URL
 is
 valid.
 Tapestry uses java.net.URL for external redirection, i mean that action
 method can return URL and Tapestry will do the redirection work.
 
 Regards
 Christophe.
 
 2009/10/28 sameerkhare sameer.kh...@hcl.in
 

 That's right...
 createPageRender() is to create internal link, Thats why i am not able to
 create external link by this method.
 Currently i am constructing the link with following approach. But i am
 not
 sure, that is it good way to create an exteranl link./

 public String getFwdLink(){
StringBuilder fwdLink= new StringBuilder();
fwdLink.append(messages.get(siteURL));
fwdLink.append(?);
fwdLink.append(RET_URL);
fwdLink.append(messages.get(mysite));
fwdLink.append();
fwdLink.append(AUTH_DPID);
fwdLink.append(messages.get(dsp_ID));
fwdLink.append();
fwdLink.append(AUTH_ACTION);
fwdLink.append(messages.get(actionToken));
return fwdLink.toString();
}



 Please conferm that is above method to create exteranl link is good with
 tapestry.

 Sameer



 DH-14 wrote:
 
  But what you want is external link, createPageRender() is to create
  internal link, you need provide your app internal page name.
 
  DH
  http://www.gaonline.com.cn
 
  - Original Message -
  From: sameerkhare
  To: users@tapestry.apache.org
  Sent: Wednesday, October 28, 2009 5:29 PM
  Subject: Re: how can i construct external url with querystring???
 
 
 
  Is it the good way to construct the url by this way. I think it is
 not.
  I am trying to use Link tapestry class with createPageRender() method.
  but
  no luck..
 
 
 
 
 
  DH-14 wrote:
 
  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=%spass=%s,
  userId,
  ab);  // you can use any way you like
   }
 
  In tml,  ${fwdLink} login .
 
  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=abcpass=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
 
 
  --
  View this message in context:
 
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
  Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

 --
 View this message in context:
 http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26092168.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26092303.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr

Re: how can i construct external url with querystring???

2009-10-28 Thread Martin Strand

Maybe you want String.format instead?

String.format(http://somesite.com/ath/?param1=%sparam2=%s;, param1, param2)

On Wed, 28 Oct 2009 11:11:37 +0100, sameerkhare sameer.kh...@hcl.in wrote:



That's right...
createPageRender() is to create internal link, Thats why i am not able to
create external link by this method.
Currently i am constructing the link with following approach. But i am not
sure, that is it good way to create an exteranl link./

public String getFwdLink(){
StringBuilder fwdLink= new StringBuilder();
fwdLink.append(messages.get(siteURL));
fwdLink.append(?);
fwdLink.append(RET_URL);
fwdLink.append(messages.get(mysite));
fwdLink.append();
fwdLink.append(AUTH_DPID);
fwdLink.append(messages.get(dsp_ID));
fwdLink.append();
fwdLink.append(AUTH_ACTION);
fwdLink.append(messages.get(actionToken));
return fwdLink.toString();
}



Please conferm that is above method to create exteranl link is good with
tapestry.

Sameer



DH-14 wrote:


But what you want is external link, createPageRender() is to create
internal link, you need provide your app internal page name.

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

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




Is it the good way to construct the url by this way. I think it is not.
I am trying to use Link tapestry class with createPageRender() method.
but
no luck..





DH-14 wrote:


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=%spass=%s,
userId,
ab);  // you can use any way you like
 }

In tml,  ${fwdLink} login .

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=abcpass=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




--
View this message in context:
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26091675.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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









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



Re: how can i construct external url with querystring???

2009-10-28 Thread Thiago H. de Paula Figueiredo
Em Wed, 28 Oct 2009 07:29:54 -0200, sameerkhare sameer.kh...@hcl.in  
escreveu:



Is it the good way to construct the url by this way.


It is for external URLs.

I am trying to use Link tapestry class with createPageRender() method.  
but no luck..


createPageRender() and similar methods is the right way to create links  
for Tapestry pages (internal links).


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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



how can i construct external url with querystring???

2009-10-27 Thread sameerkhare

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=abcpass=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
-- 
View this message in context: 
http://www.nabble.com/how-can-i-construct-external-url-with-querystringtp26089334p26089334.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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