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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to