• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Passing variable from DirectAction to Session constructor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing variable from DirectAction to Session constructor


  • Subject: Passing variable from DirectAction to Session constructor
  • From: "Cheong Hee (Gmail-P)" <email@hidden>
  • Date: Tue, 7 Apr 2009 12:18:42 +0800

Dear all

I would like to pass in a value e.g. organization name from DirectAction to Session constructor. It allows me to look at the organization name and decide if a new ObjectStoreCoordinator to be created and setDefaultEditingContext accordingly during session construction stage. This is taking Chuck's suggestion to create one OSC per organization name, rather than create new OSC per session. How is the value be passed into Session constructor from DirectAction? I have figured hard and must have overlooked something. Appreciate any pointers.

Also, since session().setDefaultEditingContext is not allowed to set to another EC after it is being called, is there any way to force it through if so required.

Cheers

Cheong Hee

_______________________________________________
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


  • Follow-Ups:
    • Re: Passing variable from DirectAction to Session constructor
      • From: Chuck Hill <email@hidden>
  • Prev by Date: git info [was: Re: maven.]
  • Next by Date: Re: git info [was: Re: maven.]
  • Previous by thread: Re: Hudson and dependencies
  • Next by thread: Re: Passing variable from DirectAction to Session constructor
  • Index(es):
    • Date
    • Thread