|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the compact display for errors and required fields. A red asterisk is displayed to indicate there is error, blue asterisk for requireness, and yellow for warning. When the user hovers over the red asterisk, a bubble pops up to show the actual error message.
Bindings | |||
---|---|---|---|
errorKey
|
An object that identifies the error that is being displayed by this component. One of errorKey or errorValueSource must be specified. |
Object (get) |
|
errorValueSource
|
The value source part of the identifier of the error that is being displayed by this component. One of errorKey or errorValueSource must be specified. |
Object (get) |
|
errorFieldPath
|
The field path part of the identifier of the error that is being displayed by this component. |
Object (get) |
|
errorGroupName
|
The group name part of the identifier of the error that is being displayed by this component. |
Object (get) |
|
showError
|
True if errors should be displayed when there are errors. |
boolean (get) |
|
showWarning
|
True if warnings should be displayed when there are warnings. |
boolean (get) |
|
showRequired
|
True if a "required" indicator should be displayed. |
boolean (get) |
|
autoHideBubble
|
True if the error bubble should be popped down automatically on a timer. |
boolean (get) |
|
errorImage
|
Specify a custom image as the indicator for errors in the display. |
String (get) |
|
warningImage
|
Specify a custom image as the indicator for warnings in the display. |
String (get) |
|
isNavigable
|
When set to false, this error indicator is skipped over during error navigation. An indicator is still displayed even when isNavigable is false, and mouse over will pop up the error bubble. |
boolean (get) |
Named Content | |
---|---|
customBubbleContent |
Define content to display in the bubble, in addition to the error msg. |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.widgets.ErrorFlag
ariba.ui.widgets.ErrorIndicator
public class ErrorIndicator
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
ErrorIndicator()
|
Method Summary | |
---|---|
boolean |
autoHideBubble()
|
AWEncodedString |
customContentDivId()
|
java.lang.String |
errorOrWarning()
|
java.util.List |
getErrorMessages()
|
boolean |
hasMultipleErrors()
|
java.lang.String |
hideBubbleScript()
|
AWEncodedString |
indicatorId()
|
boolean |
isHighLightedError()
|
boolean |
pageAutoScroll()
This will indicate if the page should be auto-scrolled or not. |
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
java.lang.String |
showBubbleScript()
|
boolean |
showRequired()
|
Methods inherited from class ariba.ui.widgets.ErrorFlag |
---|
error, hasErrorsOrWarnings, isGeneralError, showError, showWarning, warning |
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Field Detail |
---|
public AWEncodedString _customContentDivId
public AWEncodedString _errorContentDivId
public java.lang.String curItem
Constructor Detail |
---|
public ErrorIndicator()
Method Detail |
---|
public void renderResponse(AWRequestContext requestContext, AWComponent component)
AWCycleable
AWRequestContext.response()
renderResponse
in interface AWCycleable
renderResponse
in class ErrorFlag
requestContext
- the context for the current request.component
- the current parent componentpublic boolean autoHideBubble()
public boolean pageAutoScroll()
public AWEncodedString customContentDivId()
public AWEncodedString indicatorId()
indicatorId
in class ErrorFlag
public boolean showRequired()
public java.lang.String errorOrWarning()
public boolean isHighLightedError()
public boolean hasMultipleErrors()
public java.util.List getErrorMessages()
public java.lang.String showBubbleScript()
public java.lang.String hideBubbleScript()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |