| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2004, 2005 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!DOCTYPE component-specification PUBLIC |
| "-//Apache Software Foundation//Tapestry Specification 4.0//EN" |
| "http://tapestry.apache.org/dtd/Tapestry_4_0.dtd"> |
| |
| <component-specification class="org.apache.tapestry.dojo.form.Autocompleter" |
| allow-body="no" |
| allow-informal-parameters="yes"> |
| |
| <description> |
| Creates an HTML select to choose a single property from a list of options. |
| </description> |
| |
| <parameter name="value" required="yes"/> |
| |
| <parameter name="model" required="yes"/> |
| |
| <parameter name="disabled"/> |
| |
| <parameter name="searchDelay" default-value="100" /> |
| |
| <parameter name="fadeTime" default-value="200" /> |
| |
| <parameter name="maxListLength" default-value="8" /> |
| |
| <parameter name="forceValidOption" default-value="true" /> |
| |
| <parameter name="local"> |
| <description>Makes the autocompleter work in local mode. |
| All values provided by the model are rendered as options in the |
| html and are used for autocomplete. |
| </description> |
| </parameter> |
| |
| <parameter name="displayName"/> |
| <parameter name="validators"/> |
| |
| <parameter name="id" property="idParameter" default-value="id"/> |
| |
| <reserved-parameter name="name"/> |
| <reserved-parameter name="autocomplete"/> |
| |
| <inject property="validatableFieldSupport" object="service:tapestry.form.ValidatableFieldSupport"/> |
| <inject property="dataSqueezer" object="service:tapestry.data.DataSqueezer"/> |
| <inject property="directService" object="service:tapestry.services.Direct"/> |
| <inject property="script" type="script" object="Autocompleter.script"/> |
| |
| </component-specification> |