nl.gx.product.wmpuserprofiles.api
Interface ExtensionSubTab


public interface ExtensionSubTab

This interface must be implementation by sub tabs.


Method Summary
 java.lang.Class<?> getDelegatedControllerClass()
          Returns the class of the delegated controller.
 java.lang.String getEditPresentation()
          Returns the name of the edit presentation JSP that should be used to render this subtab.
 java.lang.String getLabelId()
          Returns the label id of the resource containing the label of the subtab.
 int getRank()
          Returns the rank of this extension.
 void initialize(ComponentController controller, FormBackingObject fbo, javax.servlet.http.HttpServletRequest request, java.lang.String tabId)
          Initializes the extension.
 

Method Detail

getEditPresentation

java.lang.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

java.lang.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

java.lang.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,
                java.lang.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


Copyright © 2007-2011 GX Software BV. All Rights Reserved.