|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines the protocol to access the context from a JSP
Method Summary | |
java.lang.String |
getBaseWebPath()
Obtain the relative path (relative to the web app server web path) for jsp resources. |
Context |
getContext()
Get the operation context for the page which initialized this bean. |
java.lang.String[] |
getCrossValidationErrorList()
Return the current list of cross validation errors. |
DataElement |
getElement(java.lang.String name)
Returns the named data element from the context. |
DSEException |
getException()
If the framework placed an exception in the HttpServletRequest with key name dseexception, then it can be saved here when the bean is initialized. |
java.lang.String |
getExceptionMessage()
Return message text cooresponding to the current exception. |
java.lang.String |
getFieldErrorMarker(java.lang.String name)
Return the current error marker only if the given field is in error. |
java.lang.String |
getFieldLabel(java.lang.String name)
Returns the label associated with the given field in the context. |
java.lang.String |
getFieldValidationError(java.lang.String name,
int idx)
Return the field error message text at the specified index. |
java.lang.String |
getFieldValidationErrorDecorated(java.lang.String name,
int idx)
Return the field error message text at the specified index decorated with prefix and suffix HTML strings. |
java.lang.String[] |
getFieldValidationErrorList(java.lang.String name)
Retrieve the entire error list for the field. |
java.lang.String[] |
getJspFormatErrorList()
Returns the list of Jsp Format Errors that were found during Jsp Processing. |
java.lang.String |
getLinkToPage(java.lang.String webPath,
java.lang.String pageName,
java.lang.String linkText)
Emit the Html to the JspWriter stream to create a link with given text to a given JSP saved in a given web path (relative to the base JSP path for the application server). |
java.lang.String |
getLocaleId()
Obtain any extra path information passed on the call to establish the session. |
java.lang.String |
getRequiredHtmlFields()
Returns an string containing the HTML for all of the HTML Client required fields. |
java.lang.String |
getRequiredHtmlFields(java.lang.String parentctx,
java.lang.String opname)
Returns an string containing the HTML for all of the HTML Client required fields using the passed parameters to fill in the user specifiable information. |
java.lang.String |
getRequiredHtmlFieldsForGETMethod()
Returns a string containing the HTML for all of the HTML Client required fields using the passed parameters to fill in the user specifiable information. |
java.lang.String |
getRequiredHtmlFieldsForGETMethod(java.lang.String parentctx,
java.lang.String opname)
Returns an string containing the HTML for all of the HTML Client required fields using the passed parameters to fill in the user specifiable information. |
java.lang.String |
getSessionId()
Returns the current session identifier string "as-is" Creation date: (6/20/00 3:27:10 PM) |
java.lang.String |
getSessionIdHtmlField()
Returns the current session identifier string as an HTML hidden field. |
java.lang.String |
getSessionIdParameter()
Returns the current session identifier string as a URL parameter. |
java.lang.String |
getStringValue(java.lang.String name)
Returns the specified value from the operation context as a string. |
java.lang.String[] |
getValidationErrorList()
Returns all validation errors in a single list array. |
java.lang.Object |
getValue(java.lang.String name)
Returns the named value from the context in its natural format. |
boolean |
isFieldHidden(java.lang.String name)
Returns the "hidden" status of the named field in the context. |
boolean |
isFieldInError(java.lang.String name)
Returns the error status of the named field in the context. |
boolean |
isFieldMandatory(java.lang.String name)
Returns the "input mandatory" status of the named field in the context. |
boolean |
isFieldReadOnly(java.lang.String name)
Returns the "read only" status of the named field in the context. |
void |
setErrorDecorationPrefix(java.lang.String pfx)
Sets up the error decorator prefix. |
void |
setErrorDecorationSuffix(java.lang.String sfx)
Sets up the error decorator suffix. |
void |
setErrorMarker(java.lang.String newmarker)
Sets up the error marker value. |
Method Detail |
public java.lang.String getBaseWebPath()
public Context getContext()
public java.lang.String[] getCrossValidationErrorList()
public DataElement getElement(java.lang.String name)
name
- java.lang.Stringpublic DSEException getException()
public java.lang.String getExceptionMessage()
param
- javax.servlet.jsp.JspWriterpublic java.lang.String getFieldErrorMarker(java.lang.String name)
name
- java.lang.Stringpublic java.lang.String getFieldLabel(java.lang.String name)
name
- java.lang.Stringpublic java.lang.String getFieldValidationError(java.lang.String name, int idx)
name
- java.lang.Stringidx
- intpublic java.lang.String getFieldValidationErrorDecorated(java.lang.String name, int idx)
name
- java.lang.Stringidx
- intpublic java.lang.String[] getFieldValidationErrorList(java.lang.String name)
name
- java.lang.Stringpublic java.lang.String[] getJspFormatErrorList()
public java.lang.String getLinkToPage(java.lang.String webPath, java.lang.String pageName, java.lang.String linkText)
param
- javax.servlet.jsp.JspWriterwebPath
- java.lang.StringpageName
- java.lang.StringlinkText
- java.lang.Stringpublic java.lang.String getLocaleId()
public java.lang.String getRequiredHtmlFields()
public java.lang.String getRequiredHtmlFields(java.lang.String parentctx, java.lang.String opname)
parentctx
- java.lang.Stringopname
- java.lang.Stringpublic java.lang.String getRequiredHtmlFieldsForGETMethod()
public java.lang.String getRequiredHtmlFieldsForGETMethod(java.lang.String parentctx, java.lang.String opname)
parentctx
- java.lang.Stringopname
- java.lang.Stringpublic java.lang.String getSessionId()
public java.lang.String getSessionIdHtmlField()
public java.lang.String getSessionIdParameter()
public java.lang.String getStringValue(java.lang.String name)
name
- java.lang.Stringpublic java.lang.String[] getValidationErrorList()
public java.lang.Object getValue(java.lang.String name)
name
- java.lang.Stringpublic boolean isFieldHidden(java.lang.String name)
name
- java.lang.Stringpublic boolean isFieldInError(java.lang.String name)
name
- java.lang.Stringpublic boolean isFieldMandatory(java.lang.String name)
name
- java.lang.Stringpublic boolean isFieldReadOnly(java.lang.String name)
name
- java.lang.Stringpublic void setErrorDecorationPrefix(java.lang.String pfx)
pfx
- java.lang.Stringpublic void setErrorDecorationSuffix(java.lang.String sfx)
pfx
- java.lang.Stringpublic void setErrorMarker(java.lang.String newmarker)
newmarker
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |