-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0.RC1 - f:table does not respect namespace controllers #303
Comments
I imagine it is a fairly simple fix as g:link tags support the namespace property and you simply need to change
to
If the controller has no namespace, the link tag will still work as normal. |
If there is no plan in place to fix g:sortableColumn, this plugin should be updated to not use g:sortableColumn in table generation. I would recommend just not allowing the user to sort the column as the current behavior is completely broken, |
if the template passes the namespace to the g:sortableColumn, everything works fine except non namespace resources (which do not work either way). Interestingly enough, adding namespace makes namespaced resources work great. Here is a fix, but might not be the most efficient way of accomplishing it: change g:sortableColumn from:
to
|
I made a pull request on gsp for 3.3.x which gets hopefully merged so we don't need a workaround. |
Links generated with f:table do not respect namespaces (All other generated tags work).
Replication Example (Grails 4.0.0.RC1):
https://github.com/codeconsole/formbinding
Go here:
http://localhost:8080/v3/person/index
Click on Name column in table and notice you will be sent here:
http://localhost:8080/person/index?sort=name&max=10&order=asc
Which is not in the v3 namepace and is an invalid url.
static namespace = 'v3'
The text was updated successfully, but these errors were encountered: