Grails

Incorrect syntax in examples on documentation for eachError tag

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.2
  • Component/s: Documentation
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

Docs show:
<g:eachError bean="[book1:book1,book2:book2]" field="title">
<li>${it}</li>
</g:eachError>

But it should be:
<g:eachError model="${[book1:book1,book2:book2]}" field="title">
<li>${it}</li>
</g:eachError>

Patch attached.

Activity

Hide
Graeme Rocher added a comment -

thanks again!

Show
Graeme Rocher added a comment - thanks again!
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: