Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JungleCatSW opened this issue Sep 22, 2015 · 1 comment

Comments

@JungleCatSW
Copy link

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({

@lukasjelonek
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants