| <?xml version="1.0"?> |
| <!-- |
| 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 page-specification PUBLIC |
| "-//Apache Software Foundation//Tapestry Specification 4.0//EN" |
| "http://tapestry.apache.org/dtd/Tapestry_4_0.dtd"> |
| |
| <page-specification class="org.apache.tapestry.workbench.palette.Palette"> |
| |
| <property name="clientValidationEnabled" persist="client" initial-value="true"/> |
| |
| <bean name="delegate" class="org.apache.tapestry.workbench.WorkbenchValidationDelegate" property="delegate"/> |
| |
| <component id="form" type="Form"> |
| <binding name="delegate" value="bean:delegate"/> |
| <binding name="clientValidationEnabled" value="clientValidationEnabled"/> |
| <binding name="refresh" value="listener:doRefresh"/> |
| <binding name="success" value="listener:doAdvance"/> |
| </component> |
| |
| <component id="inputEnabled" type="Checkbox"> |
| <binding name="value" value="clientValidationEnabled"/> |
| <binding name="onchange" value="literal:tapestry.form.submit(this.form);"/> |
| </component> |
| |
| <component id="inputColorSort" type="PropertySelection"> |
| <binding name="value" value="sort"/> |
| <binding name="model" value="literal:None=NONE,Label=LABEL,Value=VALUE,Manual=USER"/> |
| <binding name="onchange"> |
| literal:tapestry.form.refresh(this.form); |
| </binding> |
| </component> |
| |
| <component id="inputColor" type="contrib:Palette"> |
| <binding name="model" value="colorModel"/> |
| <binding name="selected" value="selectedColors"/> |
| <binding name="sort" value="sort"/> |
| <binding name="tableClass" value="literal:palette"/> |
| <binding name="displayName" value="literal:Colors"/> |
| <binding name="validators" value="validators:required"/> |
| </component> |
| |
| <component id="update" type="ImageSubmit"> |
| <binding name="image" value="asset:update"/> |
| </component> |
| |
| <component id="continue" type="LinkSubmit" /> |
| |
| <component id="continueRollover" type="Rollover"> |
| <binding name="image" value="asset:continue" /> |
| <binding name="mouseOver" value="asset:continueFocus" /> |
| </component> |
| |
| <asset name="continue" path="images/Continue.gif"/> |
| <asset name="continueFocus" path="images/Continue-focus.gif"/> |
| <asset name="update" path="images/Update.gif"/> |
| |
| </page-specification> |
| |