• 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: Selectors for enum types?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W: Selectors for enum types?


  • Subject: Re: D2W: Selectors for enum types?
  • From: Ramsey Gurley <email@hidden>
  • Date: Thu, 24 May 2012 08:44:36 -0700


On May 24, 2012, at 3:03 AM, Paul Hoadley wrote:

=> restrictedChoiceKey = "object.availableStatuses"

where availableStatuses() is a method on Provision that returns 'new NSArray<Status>(Status.values());'.

I'm getting an IllegalStatusException when I try and load that (ERMODQueryPage) page:

java.lang.IllegalStateException: Destination entity could not be retrieved from EO of bindings.

There is no "object" on a query page.  You'll probably need to make a query enum component. I've not done one of those yet, but I'm adding it to my todo list :-)

Ramsey
 _______________________________________________
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: Selectors for enum types?
      • From: Paul Hoadley <email@hidden>
    • Re: D2W: Selectors for enum types?
      • From: Paul Hoadley <email@hidden>
References: 
 >D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Session awake after shell-script run
  • Next by Date: Re: Backtrack Too Far Error only with Windows browsers
  • Previous by thread: Re: D2W: Selectors for enum types?
  • Next by thread: Re: D2W: Selectors for enum types?
  • Index(es):
    • Date
    • Thread