RE: formatting of strings

2005-01-07 Thread Krishna Mohan Radhakrishnan
nfosys.com -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 4:19 PM To: Struts Users Mailing List Subject: Re: formatting of strings Krishna, what's the class of your telefoneno property? The format attribute is used only if

Re: formatting of strings

2005-01-07 Thread Pavel Kolesnikov
Krishna, what's the class of your telefoneno property? The format attribute is used only if the value to be displayed is NOT instance of java.lang.String. Pavel On Thu, 6 Jan 2005 18:56:23 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > Sorry Tommy, > The thing that u said simple

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
lto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 7:24 AM To: Struts Users Mailing List Subject: Re: formatting of strings Are you sure it's not formatKey="format1" instead of formatKey="###-##-"? For example: (assuming the bundle exists, has the key "fo

Re: formatting of strings

2005-01-06 Thread Erik Weber
Are you sure it's not formatKey="format1" instead of formatKey="###-##-"? For example: (assuming the bundle exists, has the key "format1" which has the value "###-##-") instead of: Makes more sense to me . . . Erik Krishna Mohan Radhakrishnan wrote: Sorry Tommy, The thing that u said s

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
Sorry Tommy, The thing that u said simple didn't not work out.. Do u have any other ideas. Are u sure that it is # only. Or is it any other character.. INFOSYS TECHNOLOGIES LIMITED 3rd Floor | "Bhavani" Technopark | Trivandrum 695 581 | India Phone +91 471 2700888 Extn 7365 | Mobile: +91

Re: formatting of strings

2005-01-06 Thread Pavel Kolesnikov
On Thu, 6 Jan 2005 13:37:47 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > The below mentioned is the code. But from the address class we will > retrieve it as 10 digit string. > > > > For example if 9845612345 is the number I want to display it as > follows. > 984-561-2345 W