Description

inputTextHelp let you add a text to the component for user help.

Screen Shot

TomahawkInputTextHelp1.PNG!

TomahawkInputTextHelp2.PNG!

API

component-class

org.apache.myfaces.custom.inputTextHelp.HtmlInputTextHelp

renderer-class

org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer

tag-class

org.apache.myfaces.custom.inputTextHelp.HtmlInputTextHelpTag

http://myfaces.apache.org/tomahawk/tagreference.html#inputTextHelp http://www.irian.at/myfaces/inputTextHelp.jsf

Usage

You can use InputTextHelp to do things.

Syntax

<t:inputTextHelp
   [standard_input_text_attributes]
   [user_role_attributes]
   [ext_forceId_attribute]
   [display_value_only_attributes]
   [html_input_help_attributes] >
</t:inputTextHelp>

Instructions

The text in helpText variable will be displayed to user. If selectText is not set or set to false upon entrance to field text is erased, if selectText is set to True, upon entrance the text is selected

Attributes

name

required

description

helpText

false

initial text for users help

selectText

false

boolean, default false, erase text upon enter, if set to true will select text on enter to text field

Configuration

Don't need any extra configuration.

Notes and Known issues

None

Examples

http://www.irian.at/myfaces/inputTextHelp.jsf

...
    <h:form>
        <t:inputTextHelp value="" id="i1" helpText="Hello World"/>
        <t:inputTextHelp value="" id="i2" selectText="true" helpText="TT.MM.JJJJ"/>
    </h:form>
...

FAQ

Post your (or potential) questions here.

Additional Information

ArashRajaeeyan <<DateTime(2006-11-12T14:35:04Z)>>

  • No labels