| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 29/10/2007, at 9:30 PM, Paul Lynch wrote:
I am very much a WO novice, just working my way through Ruzek's "WO web application construction kit".
WOWACK is a little old now, being WO 4.5; but I still like it the best of the entry level books.
What I _thought_ I could do was replace the literal declaration of fetchSpecification for the WODisplayGroup (which I just copied over from something auto-generated from WO Builder) with a reference to a method in the component's Java class that returned an EOFetchSpecification. That is, instead of this:
dataSource = { class = EODatabaseDataSource; editingContext = "session.defaultEditingContext"; fetchSpecification = { class = EOFetchSpecification; entityName = Task; fetchLimit = 0; isDeep = YES; }; };
I tried this:
dataSource = { class = EODatabaseDataSource; editingContext = "session.defaultEditingContext"; fetchSpecification = activeFetchSpec; };
Try:
fetchSpecification = "activeFetchSpec";
for your binding, assuming that this is a method in the component that returns a fetch spec.
-- Paul.
w http://logicsquad.net/ h http://paul.hoadley.name/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden
| References: | |
| >Re: Setting a custom EOFetchSpecification for a WODisplayGroup (From: Jean Pierre Malrieu <email@hidden>) | |
| >Re: Setting a custom EOFetchSpecification for a WODisplayGroup (From: Paul Lynch <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.