Re: Passing and Object via DirectAction
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