• 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: Hyperlinks and action methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hyperlinks and action methods


  • Subject: Re: Hyperlinks and action methods
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 1 Apr 2008 08:03:23 -0400

The ERD2WDirectAction does all of this, btw.

Cheers, Anjo

Am 01.04.2008 um 05:14 schrieb Mike Schrag:
and it will look for page components (named by convention, though they must implement a particular interface as a security measure). So for instance it will look for PersonListXmlPage, or PersonListPage (for standard HTML) and generate URLs like /entity/ Person/5 or /entity/Person/list or /entity/Person/create. You can also map query string parameters to component methods by annotating certain methods of your component with an @EntityParameter annotation. In code, you can have your action methods return things like:
Except it only operates on EO's, requires that you're using D2W (I believe?), and generates ugly URLs (/InspectArticle?__key=5 ... yuck) :)

ms

_______________________________________________
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: 
 >Re: Hyperlinks and action methods (From: Anjo Krank <email@hidden>)

  • Prev by Date: EOGenerator code won't compile
  • Next by Date: Re: binding validation problem
  • Previous by thread: Re: Hyperlinks and action methods
  • Next by thread: Re: binding validation problem
  • Index(es):
    • Date
    • Thread