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 protected]> wrote:

> Thanks Hugi, this works too. :)
> 
> Cheers,
> Amiel
> 
> On Mon, Mar 23, 2009 at 4:50 PM, Hugi Thordarson <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to