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 |
|
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 |
|
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Autocomplete |
| Description | This tag displays a dropdown list with the options that have at least a partial match with text entered in the textbox. |
Tag attributes: description
| Attribute | Required | Description |
| Id | Y | Component’s ID |
| tablefield | Y | Defines the class and the field bound to the component. |
| ForId | Y | ID of the item to be validated |
| instancenameList | Y | Name of the list bound to the component |
| Source | N | List source, service: to get it back from a service, generic: (default) to get the list back with all the objects. |

