Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.3
-
Fix Version/s: 1.0-RC2
-
Component/s: Controllers, TagLib, View technologies
-
Labels:None
Description
Add support for "fragments" in dynamically rendered URIs, eg, "http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html#getFragment()"
At the moment in order to link to a fragment (ie, a named anchor on a page) one must build the URI manually. It would be nicer to have the various tags and controller methods support a new named parameter, eg:
redirect(controller: "location", action: "show", id: location.id, params [view: "notes], fragment: "note_${note.id}")
Which would create the following URI:
/app/location/show/19?view=notes#note_33
We would need it for anything that renders a URI, eg:
redirect()
chain()
<g:link />
Issue Links
| This issue is duplicated by: | ||||
| GRAILS-3058 | Update link tag to include fragment identifiers |
|
|
|
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits