• 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
Re: Passing and Object via DirectAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing and Object via DirectAction


  • Subject: Re: Passing and Object via DirectAction
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 30 Mar 2005 11:27:20 -0800

That will work, but it is still the PK.  :-)

On Mar 30, 2005, at 11:23 AM, James Cicenia wrote:

So I would have to make the PK visible then. I thought I could just get it like this:

EOGlobalID myGlobalID = ec.globalIDForObject(myObject());
EOKeyGlobalID myKeyGlobalID = (EOKeyGlobalID) myGlobalID;
String stringID = ((Integer)myKeyGlobalID.keyValuesArray().objectAtIndex(0)).toString();


-James

On Mar 30, 2005, at 12:21 PM, Chuck Hill wrote:

It will be easiest to pass the PK or something else unique that can be used to fetch the object.

Chuck


On Mar 30, 2005, at 9:51 AM, James Cicenia wrote:

Can one pass an object through a direct action? Or do I need to
send the EOGlobalId across and then retrieve the object in question
that way?

Or is there something missing.. My brain is a bit tired today.

Thanks
James Cicenia

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects






--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development 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


References: 
 >Passing and Object via DirectAction (From: James Cicenia <email@hidden>)
 >Re: Passing and Object via DirectAction (From: Chuck Hill <email@hidden>)
 >Re: Passing and Object via DirectAction (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Passing and Object via DirectAction
  • Next by Date: Re: Passing and Object via DirectAction
  • Previous by thread: Re: Passing and Object via DirectAction
  • Next by thread: Re: Passing and Object via DirectAction
  • Index(es):
    • Date
    • Thread