|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interfase that all form elements derive from. Created: 10 Jul 2001
Field Summary | |
static String |
ERROR_INVALID
|
static String |
ERROR_REQUIRED
|
static String |
UNKNOWN
|
static String |
VALID
|
Method Summary | |
Object |
getApplicationElement()
Returns the application object that corresponds to this form object. |
String |
getErrorCode()
Returns the error code of the element. |
String |
getName()
Returns the name of the the form element. |
String |
getPath()
Returns the path to the form element. |
void |
map(org.jdom.Element pxElement)
Write out the the element into the DOM tree. |
void |
service(HttpServletRequest pxRequest,
org.jdom.Element pxOldValue)
Process the returning HTTP request. |
void |
setErrorCode(String psCode)
Sets the error code. |
void |
setToDefault(boolean pbRecursive)
Return value to the default settings. |
int |
validate(boolean pbRecursive)
validate the element. |
Field Detail |
public static final String VALID
public static final String ERROR_REQUIRED
public static final String ERROR_INVALID
public static final String UNKNOWN
Method Detail |
public String getErrorCode()
public String getName()
public String getPath()
public Object getApplicationElement()
public void map(org.jdom.Element pxElement)
pxElement
- parent element to add new elements ontopublic void service(HttpServletRequest pxRequest, org.jdom.Element pxOldValue)
pxRequest
- http request to fetch data frompxOldValue
- form element details when the form was sent to the userpublic void setErrorCode(String psCode)
psCode
- error codepublic void setToDefault(boolean pbRecursive)
pbRecursive
- on true set child elementspublic int validate(boolean pbRecursive)
pbRecursive
- on true check child elements
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |