I have af:table with a column which may have values like "01", "STW", "RT003", etc coming from DB.
I want to display total 10 length String with leading zero if the length is less than 10. How do I do it?
I have tried below groovy expression in VO and gives error
String.format("%10s", mycolumnname).replace(' ', '0')