| |||||||
FRAMES NO FRAMES |
The ICEfaces inputRichText component uses the FCKEditor API to provide JSF based rich text component.
The "customConfigPath" attribute can be used to defined the custom config.js where you can customize the FCKeditor including the custom toolbar and the css.
The following steps are involved in creating the custom toolbar:
The following steps are involved in defining the custom CSS:
Tag Information | |
Tag Class | com.icesoft.faces.component.inputrichtext.InputRichTextTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
converter | false | false | java.lang.String | Converter instance registered with this component. |
converterMessage | false | false | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter. |
customConfigPath | false | false | java.lang.String | This attribute defines the path of the custom config file, the path is relative to the web app. |
disabled | false | false | java.lang.String | Disable the component |
for | false | false | java.lang.String | The for attribute references the id of the inputRichText which toolbarOnly attribute is set to "true". |
height | false | false | java.lang.String | height. |
id | false | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
immediate | false | false | java.lang.String | Flag 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. |
language | false | false | java.lang.String | The support of multi-language can use the following 54 languages. (e.g.) To set the French language use language="fr"
|
partialSubmit | false | false | java.lang.String | Whether a full or partialSubmit is used by the save button on the toolbar. partialSubmit won't be used when saveOnSubmit=true. Default value is false. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
required | false | false | java.lang.String | Flag indicating that the user is required to provide a submitted value for this input component. |
requiredMessage | false | false | java.lang.String | A 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. |
saveOnSubmit | false | false | java.lang.String | By default the data of the inputRichText will only be saved, when its "save" button being clicked. Any other submit request will not save its data. In order to save its data on any submit request like inputText does, this attribute can be set to true. |
skin | false | false | java.lang.String | The following skins can be set to the component.
|
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | false | false | java.lang.String | Space-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. The base name for all style classes. Default value is iceInpRchTxt |
toolbar | false | false | java.lang.String | There are two valid values for this field and its case sensitive.
|
validator | false | false | java.lang.String | MethodExpression 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. |
validatorMessage | false | false | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator. |
value | false | false | java.lang.String | The current value of this component. All UIInput derived UIComponents, that are placed within a UIData container, such as a dataTable or panelSeries, should have their value attribute bound to a bean property via a ValueBinding/ValueExpression, since otherwise the UIData container will not keep their successfully validated state, which can cause the component to fail to function properly. |
valueChangeListener | false | false | java.lang.String | No Description |
width | false | false | java.lang.String | Width. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |