Hi everyone.
I have a problem:
in NavPanel:
<wo:ERXRouteLink entityName = "Email" id = "1" action = "show" 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]