<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright 2004 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. | |
--> | |
<!-- $Id: Home.page,v 1.1 2003/06/29 18:23:26 mindbridge Exp $ --> | |
<!DOCTYPE page-specification PUBLIC | |
"-//Apache Software Foundation//Tapestry Specification 3.0//EN" | |
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd"> | |
<page-specification class="org.apache.tapestry.junit.mock.c29.Two"> | |
<property-specification name="intValue" type="int" initial-value="0"/> | |
<property-specification name="intValue2" type="int" initial-value="0"/> | |
<property-specification name="flag" type="boolean"/> | |
<bean name="delegate" class="org.apache.tapestry.valid.ValidationDelegate"/> | |
<bean name="intValidator" lifecycle="render" class="org.apache.tapestry.valid.NumberValidator"> | |
<set-property name="valueType">"int"</set-property> | |
</bean> | |
<component id="field" type="ValidField"> | |
<binding name="validator" expression="beans.intValidator"/> | |
<binding name="value" expression="intValue"/> | |
<static-binding name="displayName">int</static-binding> | |
</component> | |
<component id="field2" type="ValidField"> | |
<binding name="validator" expression="beans.intValidator"/> | |
<binding name="value" expression="intValue2"/> | |
<static-binding name="displayName">int2</static-binding> | |
</component> | |
</page-specification> |