Re: Get the external width of an EO attribute
Re: Get the external width of an EO attribute
- Subject: Re: Get the external width of an EO attribute
- From: Dov Rosenberg <email@hidden>
- Date: Mon, 23 Mar 2009 09:20:50 -0400
- Thread-topic: Get the external width of an EO attribute
Title: Re: Get the external width of an EO attribute
We aware of double byte character strings. If you do HTML validation on the front end make sure to check the number of bytes in the string.
Dov
On 3/23/09 4:52 AM, "Amiel Montecillo" <email@hidden> wrote:
Thanks Hugi, this works too. :)
Cheers,
Amiel
On Mon, Mar 23, 2009 at 4:50 PM, Hugi Thordarson <email@hidden> wrote:
int width = EOUtilities.entityNamed( ec, "Person" ).attributeNamed( "name" ).width();
:)
- hugi
// Hugi Thordarson
// http://hugi.karlmenn.is/
On 23.3.2009, at 08:38, Amiel Montecillo wrote:
Hi List,
I have an EO called Person with an attribute name that has an external width of 64.
How do I get the external wdith (64) for this property in validateName(String name) method?
I noticed from the docs that EOAttribute has a width() method but I can't seem to connect the dots how I can acquire this.
Any help is grreatly appreciated.
Thanks,
Amiel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden