Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4265787
By: akram
You shoud add a "sortname" property to your column:
<display:column headerClass="align-left" titleKey="label.upload.list.file"
sortable="true" sortname="ORDER_BY_FILE_NAME">
Then in you Controller or StrutsAction, do this:
ParamEncoder paramEncoder = new ParamEncoder("row");
String sortParameter
= paramEncoder.encodeParameterName(TableTagParameters.PARAMETER_SORT);
String sort = request.getParameter(sortParameter);
if ("ORDER_BY_FILE_NAME".equals(sort)) {
......
}
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user