Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Main
TextFormattingRules
WhatIsWiki




JSPWiki v2.2.33

[RSS]


Hide Menu

SandBox


Difference between version 283 and version 282:

At line 1 changed 33 lines.
<pre>
&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd"&gt;
&lt;page-specification class="org.appfuse.webapp.action.PersonForm"&gt;
<span style="background-color: yellow">&lt;bean name="delegate" class="org.appfuse.webapp.action.Validator"/&gt;</span>
<span style="background-color: yellow">&lt;bean name="requiredValidator" class="org.apache.tapestry.valid.StringValidator"&gt;</span>
<span style="background-color: yellow">&lt;set-property name="required" expression="true"/&gt;</span>
<span style="background-color: yellow">&lt;set-property name="clientScriptingEnabled" expression="true"/&gt;</span>
<span style="background-color: yellow">&lt;/bean&gt;</span>
&lt;property-specification name="person" type="org.appfuse.model.Person"/&gt;
&lt;property-specification name="manager" type="org.appfuse.service.Manager"&gt;
global.appContext.getBean("manager")
&lt;/property-specification&gt;
&lt;property-specification name="message" type="java.lang.String"/&gt;
<span style="background-color: yellow">&lt;component id="firstNameField" type="ValidField"&gt;</span>
<span style="background-color: yellow">&lt;binding name="value" expression="person.firstName"/&gt;</span>
<span style="background-color: yellow">&lt;binding name="validator" expression="beans.requiredValidator"/&gt;</span>
<span style="background-color: yellow">&lt;message-binding name="displayName" key="person.firstName"/&gt;</span>
<span style="background-color: yellow">&lt;/component&gt;</span>
<span style="background-color: yellow">&lt;component id="lastNameField" type="ValidField"&gt;</span>
<span style="background-color: yellow">&lt;binding name="value" expression="person.lastName"/&gt;</span>
<span style="background-color: yellow">&lt;binding name="validator" expression="beans.requiredValidator"/&gt;</span>
<span style="background-color: yellow">&lt;message-binding name="displayName" key="person.lastName"/&gt;</span>
<span style="background-color: yellow">&lt;/component&gt;</span>
&lt;/page-specification&gt;
</pre>
[this mailing list thread|http://nagoya.apache.org/eyebrowse/ReadMsg?listName=myfaces-user@incubator.apache.org&amp;msgNo=451].

Back to SandBox, or to the Page History.