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 47. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


:)

hi this is a return line here

here is a double line

another test

The line should read:

Foo f = (Foo) FooFactory.newInstance();

test of preview save Test

nicetemplatehowcan
imaketableslook
better???


import org.appfuse.model.User;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

public class UserValidator implements Validator {
    public boolean supports(Class clazz) {
        return clazz.equals(User.class);
    }

    public void validate(Object obj, Errors errors) {
        User user = (Userobj;

        if ("".equals(user.getLastName())) {
            errors.rejectValue("lastName""errors.required",
                               new Object[] { "Last Name" }"Value required.");
        }
    }
}


Attachments:


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