|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.plugins.BootstrapFileUpload
public class BootstrapFileUpload
Property Summary | ||||
---|---|---|---|---|
Type | Property & Description | Default | Serializable | Required |
any
|
html
Attributes:
|
|
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 |
---|
getPluginDescription, getPluginName, getPluginVersion, getRequestCollection, getRequestContext, getpluginAuthor, getpluginAuthorURL, getpluginPath, setPluginDescription, setPluginName, setPluginVersion, setpluginAuthor, setpluginAuthorURL
|
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
$abort, $dump, $htmlhead, $include, $rethrow, $throw, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getDebugMode, getInterceptor, getMailService, getMailSettings, getMemento, getModel, getModuleSettings, getMyPlugin, getNewMail, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getValidationManager, getfwLocale, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setfwLocale, settingExists, validateModel
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any controller)
controller
Property Detail |
---|
any html
inject
- coldbox:plugin:HTMLHelperrequired
- falseserializable
- truedefault
- Method Detail |
---|
public 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'])
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
|
ContentBox Core API 1.6.0 | ||||
FRAMES |