DirectAction to a Primary Key
DirectAction to a Primary Key
- Subject: DirectAction to a Primary Key
- From: Dev WO <email@hidden>
- Date: Tue, 11 Oct 2005 15:59:53 +0200
Hi list,
I'm actually working on a small "news headline" application.
I have a component with the last x items displayed in list view, then
clicking on one displays this one with all its details.
I need some external pages to be able to provide a link to a specific
item and provide my component with the detailed view directly.
I think I'll be able to change the conditional value in the direct
action using
nextpage.setConditionnal(new Boolean(true))
but I don't know how to get the correct item using it's primary key...
After some searching, I have found the following method
EOUtilities.primaryKeyForObject
but I couldn't make this DA works:(
I know it is something trivial I should know about, but I don't;)
So if anyone has a pointer or even better a short sample, It would
help me a lot:)
Thanks
Xavier
_______________________________________________
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