Differences between revisions 7 and 8
Revision 7 as of 2006-11-12 15:07:16
Size: 1901
Comment:
Revision 8 as of 2009-09-20 23:00:45
Size: 1889
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
inline:InputTextHelp/TomahawkInputTextHelp1.PNG {{attachment:TomahawkInputTextHelp1.PNG}}
Line 7: Line 7:
inline:InputTextHelp/TomahawkInputTextHelp2.PNG {{attachment:TomahawkInputTextHelp2.PNG}}
Line 68: Line 68:
-- ArashRajaeeyan [[DateTime(2006-11-12T14:35:04Z)]] -- ArashRajaeeyan <<DateTime(2006-11-12T14:35:04Z)>>

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 2006-11-12 14:35:04

InputTextHelp (last edited 2009-09-20 23:00:45 by localhost)