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: Amiel Montecillo <email@hidden>
- Date: Mon, 23 Mar 2009 16:52:27 +0800
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
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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