Hi, I manage to solve the problem...... Sorry for spamming your mail. ^_^ Thanks anyway
william rimbun <[EMAIL PROTECTED]> wrote:
william rimbun <[EMAIL PROTECTED]> wrote:
Hi, does anybody know how to sort the date in DD-MON-YYYY format?This is my sample code in the JSP file:<display:table name="clist" pagesize="8" defaultsort="1" defaultorder="ascending" sort="list" decorator="com.starhub.rapid.wrapper.DunningHistoryWrapper" >
......<display:column property="curedDate" title ="Completed Date" sortable="true" />
.......</display:table>In the Wrapper class, I have override the method : getCuredDate() to return in appropriate format:....public String getCuredDate()
{return this.dateFormat.format(((DunningHistoryTO) this.getCurrentRowObject()).getCuredDate());
}...But I still cannot manage to sort the date correctly.Please help. If possible, please paste some sample code here.Thanks a million.
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.