ERRest
ERRest
- Subject: ERRest
- From: Ron X <email@hidden>
- Date: Thu, 16 Feb 2012 15:29:57 +0300
Hi everyone.
I have a problem:
in NavPanel:
<wo:ERXRouteLink entityName = "Email" id = "1" action = "" format = "html">
in EmailController extends ERXDefaultRouteController:
@Override
protected boolean isAutomaticHtmlRoutingEnabled() {
return true;
}
but this comment:
/**
* Automatic HTML routing means that if someone requests Entity/X/action.html, the
* router controller will automatically look for an EntityActionPage component. For
* example, if you go to /Person/1.html, it will look for PersonShowPage. You can
* manually handle these as well but checking the current request format and
* choosing the appropriate component to return.
*/
doesn't work:
Feb 16 07:54:35 RonRest[80] ERROR er.rest.routes.ERXRouteController - Request failed: /cgi-bin/WebObjects/RonRest.woa/ra/Email/1.html, 405
EmailShowPage extends ERDCustomComponent implements IERXRouteComponent - stateless and non synchronized.
any ideas?
Thank you.
_______________________________________________
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