History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-3057
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Graeme Rocher
Reporter: David Calavera
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

createLink and UrlMappings quotes issues

Created: 04/Jun/08 11:26 AM   Updated: 04/Jun/08 11:26 AM
Component/s: TagLib
Affects Version/s: 1.0.2
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
I've seen that if the routes into UrlMappings are writen with single quote the method createLink doesn't work correctly. I endose an example:

//UrlMappings

"/service" { controller = 'serviceController' action = 'show' }

//gsp

<a href="{createLink(controller: 'serviceController', action: 'show')}">...</a>

this gsp code generates:

<a href="/serviceController/show">...</a>

but it should generates:

<a href="/service">...</a>

If I change the single quotes into the UrlMappings file it works fine.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.