railo-context.Component
coldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.plugins.BootstrapFileUpload
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
html
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init(any controller)
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 coldbox.system.Plugin |
|---|
| getpluginAuthor, getpluginAuthorURL, getPluginDescription, getPluginName, getpluginPath, getPluginVersion, getRequestCollection, getRequestContext, setpluginAuthor, setpluginAuthorURL, setPluginDescription, setPluginName, setPluginVersion |
| Methods inherited from class coldbox.system.FrameworkSupertype |
|---|
| $htmlhead, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getInstance, getInterceptor, getMemento, getModel, getModuleSettings, getMyPlugin, getPlugin, getSetting, getSettingStructure, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, renderExternalView, renderLayout, renderView, runEvent, setNextEvent, setSetting, settingExists |
| Methods inherited from class railo-context.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
controller| Property Detail |
|---|
required - falseinject - coldbox:plugin:HTMLHelperserializable - true| Method 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