Tag - inputText

Tag Information
component-typebe.novelfaces.component.InputText
renderer-typebe.novelfaces.component.InputTextRenderer
Attributes
NameTypeDescription
accesskeyjava.lang.StringSpecifies a keyboard shortcut to access an element
autocompletejava.lang.String

The autocomplete attribute specifies whether or not the the input field should have autocomplete enabled.

Autocomplete allows the browser to predict the input for a field. When the user starts to type in a field, the browser should display options to fill in the field, based on earlier typed values.

Possible values are:

  • on - Default. Specifies that autocomplete is enabled
  • off - Specifies that autocomplete is disabled
autofocusbooleanThe autofocus attribute specifies that the input element should automatically get focus when a page is loaded. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as autofocus="autofocus".
bindingjavax.faces.component.UIComponentThe value binding expression used to wire up this component to a component property of a JavaBean class
contenteditablejava.lang.StringSpecifies if the user is allowed to edit the content or not.

Possible values are:

  • true - Specifies that the content of the element should be editable
  • false - Specifies that the content of the element should not be editable
  • inherit - Specifies that the content of the element should be editable if the parent element is
contextmenujava.lang.StringSpecifies the context menu for an element.
converterjavax.faces.convert.ConverterConverter instance registered with this component.
converterMessagejava.lang.StringA ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter.
dirjava.lang.StringSpecifies the text direction for the content in an element.

Possible values are:

  • ltr - Left-to-right text direction
  • rtl - Right-to-left text direction
  • auto - Let the browser figure out the text direction based on the content. This is only recommended if the text directionality is unknown
disabledboolean

The disabled attribute specifies that an input element should be disabled. A disabled input element is unusable and un-clickable.

The disabled attribute can be set to keep a user from using an input element until some other condition has been met (like selecting a checkbox, etc.). Then, a JavaScript is required to remove the disabled value, and make the input element usable.

A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled".

Tip: Disabled form elements will not be submitted.
draggablejava.lang.StringSpecifies whether or not a user is allowed to drag an element (true, false or auto).
dropzonejava.lang.StringSpecifies what happens when dragged items/data is dropped in the element (copy, move, link)
formjava.lang.String

The form attribute specifies one or more forms the input element belongs to.

The value of the form attribute must be the id of the form it belongs to.

To refer to more than one form, use a space-separated list.

hiddenbooleanSpecifies that the element is not relevant. Hidden elements are not displayed. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as hidden="hidden".
idjava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediatebooleanFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
labeljava.lang.StringA localized user presentable name for this component.
langjava.lang.StringSpecifies a language code for the content in an element
listjava.lang.String

The list attribute refers to a datalist containing predefined options for the input field (see http://www.w3schools.com/html5/tag_datalist.asp for more details).

maxlengthintThe maximum number of characters that may be entered in this field.
onblurjava.lang.StringScript to be run when an element loses focus.
onchangejava.lang.StringScript to be run when an element changes.
onclickjava.lang.StringScript to be run on a mouse click.
oncontextmenujava.lang.StringScript to be run when a context menu is triggered.
ondblclickjava.lang.StringScript to be run on a mouse double-click.
ondragjava.lang.StringScript to be run when an element is dragged.
ondragendjava.lang.StringScript to be run at the end of a drag operation.
ondragenterjava.lang.StringScript to be run when an element has been dragged to a valid drop target.
ondragleavejava.lang.StringScript to be run when an element leaves a valid drop target.
ondragoverjava.lang.StringScript to be run when an element is being dragged over a valid drop target.
ondragstartjava.lang.StringScript to be run at the start of a drag operation.
ondropjava.lang.StringScript to be run when dragged element is being dropped.
onfocusjava.lang.StringScript to be run when an element gets focus.
onformchangejava.lang.StringScript to be run when a form changes.
onforminputjava.lang.StringScript to be run when a form gets user input.
oninputjava.lang.StringScript to be run when an element gets user input.
oninvalidjava.lang.StringScript to be run when an element is invalid.
onkeydownjava.lang.StringScript to be run when a key is pressed.
onkeypressjava.lang.StringScript to be run when a key is pressed and released.
onkeyupjava.lang.StringScript to be run when a key is released.
onmousedownjava.lang.StringScript to be run when a mouse button is pressed.
onmousemovejava.lang.StringScript to be run when the mouse pointer moves.
onmouseoutjava.lang.StringScript to be run when the mouse pointer moves out of an element.
onmouseoverjava.lang.StringScript to be run when the mouse pointer moves over an element.
onmouseupjava.lang.StringScript to be run when the mouse pointer moves.
onmousewheeljava.lang.StringScript to be run when the mouse wheel is being rotated.
onscrolljava.lang.StringScript to be run when an element's scrollbar is being scrolled.
onselectjava.lang.StringScript to be run when an element is selected.
onsubmitjava.lang.StringScript to be run when a form is submitted.
patternjava.lang.StringThe pattern attribute specifies a pattern used to validate an input field. The pattern is a regular expression.
placeholderjava.lang.StringSpecifies a hint to help users fill out the input field.
readonlyboolean

The readonly attribute specifies that an input field should be read-only.

A read-only field cannot be modified. However, a user can tab to it, highlight it, and copy the text from it.

If this attribute is present the field will be read-only.

A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly".

Note: Read-only input fields will not be validated.
renderedbooleanFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
requiredboolean

The required attribute specifies that an input field must be filled out before submitting.

If this attribute is present the field will required. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as required="required".

requiredMessagejava.lang.StringA ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
sizeintThe number of characters used to determine the width of this field.
spellcheckjava.lang.StringSpecifies if the element must have its spelling and grammar checked (true or false).
stylejava.lang.StringSpecifies an inline style for an element.
styleClassjava.lang.StringSpace-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
tabindexjava.lang.StringSpecifies the tab order of an element. This value must be an integer between 0 and 32767.
titlejava.lang.StringSpecifies extra information about an element
validatorjavax.faces.el.MethodBindingMethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
validatorMessagejava.lang.StringA ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator.
valuejava.lang.ObjectThe current value of this component.
valueChangeListenerjavax.faces.el.MethodBinding

MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where a notification is needed that "this value changed".

Tag - panel

Tag Information
component-typebe.novelfaces.component.Panel
renderer-typebe.novelfaces.component.PanelRenderer
Attributes
NameTypeDescription
accesskeyjava.lang.StringSpecifies a keyboard shortcut to access an element
bindingjavax.faces.component.UIComponentThe value binding expression used to wire up this component to a component property of a JavaBean class
contenteditablejava.lang.StringSpecifies if the user is allowed to edit the content or not.

Possible values are:

  • true - Specifies that the content of the element should be editable
  • false - Specifies that the content of the element should not be editable
  • inherit - Specifies that the content of the element should be editable if the parent element is
contextmenujava.lang.StringSpecifies the context menu for an element.
dirjava.lang.StringSpecifies the text direction for the content in an element.

Possible values are:

  • ltr - Left-to-right text direction
  • rtl - Right-to-left text direction
  • auto - Let the browser figure out the text direction based on the content. This is only recommended if the text directionality is unknown
draggablejava.lang.StringSpecifies whether or not a user is allowed to drag an element (true, false or auto).
dropzonejava.lang.StringSpecifies what happens when dragged items/data is dropped in the element (copy, move, link)
hiddenbooleanSpecifies that the element is not relevant. Hidden elements are not displayed. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as hidden="hidden".
idjava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
langjava.lang.StringSpecifies a language code for the content in an element
onblurjava.lang.StringScript to be run when an element loses focus.
onchangejava.lang.StringScript to be run when an element changes.
onclickjava.lang.StringScript to be run on a mouse click.
oncontextmenujava.lang.StringScript to be run when a context menu is triggered.
ondblclickjava.lang.StringScript to be run on a mouse double-click.
ondragjava.lang.StringScript to be run when an element is dragged.
ondragendjava.lang.StringScript to be run at the end of a drag operation.
ondragenterjava.lang.StringScript to be run when an element has been dragged to a valid drop target.
ondragleavejava.lang.StringScript to be run when an element leaves a valid drop target.
ondragoverjava.lang.StringScript to be run when an element is being dragged over a valid drop target.
ondragstartjava.lang.StringScript to be run at the start of a drag operation.
ondropjava.lang.StringScript to be run when dragged element is being dropped.
onfocusjava.lang.StringScript to be run when an element gets focus.
onformchangejava.lang.StringScript to be run when a form changes.
onforminputjava.lang.StringScript to be run when a form gets user input.
oninputjava.lang.StringScript to be run when an element gets user input.
oninvalidjava.lang.StringScript to be run when an element is invalid.
onkeydownjava.lang.StringScript to be run when a key is pressed.
onkeypressjava.lang.StringScript to be run when a key is pressed and released.
onkeyupjava.lang.StringScript to be run when a key is released.
onmousedownjava.lang.StringScript to be run when a mouse button is pressed.
onmousemovejava.lang.StringScript to be run when the mouse pointer moves.
onmouseoutjava.lang.StringScript to be run when the mouse pointer moves out of an element.
onmouseoverjava.lang.StringScript to be run when the mouse pointer moves over an element.
onmouseupjava.lang.StringScript to be run when the mouse pointer moves.
onmousewheeljava.lang.StringScript to be run when the mouse wheel is being rotated.
onscrolljava.lang.StringScript to be run when an element's scrollbar is being scrolled.
onselectjava.lang.StringScript to be run when an element is selected.
onsubmitjava.lang.StringScript to be run when a form is submitted.
renderedbooleanFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
spellcheckjava.lang.StringSpecifies if the element must have its spelling and grammar checked (true or false).
stylejava.lang.StringSpecifies an inline style for an element.
styleClassjava.lang.StringSpace-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
tabindexjava.lang.StringSpecifies the tab order of an element. This value must be an integer between 0 and 32767.
titlejava.lang.StringSpecifies extra information about an element
typejava.lang.String

This represents the type of the panel.

Possible values are:

  • span - Default. The span tag is used to group inline-elements in a document.
  • div - The div tag defines a division or a section in an HTML document.
  • address - The address tag defines the contact information for the author or owner of a document.
  • article - The article tag specifies independent, self-contained content.
  • aside - The aside tag defines some content aside from the content it is placed in.
  • section - The section tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.
  • hgroup - The hgroup tag specifies the heading of a section or a document.
  • header - The header tag specifies an introduction, or a group of navigation elements for the document.
  • footer - The footer tag defines the footer of a section or document. Typically contains the name of the author, the date the document was written and/or contact information.
  • h1 to h6 - The h1 to h6 tags define headers. h1 defines the most important heading. h6 defines the least important heading.

When some other value is given for the type attribute then it falls back to a span.

Tag - numpadDecSep

Tag Information
component-typebe.novelfaces.component.NumpadDecimalSeparator
renderer-typebe.novelfaces.component.NumpadDecimalSeparatorRenderer
Attributes
NameTypeDescription
bindingjavax.faces.component.UIComponentThe value binding expression used to wire up this component to a component property of a JavaBean class
idjava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderedbooleanFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
separatorjava.lang.String

The separator to use when a user presses the numpad decimal separator key.
Unless you use a predefined variable the string must be exactly one character long for the component to work correctly.

Predefined variables you can use:

  1. SPACE (will output " ")
  2. COMMA (will output ",")
  3. DEFAULT (use decimal separator from locale from view root)

When you don't provide this attribute the decimal separator according to the locale from the ViewRoot will be used.

All Tags / Functions