• 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
Primary keys, direct actions, and the WO "way"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Primary keys, direct actions, and the WO "way"


  • Subject: Primary keys, direct actions, and the WO "way"
  • From: Amorya North <email@hidden>
  • Date: Tue, 13 Jul 2004 15:29:27 +0100

[Newbie alert!]

OK, I'm designing a site that'll have people's short stories on. The stories are sorted into genres, so you'll be able to get a listing of all the scifi stories, or all the fantasy stories, etc.

I'd like the lists of stories to be bookmarkable, so I understand you need a direct action for that. As I understand direct actions, it means you can't use the usual helpful WO stuff like passing objects between pages. Everything has to go through the URL. Right?

Now, when developing in PHP, I would have just shoved the primary key to the genre in question in the URL. Like mypage.com/viewstories.php?genre=7.

But in everything I've read about WO, it says "don't touch the primary key"!

So how would I identify the genre in question in a direct action?

(Forgive me for not being entirely sure how direct actions work. If It's entirely possible I've missed something major.)


Amorya _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: WOString Formatting at runtime
  • Next by Date: Like operator and ? character
  • Previous by thread: Re: (newbie) WO development sans WOBuilder
  • Next by thread: Re: Primary keys, direct actions, and the WO "way"
  • Index(es):
    • Date
    • Thread