• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get the external width of an EO attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Get the external width of an EO attribute
      • From: Dov Rosenberg <email@hidden>
References: 
 >Get the external width of an EO attribute (From: Amiel Montecillo <email@hidden>)
 >Re: Get the external width of an EO attribute (From: Hugi Thordarson <email@hidden>)

  • Prev by Date: Re: Get the external width of an EO attribute
  • Next by Date: Pound Symbol
  • Previous by thread: Re: Get the external width of an EO attribute
  • Next by thread: Re: Get the external width of an EO attribute
  • Index(es):
    • Date
    • Thread