I think that the JSP column body should always be shown. In the case that 
the property is also specified, that is what should be used for sorting, 
and NOT the JSP body. This would display and sort a column with dates 
properly.

John


On Fri, 21 Nov 2003, Andy Pruitt wrote:

> 
> Would this make sense:
> 
> When sorting a list, use the results of JSP body only if there is no
> property attribute for the column.  If there is a property attribute for
> the column, ignore the JSP body even if it does exist, and use the
> property value instead.
> 
> This is a change from the current behavior in that currently, if there
> is a property attribute, the JSP body of the column will never be
> executed.  In the future the JSP body content would take priority over
> the property attribute for display purposes; this feels right to me, it
> seems that JSP body should always render if present.
> 
> This would allow for a simple treatment of the now classic problems with
> sorting date columns.  
> 
> 
> --andy
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> displaytag-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> 

-- 
John York
Software Engineer
CareerSite Corporation



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to