uploadForm

Purpose

Creates a form that can submit multi-part data used in file uploads.

Examples

<g:uploadForm name="myUpload">
    <input type="file" name="myFile" />
</g:uploadForm>

Description

Identical to regular form except sets enctype attribute to "multipart/form-data" automatically.

Attributes

Source

Show Source