org.apache.struts2.portlet.example
Class FormExample

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

public class FormExample
extends DefaultActionSupport

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
FormExample()
           
 
Method Summary
 java.lang.String displayResult()
           
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 void setFirstName(java.lang.String firstName)
           
 void setLastName(java.lang.String lastName)
           
 
Methods inherited from class org.apache.struts2.dispatcher.DefaultActionSupport
execute, getSuccessResultValue, setSuccessResultValue
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, 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

FormExample

public FormExample()
Method Detail

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)

displayResult

public java.lang.String displayResult()


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