home.page

来自「《精通Spring》源代码」· PAGE 代码 · 共 50 行

PAGE
50
字号
<?xml version="1.0" encoding="UTF-8"?><!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="com.openv.spring.tapestry.Home">    <description>Home Page</description>  	<bean name="delegate"      class="com.openv.spring.tapestry.Example11ValidationDelegate"/>      <bean name="MyStrValidator"         class="com.openv.spring.tapestry.Example11StrValidator"         lifecycle="page">	  <set-property name="required" expression="true"/>      <set-property name="minimumLength" expression="3"/>	  <set-property name="clientScriptingEnabled" expression="true"/>	</bean>        <bean name="MyEmailValidator"         class="com.openv.spring.tapestry.Example11EmailValidator"         lifecycle="page">	  <set-property name="required" expression="true"/>	  <set-property name="clientScriptingEnabled" expression="true"/>    </bean>      	<property-specification      name="userinfoVO" type="com.openv.spring.domainmodel.UserInfoVO"       initial-value="new com.openv.spring.domainmodel.UserInfoVO()"/>          <property-specification name="message" type="java.lang.String"/>    <property-specification name="error" type="java.lang.String"/>    <property-specification name="countrymodel"         type="org.apache.tapestry.form.IPropertySelectionModel">    </property-specification>        <property-specification name="interestmodel"         type="org.apache.tapestry.form.IPropertySelectionModel"         persistent="yes">    </property-specification>            <property-specification name="example11Service"        type="com.openv.spring.service.IExample11Manager">        global.appContext.getBean("example11Service")    </property-specification>        <context-asset name="stylesheet" path="css/css.css"/>    </page-specification>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?