multiUpload

This tag generates multiple input file components in the browser.

If javascript is enabled the user may generate file fields by hand, but with javascript switched off it will render several file fields from the server.

Tag Information
Tag Class org.loom.addons.multiupload.MultiUploadTag
Body Content empty
Dynamic Attributes true
Example
<l:form>
  <a:multiUpload name="attachments"/>
</l:form>
<script>
  new loom.ui.MultiUpload($('multiupload'));
</script>

Attributes

Name Description Flags
name the POST parameter name
requiredrtexprvalue
accessible true to add static HTML fields (consumes more bandwidth), defaults true
rtexprvalue
decorator The name of the decorator to use. The default decorators for any form field will display the surrounding label.
rtexprvalue
maxRows maximum number of rows to display if accessible is true, default to 10
rtexprvalue