grails-bootstrap-file-upload icon indicating copy to clipboard operation
grails-bootstrap-file-upload copied to clipboard

No such property: r for class: org.grails.plugins.bootstrap.file.upload.BootstrapFileUploadTagLib

Open JungleCatSW opened this issue 9 years ago • 1 comments

I'm getting a no such property error for 'r.script(null)' located in BootstrapFileUploadTagLib.groovy I can't find any reference to what r.script is for , do you have any idea what the error might be ? am I missing a plugin or running the wrong version of something ?

No such property: r for class: org.grails.plugins.bootstrap.file.upload.BootstrapFileUploadTagLib

Around line 167 of grails-app/taglib/org/grails/plugins/bootstrap/file/upload/BootstrapFileUploadTagLib.groovy

164: out << render(template: "/bootstrapFileUpload/form", plugin: "bootstrap-file-upload", model: model) 165: } 166: 167: out << r.script(null) { 168: out << """ 169: $(function(){ 170: $('#${id}').fileupload({

JungleCatSW avatar Sep 22 '15 19:09 JungleCatSW

Seems that you are not using the resources-plugin anymore that contains the r:script tag which is called in line 167. Either you include the resources plugin or you fix the line with the appropriate tag from the asset-pipeline-plugin asset:script.

lukasjelonek avatar Oct 15 '15 11:10 lukasjelonek