public class NoAccessAttributeEditorChip extends AbstractAttributeEditorChip
CUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
NoAccessAttributeEditorChip(DisplayState displayState,
Chip parent) |
| 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 events)
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 NoAccessAttributeEditorChip(DisplayState displayState, Chip parent)
public void processEvents(Map events)
Chippublic String getJSPURI()
Chippublic static String getEditorType()
public String getMessage()
setMessage(String)public void setMessage(String message)
message - the message which will be shown. 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.