Re: Is it safe to use NSDictionary as the objects in a (WO/ERX)DisplayGroup?
Re: Is it safe to use NSDictionary as the objects in a (WO/ERX)DisplayGroup?
- Subject: Re: Is it safe to use NSDictionary as the objects in a (WO/ERX)DisplayGroup?
- From: Pascal Robert <email@hidden>
- Date: Tue, 09 Apr 2013 21:11:44 -0400
Le 2013-04-09 à 21:06, Paul Hoadley <email@hidden> a écrit :
> On 10/04/2013, at 10:27 AM, Chuck Hill <email@hidden> wrote:
>
>>> In short, I'd like to use all the nice ERXDisplayGroup machinery, but the objects are NSDictionaries. Am I likely to regret this in the future?
>>
>> Maybe even today.
>
> My fumbling franken-solution aside, are there any issues likely to arise from ignoring the EODataSource altogether (i.e., not even setting one), and calling setObjectArray() directly, as suggested in this thread? (Again, it certainly appears to work.)
>
> In short, I just want the view layer machinery from WODisplayGroup. I seem to be fooling it into giving me that. As far as I can see, I'm not even touching EOF now.
I did use setObjectArray for arrays that was holding POJOs objects and it worked fine, so yes as long as you don't use a EODataSource, should be fine.
_______________________________________________
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