Originally posted by Lynn Paustian:
I have a JSF page with a records list. One of the columns is telephone. I want to mask it with hyphens at the usual breaks. Some of the phone numbers are 7 characters and others are ten. I'm using RAD to create my faces pages. RAD will format for 7 or 10 but not both. Is there a way to get the length of the telephone for the column in each row and in turn use the appropriate mask?
I've hunted IBM's site without any luck. I've got to believe there is a nice cheat sheet for reformating record list and records. If you know of a source I'd like to get it.
Thanks in advance.