|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.form
Class HtmlInputPostForm

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.webapps.form.HtmlInputPostForm
- All Implemented Interfaces:
- java.io.Serializable
- public class HtmlInputPostForm
- extends org.apache.struts.action.ActionForm
An ActionForm for using the results of an HtmlInputPostTag
- Version:
- $Id: HtmlInputPostForm.java,v 1.5 2003/09/30 15:13:14 joe Exp $
| Field Summary | |
protected java.lang.String |
editorHtml
The HTML from the editor to set the EntityBean's "property" to |
protected int |
entityId
The unique ID of the EntityBean to update |
protected java.lang.String |
entityName
The class name of the EntityBean to update. |
protected boolean |
isValid
Have all the necessary properties been set? |
protected java.lang.String |
property
The property of the EntityBean to update (e.g. |
protected java.lang.String |
sessionId
The sessionId the applet was created with |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
HtmlInputPostForm()
|
|
| Method Summary | |
java.lang.String |
getEditorHtml()
Get the HTML from the editor to set the EntityBean's "property" to |
int |
getEntityId()
Get the unique ID of the EntityBean to update |
java.lang.String |
getEntityName()
Get the class name of the EntityBean to update |
boolean |
getIsValid()
Get valid |
java.lang.String |
getProperty()
Get the property of the EntityBean to update (e.g. |
java.lang.String |
getSessionId()
Get the sessionId the applet was created with |
com.RuntimeCollective.webapps.bean.EntityBean |
populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
Sets the property of the EntityBean specified by this.getProperty(), to the value of this.getGateway() |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to default values. |
void |
setEditorHtml(java.lang.String editorHtml)
Set the HTML from the editor to set the EntityBean's "property" to |
void |
setEntityId(int entityId)
Set the unique ID of the EntityBean to update |
void |
setEntityName(java.lang.String entityName)
Set the class name of the EntityBean to update |
void |
setIsValid(boolean isValid)
Set valid |
void |
setProperty(java.lang.String property)
Set the property of the EntityBean to update (e.g. |
void |
setSessionId(java.lang.String sessionId)
Set the sessionId the applet was created with |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Check if the session is valid; if not, just don't update. |
| 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 |
| Field Detail |
sessionId
protected java.lang.String sessionId
- The sessionId the applet was created with
entityName
protected java.lang.String entityName
- The class name of the EntityBean to update.
entityId
protected int entityId
- The unique ID of the EntityBean to update
property
protected java.lang.String property
- The property of the EntityBean to update (e.g. "gateway")
editorHtml
protected java.lang.String editorHtml
- The HTML from the editor to set the EntityBean's "property" to
isValid
protected boolean isValid
- Have all the necessary properties been set?
| Constructor Detail |
HtmlInputPostForm
public HtmlInputPostForm()
| Method Detail |
getSessionId
public java.lang.String getSessionId()
- Get the sessionId the applet was created with
setSessionId
public void setSessionId(java.lang.String sessionId)
- Set the sessionId the applet was created with
getEntityName
public java.lang.String getEntityName()
- Get the class name of the EntityBean to update
setEntityName
public void setEntityName(java.lang.String entityName)
- Set the class name of the EntityBean to update
getEntityId
public int getEntityId()
- Get the unique ID of the EntityBean to update
setEntityId
public void setEntityId(int entityId)
- Set the unique ID of the EntityBean to update
getProperty
public java.lang.String getProperty()
- Get the property of the EntityBean to update (e.g. "gateway")
setProperty
public void setProperty(java.lang.String property)
- Set the property of the EntityBean to update (e.g. "gateway")
getEditorHtml
public java.lang.String getEditorHtml()
- Get the HTML from the editor to set the EntityBean's "property" to
setEditorHtml
public void setEditorHtml(java.lang.String editorHtml)
- Set the HTML from the editor to set the EntityBean's "property" to
getIsValid
public boolean getIsValid()
- Get valid
setIsValid
public void setIsValid(boolean isValid)
- Set valid
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Reset all properties to default values.
populateBean
public com.RuntimeCollective.webapps.bean.EntityBean populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
- Sets the property of the EntityBean specified by
this.getProperty(), to the value ofthis.getGateway()
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Check if the session is valid; if not, just don't update.
The errors will not be seen by the user, as the post request is silent.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC