Re: D2W: Selectors for enum types?
Re: D2W: Selectors for enum types?
- Subject: Re: D2W: Selectors for enum types?
- From: Paul Hoadley <email@hidden>
- Date: Fri, 25 May 2012 07:29:11 +0930
On 25/05/2012, at 1:14 AM, Ramsey Gurley wrote: 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 :-)
Ah, thanks Ramsey. That explains it.
|
_______________________________________________
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