Hi I am developing an application -called smtool- using Groovy and Grails. This application must be integrated to a portal. The portal have the restriction that every link must be relative. No absolute paths are allowed neither for links nor for images, js files, css files, etc.
My application has a menu with many links pointing to different controllers.
For example:
<g:link class="menulink" controller="continuity">Continuity Management</g:link>
this will be compiled to:
<a href="/smtool/continuity/index" class="menulink">Continuity Management</a>
Unfortunately this is not correct and it must be compiled to:
<a href="continuity/index" class="menulink">Continuity Management</a>
Is there any way to get this?
I've tried to change the application name to the empty string in the application.properties file but it didn't help.
Any Idea?
Thanks in advance.
Luis