org.apache.struts2.portlet.example
Class FormExampleWithValidation

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.portlet.example.FormExampleWithValidation
All Implemented Interfaces:
Action, LocaleProvider, TextProvider, Validateable, ValidationAware, java.io.Serializable

public class FormExampleWithValidation
extends ActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
FormExampleWithValidation()
           
 
Method Summary
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 java.lang.String input()
           
 void setFirstName(java.lang.String firstName)
           
 void setLastName(java.lang.String lastName)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormExampleWithValidation

public FormExampleWithValidation()
Method Detail

input

public java.lang.String input()
Overrides:
input in class ActionSupport

getFirstName

public java.lang.String getFirstName()

setFirstName

public void setFirstName(java.lang.String firstName)

getLastName

public java.lang.String getLastName()

setLastName

public void setLastName(java.lang.String lastName)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.