Closed dilvan1 closed 8 years ago
In the examples, if you change the variable book to it the template stops working (using org.grails.plugins:grooscript:1.1.0):
book
it
org.grails.plugins:grooscript:1.1.0
<grooscript:template onLoad="false" functionName="refreshList" itemSelector="#list" > ul { data.each { li { p 'Id: ' + it.id + ' Name: ' + it.title } } } </grooscript:template>
OR
<grooscript:template onLoad="false" functionName="refreshList" itemSelector="#list" > ul { data.each { it -> li { p 'Id: ' + it.id + ' Name: ' + it.title } } } </grooscript:template>
Thank you very much :)
In the examples, if you change the variable
book
toit
the template stops working (usingorg.grails.plugins:grooscript:1.1.0
):OR