Re: Problem using s: url / tag

2009-11-26 Thread shekher awasthi
Thanks Friends! Following tag resolved the issue:
constant name=struts.url.includeParams value=none /

On Mon, Nov 23, 2009 at 7:58 PM, Greg Lindholm greg.lindh...@gmail.comwrote:

 Check the doc for property *struts.url.includeParams*  for the version of
 struts you are using.
 You may want to change it's value to none.

 constant name=struts.url.includeParams value=none /




 On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi 
 shekher.awas...@gmail.com
  wrote:

  Hi Friends,
 
  I am using the url tag as follows:
 
  s:url id=*url* action=*InvoiceFrame*
 
  s:param name=*invoiceType*LocalInvoice/s:param
 
  /s:url
 
  s:a href=*%{url}*Local Invoice/s:a
 
  The problem is the parameter defined in param tag is getting appended in
  all
  others  urls on the JSP page so affecting other url's implementation.
 
  Please help me / guide me in resolving this issue.
 
 
 
  Thanks,
 
  Shekher.
 



Re: Problem using s: url / tag

2009-11-23 Thread Greg Lindholm
Check the doc for property *struts.url.includeParams*  for the version of
struts you are using.
You may want to change it's value to none.

constant name=struts.url.includeParams value=none /




On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi shekher.awas...@gmail.com
 wrote:

 Hi Friends,

 I am using the url tag as follows:

 s:url id=*url* action=*InvoiceFrame*

 s:param name=*invoiceType*LocalInvoice/s:param

 /s:url

 s:a href=*%{url}*Local Invoice/s:a

 The problem is the parameter defined in param tag is getting appended in
 all
 others  urls on the JSP page so affecting other url's implementation.

 Please help me / guide me in resolving this issue.



 Thanks,

 Shekher.



Re: Problem using s: url / tag

2009-11-22 Thread Samuel Robert
I am using the URL tag with paramters and have no problem with it.

Just some ideas:
- try by using a HTML tag instead of s:a
- use another id than url

Or give more info about how you build the other links in your JSP.

Samuel

2009/11/21 shekher awasthi shekher.awas...@gmail.com

 Hi Friends,

 I am using the url tag as follows:

 s:url id=*url* action=*InvoiceFrame*

 s:param name=*invoiceType*LocalInvoice/s:param

 /s:url

 s:a href=*%{url}*Local Invoice/s:a

 The problem is the parameter defined in param tag is getting appended in
 all
 others  urls on the JSP page so affecting other url's implementation.

 Please help me / guide me in resolving this issue.



 Thanks,

 Shekher.