lucee.Componentcontentbox.modules.contentbox-admin.models.ui.BootstrapFileUpload
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A convenient way to create a Bootstrap-themed file upload field
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
html
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
renderIt(string name, [boolean required='true'], [string id=''], [string label], [numeric columnWidth='3'], [any useRemoveButton='true'], [any selectButtonText='Select file'], [any changeButtonText='Change'], [any removeButtonText='Remove'])
Main method for rendering bootstrap-themed file upload field. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- HTMLHelper@coldboxserializable
- trueMethod Detail |
---|
Main method for rendering bootstrap-themed file upload field
name
- The name of the file field to createrequired
- Whether or not the field is required (validation)id
- The id to apply to the file fieldlabel
- If specified, will create a label element with the specified text for the file fieldcolumnWidth
- The number of columns that the field should occupy (bootstrap grid system)useRemoveButton
- Whether a "remove" button should be createdselectButtonText
- The text to use for the "select" buttonchangeButtonText
- The text to use for the "change" buttonremoveButtonText
- The text to use for the "remove" button