struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul McCulloch <paul.mccull...@axiossystems.com>
Subject RE: [DisplayTag]How to avoid 'context switching' when sorting col umns
Date Tue, 13 Apr 2004 10:23:11 GMT
The attribute you are after is requestURI.

Paul

> -----Original Message-----
> From: Takhar, Sandeep [mailto:Sandeep.Takhar@CIBC.ca]
> Sent: Monday, April 12, 2004 12:21 PM
> To: Struts Users Mailing List
> Subject: RE: [DisplayTag]How to avoid 'context switching' when sorting
> columns
> 
> 
> I haven't tried this, but somewhere on their site they say 
> you should use a uri="" on the table.  I haven't tested it is 
> what I should say because that is the way I have coded it.  
> It might be in their faq's..
> 
> sandeep
> 
> -----Original Message-----
> From: Frank Schaare [mailto:loosers-inc@gmx.de]
> Sent: Thursday, April 08, 2004 5:13 PM
> To: Struts Users Mailing List
> Subject: [DisplayTag]How to avoid 'context switching' when sorting
> columns
> 
> 
> Hi,
> 
> i´ve got a sortable table with an actionbar generatet by 
> decorator. The 
> decorator returns dynamic links like this:
> 
> return "<a href=doSomething.do?id="+id+">doIt</a>". Though, 
> an action in
> http://{myContext}/doSomething.do?id=x is called.
> 
> This worked fine for me, until i tried to sort some colunms. Now, the 
> jsp calls itself rekursiv and the context changes to:
> http://{myContext}/pages/...
> 
> Unfortunately the link created by decorator is still the same, which 
> causes in an 'action not found' error when clicking on 'doIt'.
> 
> Has anyone an idea how to solve this problem ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not the addressee
indicated in this message (or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone. In such case, you should destroy this message,
and notify us immediately. If you or your employer does not consent to Internet email messages
of this kind, please advise us immediately. Opinions, conclusions and other information expressed
in this message are not given or endorsed by my Company or employer unless otherwise indicated
by an authorised representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via
electronic mail attachments we cannot guarantee that attachments do not contain computer virus
code.  You are therefore strongly advised to undertake anti virus checks prior to accessing
the attachment to this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for loss or damage
howsoever caused.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message