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 [EMAIL PROTECTED] 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 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