New issue 20 by bksavi...@gmail.com: Add *Resource.groovy definitions to
use with the resources plugin
http://code.google.com/p/jquery-validation-ui-plugin/issues/detail?id=20
Right now the plugin does not integrate with the resources plugin very
easily - I ended up creating my own resources definition. Simply create a
JQueryValidationUIResources.groovy file in grails-app/conf, and add
something like this:
'jquery-validation-ui' {
resource id:"validate", url:[plugin:'jqueryValidationUi',
dir:'js/jquery-validation-ui', file:'jquery.validate.min.js']
resource id:"qtip", url:[plugin:'jqueryValidationUi',
dir:'js/jquery-validation-ui', file:'jquery.qtip.min.js']
resource id:"validation-methods", url:[plugin:'jqueryValidationUi',
dir:'js/jquery-validation-ui', file:'grails-validation-methods.js']
resource id:"qtip-css", url:[plugin:'jqueryValidationUi',
dir:'css/jquery-validation-ui', file:'jquery.qtip.min.css']
}
Then someone who is using the resources plugin can use it easily by
<r:module require="jquery-validation-ui" /> at the top of their page. Make
sure to remember to assign IDs so that we can override the css and js files
if we need to.
Thanks!
Sorry for late response and creating these issue reports. I am busy on
something else at the moment, would you be interested to join the project
to work on issues reported by you?
Typo. Thanks for creating these issue reports.
Absolutely, although I prefer using github so would want to transfer it to
there :) But that would be just fine if I could join the project. Do you
control that I'm guessing?
Great!
Yes, I am the project owner.
To ease your work, I moved the source repos of the project to github at
https://github.com/limcheekin/jquery-validation-ui
Wish to see you there!