At line 1 changed 33 lines. |
<pre> |
<?xml version="1.0"?> |
<!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.appfuse.webapp.action.PersonForm"> |
<span style="background-color: yellow"><bean name="delegate" class="org.appfuse.webapp.action.Validator"/></span> |
|
<span style="background-color: yellow"><bean name="requiredValidator" class="org.apache.tapestry.valid.StringValidator"></span> |
<span style="background-color: yellow"><set-property name="required" expression="true"/></span> |
<span style="background-color: yellow"><set-property name="clientScriptingEnabled" expression="true"/></span> |
<span style="background-color: yellow"></bean></span> |
|
<property-specification name="person" type="org.appfuse.model.Person"/> |
<property-specification name="manager" type="org.appfuse.service.Manager"> |
global.appContext.getBean("manager") |
</property-specification> |
<property-specification name="message" type="java.lang.String"/> |
|
<span style="background-color: yellow"><component id="firstNameField" type="ValidField"></span> |
<span style="background-color: yellow"><binding name="value" expression="person.firstName"/></span> |
<span style="background-color: yellow"><binding name="validator" expression="beans.requiredValidator"/></span> |
<span style="background-color: yellow"><message-binding name="displayName" key="person.firstName"/></span> |
<span style="background-color: yellow"></component></span> |
|
<span style="background-color: yellow"><component id="lastNameField" type="ValidField"></span> |
<span style="background-color: yellow"><binding name="value" expression="person.lastName"/></span> |
<span style="background-color: yellow"><binding name="validator" expression="beans.requiredValidator"/></span> |
<span style="background-color: yellow"><message-binding name="displayName" key="person.lastName"/></span> |
<span style="background-color: yellow"></component></span> |
</page-specification> |
</pre> |
[this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451]. |