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

Re: ERXSortOrderings ?


  • Subject: Re: ERXSortOrderings ?
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Tue, 14 Dec 2010 12:42:39 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: ERXSortOrderings ? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: ERXSortOrderings ?
  • Next by Date: Re: ERXSortOrderings ?
  • Previous by thread: Re: ERXSortOrderings ?
  • Next by thread: Re: ERXSortOrderings ?
  • Index(es):
    • Date
    • Thread