| <?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.contrib.palette.Palette" |
| allow-body="no" allow-informal-parameters="no"> |
| |
| <description> |
| A complex component used to manage multiple selection of items from a list. |
| </description> |
| |
| <parameter name="selectedTitleBlock" |
| default-value="component:defaultSelectedTitleBlock"/> |
| |
| <parameter name="availableTitleBlock" |
| default-value="component:defaultAvailableTitleBlock"/> |
| |
| <parameter name="model" |
| required="yes"/> |
| |
| <parameter name="selected" |
| required="yes"/> |
| |
| <parameter name="sort" |
| default-value="@org.apache.tapestry.contrib.palette.SortMode@NONE"/> |
| |
| <parameter name="rows" |
| default-value="10"/> |
| |
| <parameter name="tableClass" |
| default-value="literal:tapestry-palette"/> |
| |
| <parameter name="selectImage" |
| default-value="asset:Select"/> |
| |
| <parameter name="disabledImage" |
| default-value="asset:Disabled"/> |
| |
| <parameter name="deselectImage" |
| default-value="asset:Deselect"/> |
| |
| <parameter name="selectDisabledImage" |
| default-value="asset:SelectDisabled"/> |
| |
| <parameter name="deselectDisabledImage" |
| default-value="asset:DeselectDisabled"/> |
| |
| <parameter name="upImage" |
| default-value="asset:Up"/> |
| |
| <parameter name="upDisabledImage" |
| default-value="asset:UpDisabled"/> |
| |
| <parameter name="downImage" |
| default-value="asset:Down"/> |
| |
| <parameter name="downDisabledImage" |
| default-value="asset:DownDisabled"/> |
| |
| <parameter name="displayName"/> |
| <parameter name="id" /> |
| <parameter name="validators"/> |
| |
| <asset name="Select" path="select_right.gif"/> |
| <asset name="SelectDisabled" path="select_right_off.gif"/> |
| <asset name="Deselect" path="deselect_left.gif"/> |
| <asset name="DeselectDisabled" path="deselect_left_off.gif"/> |
| <asset name="Up" path="move_up.gif"/> |
| <asset name="UpDisabled" path="move_up_off.gif"/> |
| <asset name="Down" path="move_down.gif"/> |
| <asset name="DownDisabled" path="move_down_off.gif"/> |
| |
| <inject property="script" type="script" object="Palette.script"/> |
| <inject property="validatableFieldSupport" object="service:tapestry.form.ValidatableFieldSupport"/> |
| |
| </component-specification> |