• 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: JavaEOGenerator: alphabetical sorting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaEOGenerator: alphabetical sorting?


  • Subject: Re: JavaEOGenerator: alphabetical sorting?
  • From: David LeBer <email@hidden>
  • Date: Wed, 2 Jan 2008 17:32:53 -0500


On 2-Jan-08, at 5:20 PM, Art Isbell wrote:

On Jan 2, 2008, at 5:46 AM, Alexander Spohr wrote:

is JavaEOGenerator capable of sorting arrays alphabetical?

Not without JavaEOGenerator source modification.

I (used to) generate methods with attribute-names as args.
EOGenerator knew about <$foreach Attribute classAttributes.@sortedNameArray do$>
How can I do this with JavaEOGenerator?

I modified all EOEntityProxy methods that return arrays of properties to return arrays of properties sorted descending by property name. An alternative would have been to create new methods that return sorted arrays (e.g., sortedClassAttributes()).

I'm not using JavaEOGenerator, so keep that in mind...

But it is a WO application right? Could you build it against Wonder (or add ERXArrayUtilties) to get the @sort array operators?

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org


_______________________________________________ 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
References: 
 >JavaEOGenerator: alphabetical sorting? (From: Alexander Spohr <email@hidden>)
 >Re: JavaEOGenerator: alphabetical sorting? (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: JavaEOGenerator: alphabetical sorting?
  • Next by Date: RE: Progress bars and HTML generation
  • Previous by thread: Re: JavaEOGenerator: alphabetical sorting?
  • Next by thread: SharedEditingContext error in WO 5.4
  • Index(es):
    • Date
    • Thread