johkar - 2006-08-23

I need to submit the form upon column sort. How can I manipulate the sort link? Preferably something like:

<a href="whatever.do?plusAllOfTheSortandPageParameters" onclick="myFunction('whatever.do?plusAllOfTheSortandPageParameters');return false;">Page Title</a>

I already have it working for the paging links using the displaytag.properties file, however there is no such method for the sorting link where I can call a JavaScript function. Adding another link inside the title attribute yields a link within a link...no good. This would be a good enhancement for the library I would think.

Ideas?