| <?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$ --> |
| <!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.vlib.pages.Login"> |
| |
| <property-specification name="email" type="java.lang.String"/> |
| <property-specification name="password" type="java.lang.String"/> |
| <property-specification name="error" type="java.lang.String"/> |
| <property-specification name="callback" type="org.apache.tapestry.callback.ICallback" persistent="yes"/> |
| |
| <bean name="delegate" class="org.apache.tapestry.vlib.VirtualLibraryDelegate"/> |
| |
| <bean name="validator" class="org.apache.tapestry.valid.StringValidator" lifecycle="page"> |
| <set-property name="required" expression="true"/> |
| <set-property name="clientScriptingEnabled" expression="true"/> |
| </bean> |
| |
| <component id="inputEmail" type="ValidField"> |
| <static-binding name="displayName" value="Email Address"/> |
| <binding name="value" expression="email"/> |
| <binding name="validator" expression="beans.validator"/> |
| </component> |
| |
| <component id="inputPassword" type="ValidField"> |
| <binding name="value" expression="password"/> |
| <binding name="validator" expression="beans.validator"/> |
| <static-binding name="displayName" value="Password"/> |
| <binding name="hidden" expression="true"/> |
| </component> |
| |
| <component id="register" type="PageLink"> |
| <static-binding name="page">Register</static-binding> |
| </component> |
| |
| </page-specification> |