Is it possible to specify the root controller when using the built in grails taglibs?
For example, is there some way of doing something similar to:
<g:submitToRemote controller="/" action="someAction" />
which results in call to /someAction?
controller=”/”, “null” and “” are all invalid. Not specifying the controller parameter means that the current controller is used.
It maps to controller + action, not to urls. Urls are configured at
conf/UrlMapping.groovy.And if your controller
RootControllerwith actionsomeActionis mapped there to url/someActionthen<g:submitToRemote controller="root" action="someAction"/>will use url/someActionas target.