Here is the documentation:
ERXRoute encapsulates a URL path with matching values inside of it. For
instance, the route
"/company/{company:Company}/employees/{Person}/name/{name:String}" would yield
an objects(..) dictionary with a Company EO mapped to the key "company," a
Person EO mapped to the key "Person" and a String mapped to the key "name".
ERXRoutes do not enforce any security -- they simply represent a way to map URL
patterns onto objects.
What is this doing? Why is it {Person} and not {person:Person}?
What would be an example of usage for the above? And it says "yield an objects
dictionary", where is that dictionary coming from?
Thanks
James
_______________________________________________
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]