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


This is version 279. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


<?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">
    <bean name="delegate" class="org.appfuse.webapp.action.Validator"/>

<bean name="requiredValidator" class="org.apache.tapestry.valid.StringValidator"> <set-property name="required" expression="true"/> <set-property name="clientScriptingEnabled" expression="true"/> </bean>

<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"/>

<component id="firstNameField" type="ValidField"> <binding name="value" expression="person.firstName"/> <binding name="validator" expression="beans.requiredValidator"/> <message-binding name="displayName" key="person.firstName"/> </component>

<component id="lastNameField" type="ValidField"> <binding name="value" expression="person.lastName"/> <binding name="validator" expression="beans.requiredValidator"/> <message-binding name="displayName" key="person.lastName"/> </component> </page-specification>


Attachments:


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:36 MST by MattRaible.