Class CallBackTiledView

  • All Implemented Interfaces:
    com.iplanet.jato.RequestHandler, com.iplanet.jato.RequestParticipant, com.iplanet.jato.view.ContainerView, com.iplanet.jato.view.TiledView, com.iplanet.jato.view.View, com.iplanet.jato.view.WebActionHandler, com.iplanet.jato.view.WebActions

    public class CallBackTiledView
    extends com.iplanet.jato.view.RequestHandlingTiledViewBase
    implements com.iplanet.jato.view.TiledView, com.iplanet.jato.RequestHandler
    This class contains a set of callbacks for login view bean
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String MESSAGE_TYPE
      location for messageType information
      static String SCRIPT_CONTENT
      location for possible JavaScript injections
      static String TEXT_CONTENT
      location for possible text injections
      static String TILED_CHOICE
      tiled view of choice
      static String TXT_ID
      id of current element
      static String TXT_INDEX
      index of current tile
      static String TXT_INFO
      info text value
      static String TXT_PROMPT
      prompt/label for attribute
      static String TXT_VALUE
      value for attribute
      • Fields inherited from class com.iplanet.jato.view.TiledViewBase

        UNDEFINED_ROW_INDEX
      • 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
      • Fields inherited from interface com.iplanet.jato.view.View

        QUALIFIED_VIEW_NAME_SEPARATOR
      • Fields inherited from interface com.iplanet.jato.view.WebActionHandler

        DELETE_CONTEXT, EXECUTE_CONTEXT, INSERT_CONTEXT, MODEL_TYPE_DELETE, MODEL_TYPE_EXECUTE, MODEL_TYPE_INSERT, MODEL_TYPE_RETRIEVE, MODEL_TYPE_UPDATE, RETRIEVE_CONTEXT, UPDATE_CONTEXT
      • Fields inherited from interface com.iplanet.jato.view.WebActions

        ACTION_CLEAR, ACTION_DELETE, ACTION_EXECUTE, ACTION_FIRST, ACTION_INSERT, ACTION_LAST, ACTION_NEXT, ACTION_PREV, ACTION_PREVIOUS, ACTION_REFRESH, ACTION_SELECT, ACTION_UPDATE
    • Constructor Summary

      Constructors 
      Constructor Description
      CallBackTiledView​(com.iplanet.jato.view.View parent, String name)
      constructs a tiled view of callbacks
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean beginChoiceDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of choice field element
      void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
      begins displaying page. we set the required information
      boolean beginHasInfoTextDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)  
      boolean beginHiddenValueBoxDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of hiddenValueBox field element
      boolean beginIsRequiredDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of required marked element
      boolean beginPasswordDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of password field element
      boolean beginTextBoxDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of textbox field element
      boolean beginTextOutDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
      begins display of text out field element
      protected com.iplanet.jato.view.View createChild​(String name)
      creates child component
      boolean nextTile()
      moves the current tile position to the next available tile.
      protected void registerChildren()
      registers child components/views
      void setCallBackArray​(Callback[] callbacks, List requiredList)  
      void setCallBackArray​(Callback[] callbacks, List requiredList, List<String> infoText)
      set callback array
      • Methods inherited from class com.iplanet.jato.view.RequestHandlingTiledViewBase

        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, getPrimaryModelClass, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionMaxDisplayRowsSessionKey, getWebActionModelMaxDisplayTiles, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setPrimaryModelClass, setPrimaryModelClass, setRequestContext, setWebActionModelMaxDisplayTiles, setWebActionModelOffset
      • Methods inherited from class com.iplanet.jato.view.TiledViewBase

        applyPrimaryModelDatasetName, dumpChildValues, dumpChildValues, getChild, getChildValues, getDisplayIndex, getMaxDisplayTiles, getNonIndexedQualifiedName, getNumTiles, getPrimaryModel, getPrimaryModelDatasetName, getPrimaryModelReference, getQualifiedName, getTileIndex, incrementDisplayIndex, isTileDisplayable, mapRequestParameters, nextTileInternal, resetDisplayIndex, resetTileIndex, setDisplayIndex, setMaxDisplayTiles, setPrimaryModel, setPrimaryModel, setPrimaryModelDatasetName, setPrimaryModelReference, setTileIndex
      • 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, 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, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
      • Methods inherited from interface com.iplanet.jato.view.ContainerView

        beginChildDisplay, endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, mapRequestParameters, resetChildren, setDisplayFieldValue
      • Methods inherited from interface com.iplanet.jato.RequestHandler

        acceptRequest, getRequestContext, handleRequest
      • Methods inherited from interface com.iplanet.jato.RequestParticipant

        setRequestContext
      • Methods inherited from interface com.iplanet.jato.view.TiledView

        getChild, getMaxDisplayTiles, getNumTiles, getTileIndex, resetTileIndex, setMaxDisplayTiles, setTileIndex
      • Methods inherited from interface com.iplanet.jato.view.View

        getName, getParent, getQualifiedName, setName, setParent
    • Constructor Detail

      • CallBackTiledView

        public CallBackTiledView​(com.iplanet.jato.view.View parent,
                                 String name)
        constructs a tiled view of callbacks
        Parameters:
        parent - The reference of the parent container
        name - The name of this view.
    • Method Detail

      • registerChildren

        protected void registerChildren()
        registers child components/views
      • createChild

        protected com.iplanet.jato.view.View createChild​(String name)
        creates child component
        Overrides:
        createChild in class com.iplanet.jato.view.ContainerViewBase
        Parameters:
        name - of child component
        Returns:
        child component
      • beginDisplay

        public void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
                          throws com.iplanet.jato.model.ModelControlException
        begins displaying page. we set the required information
        Specified by:
        beginDisplay in interface com.iplanet.jato.view.ContainerView
        Overrides:
        beginDisplay in class com.iplanet.jato.view.RequestHandlingTiledViewBase
        Parameters:
        event - display event
        Throws:
        com.iplanet.jato.model.ModelControlException - if problem access value of component
      • nextTile

        public boolean nextTile()
                         throws com.iplanet.jato.model.ModelControlException
        moves the current tile position to the next available tile.
        Specified by:
        nextTile in interface com.iplanet.jato.view.TiledView
        Overrides:
        nextTile in class com.iplanet.jato.view.TiledViewBase
        Returns:
        true if another tile was available, false if the position remained unchanged because no next tile was available.
        Throws:
        com.iplanet.jato.model.ModelControlException - if manipulation of model fails.
      • setCallBackArray

        public void setCallBackArray​(Callback[] callbacks,
                                     List requiredList)
      • setCallBackArray

        public void setCallBackArray​(Callback[] callbacks,
                                     List requiredList,
                                     List<String> infoText)
        set callback array
        Parameters:
        callbacks - array
        requiredList - - list of required attribute
      • beginTextBoxDisplay

        public boolean beginTextBoxDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of textbox field element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is for textbox
      • beginHiddenValueBoxDisplay

        public boolean beginHiddenValueBoxDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of hiddenValueBox field element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is for hiddenValueBox
      • beginPasswordDisplay

        public boolean beginPasswordDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of password field element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is for password
      • beginChoiceDisplay

        public boolean beginChoiceDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of choice field element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is for choices
      • beginTextOutDisplay

        public boolean beginTextOutDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of text out field element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is for text out output
      • beginIsRequiredDisplay

        public boolean beginIsRequiredDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        begins display of required marked element
        Parameters:
        event - - child display event
        Returns:
        true if current callback is required
      • beginHasInfoTextDisplay

        public boolean beginHasInfoTextDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)