On Dec 14, 2010, at 12:33 PM, Theodore Petrosky wrote: > ERXSortOrderings theCompanyOrder = ParentCompany.PARENT_COMPANY_NAME.asc(); > is not good. however, > > ERXSortOrdering theCompanyOrder = ParentCompany.PARENT_COMPANY_NAME.asc(); > NSArray<EOSortOrdering> companySort = new > NSArray<EOSortOrdering>(theCompanyOrder); > parentCompanyDG.setSortOrderings(companySort); > is good. > > obviously parentCompanyDG is an ERXDisplayGroup. >
Try this: parentCompanyDG.setSortOrderings(ParentCompany.PARENT_COMPANY_NAME.ascs()); > Is there a reason that I can not create an ERXSortOrderings with only one > item? I believe the ascs() method in ERXKey returns an ERXSortOrderings object which is basically a subclass of NSMutableArray<EOSortOrdering>. _______________________________________________ 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]
