Instead of external sorting, just use the value attribute on
display:column.  You can just do the switching between the two variables
inline, something like

value="<%= happy ? happyDate : sadDate %>"

and then rely on internal sorting for the column.


> 
> Read and respond to this message at: 
> https://sourceforge.net/forum/message.php?msg_id=3797887
> By: akram
> 
> 
> Hello all,
> 
> I want to use external sorting on my displaytag table to sort 
> a colum which contains a dd-MM-yyyy date. This date may come 
> from 2 different variable, so I decided to use external 
> sorting to sort this column.
> 
> My problem is, that I don't want to implement an external 
> sorting for my other columns since the standard list sorting 
> is convenient.
> 
> Does anyone have an idea on how to do this?
> 
> 
> 
> 
> 
> ______________________________________________________________________
> 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
> 
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier Download IBM WebSphere Application Server 
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to