4.2.12The AutoComplete tag (As of ver 3.5.0)

Description

This tag displays a dropdown list with the options that have at least a partial match with text entered in the textbox.

Implemented for JSF 1.1/1.2 & Richfaces 3.0.0.

As of ver 3.5.1, the AutoComplete tag is implemented for Struts / Spring.

The auto completion tag uses an instance populated by a service.

Example

Rendering

output_html_m956ae3e.gif


XHTML

settings


<bluage:TextField id="familyLabel"

instancename="instance_family_one" tablefield="Contact.familyName">

<input type="text" id="inputFamLabel" />

</bluage:TextField>

<bluage:Autocomplete

height="100" width="150"

id="autoA" tablefield="Contact.familyName"

forid="familyLabel"

instancenamelist="instance_families"/>

Screen activity diagram
Entities Diagram

output_html_221ca4c4.png

Service activity diagramN/A

Tag attributes: reference

TagAutocomplete
DescriptionThis tag displays a dropdown list with the options that have at least a partial match with text entered in the textbox.

Tag attributes: description

AttributeRequiredDescription
IdYComponent’s ID
tablefieldYDefines the class and the field bound to the component.
ForIdYID of the item to be validated
instancenameListYName of the list bound to the component
SourceNList source, service: to get it back from a service, generic: (default) to get the list back with all the objects.

BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission