Hi all,
I'm quite new to Grails and obviously new to the plugin, so excuse me if I'm asking for something really stupid here.
I tried installing and using the v1.4 of the plugin in my v2.1.0 Grails app (as described
here), but when I try to render the validation script tag, my app crashes with:
Error 500: Internal Server Error
- groovy.lang.MissingPropertyException
- No such property: request for class: org.grails.jquery.validation.ui.JqueryValidationService
I think that due:
Around line 348 of grails-app/services/org/grails/jquery/validation/ui/JqueryValidationService.groovy
345: break
346: case "unique":
347: case "validator":
348: javaScriptConstraintCode = createRemoteJavaScriptConstraints(request.contextPath, constraintName, constrainedProperty.owningClass.name, constrainedProperty.propertyName)
349: break
350: }
351:} else {
Is anybody else experiencing the same?
As I said, I'm new to Grails, so this error message makes quite sense to me because I don't see how you should be able to access the request from this JqueryValidationService class, but I guess that it should get injected somehow? Is it a configuration problem?
thanks,
Marc Baiges Camprubí