Re: Newbie Sort Question...
Re: Newbie Sort Question...
- Subject: Re: Newbie Sort Question...
- From: Brent Shank <email@hidden>
- Date: Thu, 3 Apr 2003 10:22:54 -0800
Extend a controller class as described in:
http://developer.apple.com/techpubs/webobjects/DesktopApplications/
AdvancedTutorial/chapter_7_section_16.html . Make sure to subclass
EOListController.
Then override protected NSArray displayGroupSortOrderings()in the
extended class and return a sort ordering of
EOSortOrdering.CompareDescending.
You're getting into advanced D2JC territory that assumes you've read
Java Client Desktop Applications in its entirety.
Brent
On Thursday, April 3, 2003, at 06:14 AM, Christian Evans wrote:
> Hi,
>
> I developed a D2J app that was really simple and quick to get up and
> running for basic use.
>
> Now I'm trying to customize it a little.
>
> Here is the table layout I'm having problems with:
>
> There is a main users table with a one-to-many relationship to a
> serial number table which has a one-to-many relationship to a history
> table.
>
> Here is my problem.
>
> When I view the history from the client program the dates are in asc
> order, I want them desc so that the latest history record is first. I
> thought I could do this from within the oemodel with a fetch spec but
> no matter where I create the spec, it doesn't affect my listing.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Christian
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.