Interface ExtensionSubTab


  • public interface ExtensionSubTab
    This interface must be implementation by sub tabs.
    • Method Detail

      • getEditPresentation

        String getEditPresentation()
        Returns the name of the edit presentation JSP that should be used to render this subtab. Provide only the filename of the JSP, i.e. 'editSubTab.jspf' and be sure that the edit presentation is contained by /editpresentation of your WCB's resources.
        Returns:
        Name of the edit presentation JSP that should be used to render this subtab.
      • getLabelId

        String getLabelId()
        Returns the label id of the resource containing the label of the subtab.
        Returns:
        the label id of the resource containing the label of the subtab
      • getDelegatedControllerClass

        Class<?> getDelegatedControllerClass()
        Returns the class of the delegated controller. The controller will be added to the list of delegated controllers and thus be invoked by its parent controller.
        Returns:
        The class of the delegated controller
      • initialize

        void initialize​(ComponentController controller,
                        FormBackingObject fbo,
                        javax.servlet.http.HttpServletRequest request,
                        String tabId)
        Initializes the extension. Invoked immediately after formBackingObject().
        Parameters:
        controller - The controller of the extension
        fbo - The FBO of the extension
        request - the request
        tabId - The tab id assigned to the extension
      • getRank

        int getRank()
        Returns the rank of this extension. Is used to determine the order in which the tab extensions reside in the User Interface. Be sure that each extension returns a different rank number.
        Returns:
        the rank of this extension