|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.forms.Structure
net.sf.colle.forms.Form
This class define the root of a form. Created: 10 Jul 2001
Field Summary |
Fields inherited from interface net.sf.colle.forms.FormElement |
ERROR_INVALID, ERROR_REQUIRED, UNKNOWN, VALID |
Constructor Summary | |
Form(String psName,
Object pxAppliationElement,
String psInitialState)
Create a new form element. |
Method Summary | |
String |
getAction()
Returns the form action. |
String |
getState()
Returns the form state. |
void |
map(org.jdom.Element pxElement)
Maps the form data into the result document. |
boolean |
service(HttpServletRequest pxRequest)
Services a request. |
void |
setAction(String psAction)
Set the form action. |
void |
setState(String psState)
Set the form state. |
Methods inherited from class net.sf.colle.forms.Structure |
add, getApplicationElement, getElement, getErrorCode, getName, getPath, mapImpl, service, setErrorCode, setToDefault, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Form(String psName, Object pxAppliationElement, String psInitialState)
psName
- name of formpsInitialState
- current state of formMethod Detail |
public boolean service(HttpServletRequest pxRequest)
pxRequest
- http request to fetch data from
public String getAction()
public void setAction(String psAction)
public String getState()
public void setState(String psState)
public void map(org.jdom.Element pxElement)
map
in interface FormElement
map
in class Structure
pxElement
- parent element to add new elements onto
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |