grails-bootstrap-file-upload
grails-bootstrap-file-upload copied to clipboard
No such property: r for class: org.grails.plugins.bootstrap.file.upload.BootstrapFileUploadTagLib
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({
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.