Grails

Include params object in createLink documentation

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.2 final
  • Component/s: Documentation
  • Labels:
    None
  • Environment:
    Windows XP
  • Patch Submitted:
    Yes

Description

The following recommendations are for the http://grails.org/doc/1.0.x/ref/Tags/createLink.html page in the Grails Framework Documentation http://grails.org/doc/1.0.x/

Include the following under the "example usages for above controller":
<g:createLink controller = "book" action="list" params="[title:'The Shining', author:'Stephen King', id:'1']"/> == /shop/book/list/1?title=The+Shining&author=Stephen+King

Under "Attributes" add:
params(optional) - A map containing query string parameters.

Activity

Hide
Graeme Rocher added a comment -

Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase

Show
Graeme Rocher added a comment - Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: