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: Chuck Hill <email@hidden>
- Date: Tue, 09 Apr 2013 18:18:47 -0700
On 2013-04-09, at 6:06 PM, Paul Hoadley wrote:
> 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.)
Yes, that is fine. I do that.
> 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.
You are not, which in this case is a good thing. :-)
Chuck
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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