Re: Hyperlinks and action methods
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