com.ibm.dse.gui.jspbeans
Class JSPErrorListBean
java.lang.Object
|
+--com.ibm.dse.gui.jspbeans.JSPAbstractComponent
|
+--com.ibm.dse.gui.jspbeans.JSPErrorListBean
- public class JSPErrorListBean
- extends JSPAbstractComponent
- implements JSPErrorComponent
The error list bean renders a simple/multiple choice list or combo. It will show all error messages
of the components (or containers) added in the JSPErrorListBean.
If the property "showInterfaceContextError" is "yes" then the JSPErrorListBean will show the list of
errors associated to the components (or containers) added in the JSPErrorListBean (Default Value "no").
If the property "showValidationComponentError" is "yes" then the JSPErrorListBean will show the list of
validation errors associated to the components added in the JSPErrorListBean (Default Value "yes").
Fields inherited from class com.ibm.dse.gui.jspbeans.JSPAbstractComponent |
_properties,
BOTTOM,
CENTER,
HARD,
LEFT,
NO,
NULL,
OFF,
RESET,
RIGHT,
SOFT,
SUBMIT,
TOP,
YES |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JSPErrorListBean
public JSPErrorListBean()
- This constructor creates a JSPErrorListBean object.
JSPErrorListBean
public JSPErrorListBean(JspContextServices anInterface)
- This constructor creates a JSPErrorListBean object.
- Parameters:
anInterface
- com.ibm.dse.cs.html.JspContextServices
addComponentToErrorList
public void addComponentToErrorList(JSPAbstractComponent aComponent)
- Adds the specified component to the JSPErrorListBean.
- Specified by:
- addComponentToErrorList in interface JSPErrorComponent
- Parameters:
aComponent
- the component to be added.
addContainerToErrorList
public void addContainerToErrorList(JSPAbstractContainer aContainer)
- Adds the specified container to the JSPErrorListBean.
The JSPErrorListBean will show the list of errors associated to the container (and components inside this
container) and the list of validation errors associated to the components added in the container.
- Specified by:
- addContainerToErrorList in interface JSPErrorComponent
- Parameters:
aContainer
- the container to be added.
getComponentList
protected java.util.Vector getComponentList()
- Gets the components list added to the Bean.
- Returns:
- java.util.Vector (the list value)
getContainerList
protected java.util.Vector getContainerList()
- Gets the containers list added to the Bean.
- Returns:
- java.util.Vector (the list value)
toHTMLString
public java.lang.String toHTMLString()
- The renderer of the JSPBean
- Overrides:
- toHTMLString in class JSPAbstractComponent
- Returns:
- string