Package com.sun.identity.console.ui.view
Class CCMapList
- java.lang.Object
-
- com.iplanet.jato.view.ViewBase
-
- com.iplanet.jato.view.ContainerViewBase
-
- com.iplanet.jato.view.RequestHandlingViewBase
-
- com.sun.web.ui.view.editablelist.CCEditableList
-
- com.sun.identity.console.ui.view.CCMapList
-
- All Implemented Interfaces:
com.iplanet.jato.RequestCompletionListener,com.iplanet.jato.RequestHandler,com.iplanet.jato.RequestParticipant,com.iplanet.jato.view.ContainerView,com.iplanet.jato.view.View,com.iplanet.jato.view.WebActionHandler,com.iplanet.jato.view.WebActions,com.sun.web.ui.common.CCStateData
- Direct Known Subclasses:
CCGlobalMapList
public class CCMapList extends com.sun.web.ui.view.editablelist.CCEditableListThis class is designed to be used use with CCMapListTag.This class maintains the state of selectable list options set via client-side Javascript. Once the state of a selectable list has been set, that state will persist until the state is cleared via the resetStateData() method.
-
-
Field Summary
Fields Modifier and Type Field Description static StringVALUE_TEXTFIELD-
Fields inherited from class com.sun.web.ui.view.editablelist.CCEditableList
ADD_BUTTON, DELETE_BUTTON, LISTBOX, LISTBOXLABEL, SELECTED_TEXTFIELD, TEXTBOXLABEL, TEXTFIELD
-
Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase
HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
-
Fields inherited from class com.iplanet.jato.view.ContainerViewBase
BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.iplanet.jato.view.ViewcreateChild(String name)Create child views.protected voidregisterChildren()Register child views.voidsetModel(com.sun.web.ui.model.CCEditableListModelInterface model)-
Methods inherited from class com.sun.web.ui.view.editablelist.CCEditableList
beginDisplay, getModel, getOptions, getOptions, getStateData, resetStateData, restoreStateData, setStateData
-
Methods inherited from class com.iplanet.jato.view.RequestHandlingViewBase
acceptRequest, afterAllModelsExecute, afterAllWebActionModelsExecute, afterHandleRequestCommandExecution, afterModelExecutes, afterWebActionModelExecutes, appMessage, beforeHandleRequestCommandExecution, beforeModelExecutes, beforeWebActionModelExecutes, createDefaultExecutionContext, executeAutoDeletingModel, executeAutoDeletingModels, executeAutoExecutingModel, executeAutoExecutingModels, executeAutoInsertingModel, executeAutoInsertingModels, executeAutoRetrievingModel, executeAutoRetrievingModels, executeAutoRetrievingModels, executeAutoUpdatingModel, executeAutoUpdatingModels, getAutoDeletingModels, getAutoExecutingModels, getAutoInsertingModels, getAutoRetrieveExecutionContext, getAutoRetrievingModels, getAutoUpdatingModels, getFirstActionExecutionContext, getLastActionExecutionContext, getModel, getNextActionExecutionContext, getPreviousActionExecutionContext, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setRequestContext, setWebActionModelOffset
-
Methods inherited from class com.iplanet.jato.view.ContainerViewBase
beginChildDisplay, beginChildDisplay, beginComponentDisplay, beginDisplay, childExists, createChildReserved, endChildDisplay, endChildDisplay, endComponentDisplay, endDisplay, endDisplay, ensureChild, getChild, getChildNames, getChildNames, getChildType, getCommandChildNames, getDefaultModel, getDisplayField, getDisplayFieldBooleanValue, getDisplayFieldDoubleValue, getDisplayFieldIntValue, getDisplayFieldStringValue, getDisplayFieldValue, getNumChildren, getQualifiedCommandChildNames, mapRequestParameter, mapRequestParameters, onValidationException, registerChild, registerDisplayEventHandlers, removeAllChildren, removeChild, removeQualifiedNameIndices, resetChildren, setDefaultModel, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, unregisterChild
-
Methods inherited from class com.iplanet.jato.view.ViewBase
getName, getParent, getParentViewBean, getQualifiedName, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
-
-
-
-
Field Detail
-
VALUE_TEXTFIELD
public static final String VALUE_TEXTFIELD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CCMapList
public CCMapList(com.iplanet.jato.view.ContainerView parent, com.sun.web.ui.model.CCEditableListModelInterface model, String name)Construct a minimal instance using the parent's default model and the field's name as its bound name- Parameters:
parent- The parent view of this objectmodel- The model to which this instance is bound.name- This view's name.
-
-
Method Detail
-
setModel
public void setModel(com.sun.web.ui.model.CCEditableListModelInterface model) throws IllegalArgumentException- Overrides:
setModelin classcom.sun.web.ui.view.editablelist.CCEditableList- Throws:
IllegalArgumentException
-
registerChildren
protected void registerChildren()
Register child views.- Overrides:
registerChildrenin classcom.sun.web.ui.view.editablelist.CCEditableList
-
createChild
protected com.iplanet.jato.view.View createChild(String name)
Create child views.- Overrides:
createChildin classcom.sun.web.ui.view.editablelist.CCEditableList- Parameters:
name- The child view name.- Returns:
- The View object.
-
-