Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Labels:None
-
Environment:grails 1.3.6, directext 0.1
-
Patch Submitted:Yes
Description
The url for ext-direct router is generated wrongly, if you try to access it from a page with a composite url like "example.com/y/x" then the router's url would look like "example.com/y/x/router", which is obviously incorrect.
To fix this issue, simply replace
directext-0.1/grails-app/views/api/index.gsp
"url":"router",
With this one:
directext-0.1/grails-app/views/api/index.gsp
"url":"${request.contextPath}/router",
This should do the trick.