Hi,
I’m having some trouble implementing a simple function with ERRest. I have a
method I wish to return a serialized NSDictionary from, not a serialized
EOObject. Is that possible? The method could look something like this:
@GET
@Path(“/somepath/{id:Integer}/dailyReport")
public WOActionResults dailyReport(@PathParam(“id") Integer id)
{
NSDictionary<String,Object> report = getDailyReport();
???
}
How would I go about building a response for this? Or do I need to implement
another controller not inheriting from ERXRouteController for this?
Kind Regards,
Jürgen _______________________________________________
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]