| |
|
|
|
 |
Home NewsBlogProducts Download Buy Now Documentation Support |
 |
 |
|
|
 |
| |


Contents
|
10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:inputHtml
t:inputHtml |
|
The t:inputHtml tag displays the Kupu WYSIWYG XHTML text editor (see http://kupu.oscom.org/). Only one inputHtml tag can be used per page, but multiple editors can be used if they are placed in different tags (such as t:panelTabbedPane) so that only one renders at a time.
Example:
<t:inputHtml></t:inputHtml>
|
Tag Attributes
| addKupuLogo |
String |
| |
| The addKupuLogo attribute expects a boolean value that, when true, displays the Kupu editor icon in the button bar of this component. The default value is true. |
| allowEditSource |
String |
| |
| The allowEditSource attribute expects a boolean value that, when true, enables the user to edit the source code of the HTML being edited. The default value is true. |
| allowExternalLinks |
String |
| |
| The allowExternalLinks attribute expects a boolean value that, when true, permits the user to enter hyperlinks in this text field. The default value is true. |
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| converter |
String |
| |
| The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file. |
| displayValueOnly |
String |
| |
| The displayValueOnly attribute expects a boolean value that, when set to true, causes a tag to render its value only, and not the associated UI component. |
| displayValueOnlyStyle |
String |
| |
| The displayValueOnlyStyle attribute defines the CSS style applied to the display value of this tag when the displayValueOnly attribute is set to true. |
| displayValueOnlyStyleClass |
String |
| |
| The displayValueOnlyStyleClass attribute defines the CSS class applied to the display value of this tag when the displayValueOnly attribute is set to true. |
| enabledOnUserRole |
String |
| |
| The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles. |
| fallback |
String |
| |
| The fallback attribute expects a boolean value that, when true, displays a plain HTML text area field instead of the HTML input component. Some features may not be enabled when this value is true. The default value is false. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| required |
String |
| |
| The required attribute is a boolean flag that indicates whether or not the user is required to provide a value for this field before the form can be submitted to the server. |
| style |
String |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
String |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
| validator |
String |
| |
| The validator attribute accepts a method-binding expression representing a validator method that will be called when the JSF framework validates this component. A validator method must be a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. |
| value |
String |
| |
| The value attribute sets the current value for this component. |
| valueChangeListener |
String |
| |
| The valueChangeListener attribute accepts a method-binding expression representing a value change listener method to be notified when a new value has been set for this input component. A value change listener method must be a public method that takes a ValueChangeEvent parameter, with a return type of void. |
| visibleOnUserRole |
String |
| |
| The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles. |
|
|
|
| |
|