Ed Webb wrote:
> fea jabi wrote:
>> Thanks for your responses. I appreciate that.
>>
>> I used the JSTL to format the date. Will it work using that? Do I have
>> to
>> use decorator itself?
>
> Use the Decorator instead

I was actually going to suggest using JSTL for the date format.  That lets
the sort work on the date object directly (instead of the text
representation of the date), but doesn't require extra code.  I have an
adversion to using decorators.  Also, the JSTL date format is easily
localizable and easily changeable in a deployed app, whereas changes to
code require redeployment or hot-patching of the app.

Why would you recommend using the decorator instead?

-- 
Rick Herrick
[EMAIL PROTECTED]

Proud member of the reality-based community

Never try to discourage thinking for you are sure to succeed.--Bertrand
Russell

-------------------------------------------------------------------------
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