Re: [SOLVED] Direct Action needs Application's EOSharedEditingContext
Re: [SOLVED] Direct Action needs Application's EOSharedEditingContext
- Subject: Re: [SOLVED] Direct Action needs Application's EOSharedEditingContext
- From: Baiss Eric Magnusson <email@hidden>
- Date: Mon, 14 May 2007 17:55:16 -0700
On May 14, 2007, at 2:13 PM, Chuck Hill wrote:
Do you have multiple EOF stacks? If not, just use
EOSharedEditingContext.defaultSharedEditingContext()
Chuck
Oh yes, that does it nicely.
Thanks,
Baiss
On May 14, 2007, at 2:10 PM, Baiss Eric Magnusson wrote:
In re-designing a WO app I have worked on for a year the customer
wants the "top level navigation" to go to about 60 different
WOComponents from Direct Action calls, which are invoked by
WOPopup's calling
<onChange "submit();">, with the additional binding <?menuID
menuEO.primaryKeyId>, thus passing a Primary Key ID to the DA.
In the Application class I have an <EOSharedEditingContext> with
all the different records (menuEO's) describing the nature of the
WOComponent pages.
But from the <WODirectAction> sub-class I don't see a way to get
to those EO's in the <EOSharedEditingContext>. BTW: there may or
may not be a <Session> present but I have taken care of that in
the DA methods.
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
--
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/products/practical_webobjects
_______________________________________________
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