attaching multiple files to a domain class

Posted by Emyr on Stack Overflow See other posts from Stack Overflow or by Emyr
Published on 2010-03-15T12:53:19Z Indexed on 2010/03/21 9:31 UTC
Read the original article Hit count: 152

Filed under:
|
|
|

I've seen various Grails plugins which allow easier handling of file uploads, however these tend only to support a single file per form-submit.

I'd like a multi-attach form where as soon as you pick one file, an extra field and button is added using JS (various sites do it like this).

Do you know of any good plugins which provide elegant uploading of multiple files without excessive coding? A progress bar either per-file of for the whole process would also be very nice.

I don't know to what extent I can allow GORM to handle a java.io.File field (or in this case a Collection<File>).

© Stack Overflow or respective owner

Related posts about grails

Related posts about groovy