Tag input

Creates a configurable input component.

Tag Information
Tag Classcom.liferay.taglib.aui.InputTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

autoFocusfalsetruebooleanWhether to focus on the input component by default.
autoSizefalsetruebooleanWhether to autosize the input component.
beanfalsetruejava.lang.ObjectA bean to associate with the input component.
changesContextfalsetruebooleanWhether to reload the page when the value of the input changes. The default value is false.
checkedfalsetruebooleanWhether to select the input. Note that this attribute is only enabled when type is radio or checkbox.
classPKfalsetruelongThe primary key for the instance of the class. The default value is 0.
classTypePKfalsetruelongThe primary key for the class type. The default value is -1.
cssClassfalsetruejava.lang.StringA CSS class for styling the component.
datafalsetruejava.lang.ObjectMiscellaneous data to be stored via a map. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
dateTogglerCheckboxLabelfalsetruejava.lang.StringNo Description
defaultLanguageIdfalsetruejava.lang.StringThe default language ID for the component.
disabledfalsetruebooleanWhether the component is disabled. The default value is false.
fieldfalsetruejava.lang.StringNo Description
fieldParamfalsetruejava.lang.StringA variable name to refer to the field of the component.
firstfalsetruebooleanWhether the input component should be the first element of the form.
formNamefalsetruejava.lang.StringA name for the form.
helpMessagefalsetruejava.lang.StringText to display as a help tooltip on mouse over of the component's help icon.
helpTextCssClassfalsetruejava.lang.StringA CSS class for styling the help message text. The default value is input-group-addon.
idfalsetruejava.lang.StringAn ID for the component instance.
ignoreRequestValuefalsetruebooleanWhether to ignore the value saved from the request object. The default value is false.
inlineFieldfalsetruebooleanWhether to align the input's field with the next element in the form. The default value is false.
inlineLabelfalsetruejava.lang.StringThe input label's text alignment. Possible values are right and left.
labelfalsetruejava.lang.StringA label for the input component. If not assigned a value, the label is automatically taken from the name attribute's value.
languageIdfalsetruejava.lang.StringNo Description
lastfalsetruebooleanWhether the component should be the last element of the form.
localizedfalsetruebooleanWhether to translate the component's text features into the user's language. The default value is false.
localizeLabelfalsetruebooleanWhether to translate the label's text into the user's language. The default value is true.
maxfalsetruejava.lang.ObjectThe maximum value for the input if its type is number or range. Note that the max value is inclusive if the input's type is range.
minfalsetruejava.lang.ObjectThe minimum value for the input if its type is number or range. Note that the min value is inclusive if the input's type is range.
modelfalsetruejava.lang.ClassA class for the bean object.
multiplefalsetruebooleanNo Description
nametruetruejava.lang.StringA name for the component. If the name contains --, the generated name will be the substring following the --, excluding the last two characters and any prefixes. For example, the pattern prefix--customName-- would result in the name customName. If the id is not provided and the type is given, the name is used as the id.
onChangefalsetruejava.lang.StringA function to be called when the input's value changes.
onClickfalsetruejava.lang.StringA function to be called on a user clicking the input.
placeholderfalsetruejava.lang.StringPlaceholder text for the input's field.
prefixfalsetruejava.lang.StringText to display before the input.
requiredfalsetruebooleanWhether to mark the input as required.
resizablefalsetruebooleanWhether to make the input's field resizeable, if the input is of type textarea.
showRequiredLabelfalsetruebooleanWhether to show the input's required label, if an input value is required.
suffixfalsetruejava.lang.StringText to display after the input.
titlefalsetruejava.lang.StringA title for the input.
typefalsetruejava.lang.StringThe input's type. Possible values are text, hidden, assetCategories, assetTags, textarea, timeZone, password, checkbox, radio, submit, button, color, email, number, range, resource, url, and an empty value. If an empty value or no value is set, the input's type is obtained automatically from the input component's bean.
useNamespacefalsetruebooleanWhether to use the default portlet namespace, to avoid name conflicts. The default value is true.
valuefalsetruejava.lang.ObjectA value for the input.
wrappedFieldfalsetruebooleanWhether to wrap the input component in a div, that can be styled. The default value is false. If the wrapperCssClass attribute is configured, the value is set automatically to true.
wrapperCssClassfalsetruejava.lang.StringA CSS class for styling the div that wraps the input component.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.