• 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: d2w ordering an array for display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: d2w ordering an array for display


  • Subject: Re: d2w ordering an array for display
  • From: David LeBer <email@hidden>
  • Date: Sun, 22 Jan 2012 10:57:20 -0500

On 2012-01-22, at 12:20 AM, Theodore Petrosky wrote:

> I am creating a new AdRelease object and there is a popup with RowColor choices. It is this popup that I am trying to order.

Well that would be your problem.

Try setting sortKey in your rules.

From ERDEditToOneRelationship wod:

EditToOneRelationship: ERXToOneRelationship {
        destinationDisplayKey = keyWhenRelationship;
        possibleChoices = restrictedChoiceList;
        destinationSortKey = d2wContext.sortKey;
        isMandatory = d2wContext.isMandatory;
        maxColumns = d2wContext.numCols;
        relationshipKey = d2wContext.propertyKey;
        size = d2wContext.size;
        sourceEntityName = object.entityName;
        sourceObject = object;
        uiStyle = d2wContext.toOneUIStyle;
	noSelectionString = d2wContext.noSelectionString;
	popupName = d2wContext.popupName;
	localizeDisplayKeys = d2wContext.localizeDisplayKeys;
	uniqueID = d2wContext.propertyKey;
	destinationEntityName = d2wContext.destinationEntityName;
}

--
David LeBer
Codeferous Software





 _______________________________________________
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


  • Follow-Ups:
    • Re: d2w ordering an array for display
      • From: Theodore Petrosky <email@hidden>
References: 
 >Re: d2w ordering an array for display (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 9, Issue 52
  • Next by Date: Re: d2w ordering an array for display
  • Previous by thread: Re: d2w ordering an array for display
  • Next by thread: Re: d2w ordering an array for display
  • Index(es):
    • Date
    • Thread