Tag input

Creates a configurable input component.

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

autoFocusfalsetruebooleanSets whether the input component gets focus by default.
autoSizefalsetruebooleanSets whether the input component autosizes.
beanfalsetruejava.lang.ObjectSets a bean to associate with the input component.
changesContextfalsetruebooleanSets whether to reload the page when the value of the input changes. The default value is false.
checkedfalsetruebooleanSets whether the input is selected. Note that this attribute is only enabled when type is radio or checkbox.
classPKfalsetruelongSets the primary key for the instance of the class. The default value is 0.
cssClassfalsetruejava.lang.StringSets a CSS class for styling this component.
datafalsetruejava.lang.ObjectTakes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
dateTogglerCheckboxLabelfalsetruejava.lang.StringNo Description
defaultLanguageIdfalsetruejava.lang.StringSets the default language ID for the component.
disabledfalsetruebooleanSets whether the component is disabled. The default value is false.
fieldfalsetruejava.lang.StringNo Description
fieldParamfalsetruejava.lang.StringSets a variable name to refer to the field of the component.
firstfalsetruebooleanSets whether the input component should be the first element of the form.
formNamefalsetruejava.lang.StringSets the name of the component's form.
helpMessagefalsetruejava.lang.StringSets text to display as a help tooltip on mouse over of the component's help icon.
helpTextCssClassfalsetruejava.lang.StringSets a CSS class for styling the help message text. The default value is input-group-addon.
idfalsetruejava.lang.StringIdentifies the component instance.
ignoreRequestValuefalsetruebooleanSets whether to ignore the value saved from the request object. The default value is false.
inlineFieldfalsetruebooleanSets whether to align the input's field with the next element in the form. The default value is false.
inlineLabelfalsetruejava.lang.StringAligns the input label's text. Possible values are right and left.
labelfalsetruejava.lang.StringSets the 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
lastfalsetruebooleanSets whether the component should be the last element of the form.
localizedfalsetruebooleanSets whether to translate the component's text features into the user's language. The default value is false.
maxfalsetruejava.lang.ObjectSets the 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.
modelfalsetruejava.lang.ClassSets the class for the bean object.
minfalsetruejava.lang.ObjectSets the 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.
multiplefalsetruebooleanNo Description
nametruetruejava.lang.StringSets the component's name.
onChangefalsetruejava.lang.StringSets a function to be called when the input's value changes.
onClickfalsetruejava.lang.StringSets a function to be called on a user clicking the input.
placeholderfalsetruejava.lang.StringSets placeholder text for the input's field.
prefixfalsetruejava.lang.StringSets text to display before the input.
requiredfalsetruebooleanSets whether to mark the input as required.
resizablefalsetruebooleanSets whether the input's field is resizeable, if the input is of type textarea.
showRequiredLabelfalsetruebooleanSets whether to show the input's required label, if an input value is required.
suffixfalsetruejava.lang.StringSets text to display after the input.
titlefalsetruejava.lang.StringSets the input's title.
typefalsetruejava.lang.StringSets the 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.
useNamespacefalsetruebooleanSets whether to use the default portlet namespace, to avoid name conflicts. The default value is true.
valuefalsetruejava.lang.ObjectSets the input's value.
wrapperCssClassfalsetruejava.lang.StringSets a 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.