To format a date field on UI, use <af:convertDateTime>.
For example, if a date has to be displayed in 12-Jan-2012 format, use convertDateTime as below:
For example, if a date has to be displayed in 12-Jan-2012 format, use convertDateTime as below:
Output:
Similarly to format a number field on UI, use <af:convertNumber>.
For example, if the salary of an employee has to be displayed in 12,000 format, use convertNumber as below:
Output:
No comments:
Post a Comment