railo-context.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.SearchForm
This widget creates a simple ContentBox search form
Constructor Summary | |
---|---|
init([any controller])
|
Method Summary | |
---|---|
any
|
renderIt([string type='content'], [string label='Search for'], [string title=''], [string titleLevel='2'], [string placeholder=''], [string querycss=''], [string buttoncss=''], [string formcss=''])
This widget creates a simple ContentBox search form. |
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 |
---|
addAsset, announceInterception, getCache, getController, getDatasource, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
controller
Method Detail |
---|
This widget creates a simple ContentBox search form
renderIt
in class
BaseWidget
type
- The type of search form: content or blog, default is contentlabel
- The label to use, defaults to 'Search for:'title
- The title to show before the dropdown or list, defaults to H2titleLevel
- The H{level} to use, by default we use H2placeholder
- Add a placeholder to the query textfieldquerycss
- The css classes of the textfield querybuttoncss
- The search button css classesformcss
- The form css classes