|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
examples.simple.SimpleActionForm
public class SimpleActionForm
A simple ActionForm
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.ActionForm |
|---|
multipartRequestHandler, servlet |
| Constructor Summary | |
|---|---|
SimpleActionForm()
Constructor for MultiboxActionForm. |
|
| Method Summary | |
|---|---|
java.lang.String |
getColor()
Returns the color. |
boolean |
getConfirm()
Returns the confirm. |
java.lang.String |
getHidden()
Returns the hidden. |
java.lang.String |
getMessage()
Returns the message. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getRating()
Returns the rating. |
java.lang.String |
getSecret()
Returns the secret. |
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setColor(java.lang.String color)
Sets the color. |
void |
setConfirm(boolean confirm)
Sets the confirm. |
void |
setHidden(java.lang.String hidden)
Sets the hidden. |
void |
setMessage(java.lang.String message)
Sets the message. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setRating(java.lang.String rating)
Sets the rating. |
void |
setSecret(java.lang.String secret)
Sets the secret. |
ActionErrors |
validate(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionMessages object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
|---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleActionForm()
| Method Detail |
|---|
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
reset in class ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
public ActionErrors validate(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
ActionMessages object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionMessages object with no
recorded error messages.
validate in class ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
DynaActionFormpublic java.lang.String getColor()
public boolean getConfirm()
public java.lang.String getHidden()
public java.lang.String getMessage()
public java.lang.String getName()
public java.lang.String getRating()
public java.lang.String getSecret()
public void setColor(java.lang.String color)
color - The color to setpublic void setConfirm(boolean confirm)
confirm - The confirm to setpublic void setHidden(java.lang.String hidden)
hidden - The hidden to setpublic void setMessage(java.lang.String message)
message - The message to setpublic void setName(java.lang.String name)
name - The name to setpublic void setRating(java.lang.String rating)
rating - The rating to setpublic void setSecret(java.lang.String secret)
secret - The secret to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||