>> I never used the annotations. The only time I would use them is if I have to >> register like 100 controllers, just to not have to do it in Application. > > If you are not using the @PathParam annotation, then how do you specify the > parameters for the method? I assume you would use routeObjectForKey to access > them. Does this mean there is no formal method signature? This would be > similar to accessing parameters from a DirectAction call. yes … route controller methods ARE direct actions (if you look at the inheritance hierarchy, you'll see that your controller is a DirectAction). so without the trickery of the annotations, you would lookup the parameters using the routeObjectForKey methods, or you can just fall back to standard DA tools and call request().stringFormValueForKey(..) etc.
ms _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
