On Wed, Dec 10, 2014, at 03:22 AM, James Cicenia wrote:
> I want to run a method called availableKeys which just returns an
> NSArray of keypaths for that Entity.
>
> I will be creating a picker of keys that are pre determined. I was
> going to use the UserInfo but it made EOModeler act a bit funny. So I
> am doing something like:
>
> public NSMutableDictionary availableKeys(){ if(availableKeys == null){
> availableKeys.takeValueForKeyPath("Name", "name”);
> availableKeys.takeValueForKeyPath("--- Dates ---", "-DATES-");
> availableKeys.takeValueForKeyPath("Active Date", "activeDt"); } return
> availableKeys; }
>
> So in my “Generic” pick list component I want to pass in the
> displayGroup, let them pick the columns of the report, and then
> process.

Hi James,

Can you go into EOModeler acting a bit funny in more detail? I use
userInfo in models all the time for programmatic reasons/logic and
haven't ever had a problem. I'd be interested in what makes it
break for you.

regards,

--
Matt http://logicsquad.net

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to