Open mapbpk opened 10 years ago
Not the original author, and I know it's a year late... but you'll need to provide your own Image class to work with this (or adapt the sample code to do what you want)
Thanks for your reply - have made progress via another route. On 23 Feb 2015 17:39, "Michael Kimsal" notifications@github.com wrote:
Not the original author, and I know it's a year late... but you'll need to provide your own Image class to work with this (or adapt the sample code to do what you want)
— Reply to this email directly or view it on GitHub https://github.com/sarbogast/grails-bootstrap-file-upload/issues/24#issuecomment-75591600 .
Hi,
I am running grails 2.3.3 & groovy 2.1 and have included these additional lines into the BuildConfig:
In dependencies:
And in plugins:
Using the integration part of the installation instructions I have managed to get the file upload interface controls working on a web page with the "bsfu:fileUpload" command.
Then using the 'File Handling' I have cut and pasted the upload and other action/controller code into my controller.
I now have a problem as the controller is failing to compile with an error "Groovy: unable to resolve class Image" - 'Image' being the domain object used in the upload action provided in the configuration documentation.
What step have I missed out - is there another dependency or plugin I should include?
-mike