public class ObjectEditorChip extends AbstractAttributeEditorChip
CUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ObjectEditorChip(DisplayState displayState,
Chip parent) |
ObjectEditorChip(DisplayState displayState,
Chip parent,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getMessage() |
boolean |
isAjaxUpdatable()
Returns true if this editor chip is ajax updatable.
|
void |
processEvents(Map arg0)
Handles all incoming requests for this chip.
|
void |
setMessage(String message)
By setting a message for this chip, that message will be shown in the hmc instead of the usual
"attribute is not readable" message.
|
addAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getValue, getWidth, isChanged, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setParameters, setValidValue, setValue, setWidth, valuesAreDifferentaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic ObjectEditorChip(DisplayState displayState, Chip parent)
public ObjectEditorChip(DisplayState displayState, Chip parent, Object value)
public String getJSPURI()
Chippublic void processEvents(Map arg0)
Chippublic static String getEditorType()
public String getMessage()
setMessage(String)public void setMessage(String message)
NoAccessAttributeEditorChip
this chip will still try to show the string representation of a value if it contains a value (that has been set by
other means).message - the message which will be shown (if there is no value to show). The string will interpreted as a
localization key!public boolean isAjaxUpdatable()
AbstractAttributeEditorChipLocalizableAttributeChip to indicate
that the editorchip's jsp only uses the usual form input elements and no other special functionality to update its
values (like the wysiwyg editor which uses the 'onsubmit' handler to update its value).isAjaxUpdatable in class AbstractAttributeEditorChipCopyright © 2017 SAP SE. All Rights Reserved.