Registers an extra tab, and optionally a matching summary panel, added to an admin profile or organisation page, created by ProfileTabsBuilder.build. The tab holds a title, portlet id and JS rendering function; the summary panel is a smaller version of the same content shown elsewhere on the page, such as a dashboard overview.

Implements: Serializable


Properties

PropertyReturnsDescription
profileTabProfileTabThe tab's title and portlet id.
profileTabTemplateStringRepository path of the template that renders the tab's content.
summaryFuncObjectJS function called to render the summary panel's content.
summaryPanelSummaryPanelThe summary panel's title, portlet id and associated tab.
summaryPanelTemplateStringRepository path of the template that renders the summary panel's content.
tabFuncObjectJS function called to render the tab's content.

Methods

getProfileTab()

Returns: ProfileTab

The tab's title and portlet id.

getSummaryPanel()

Returns: SummaryPanel

The summary panel's title, portlet id and associated tab.

getSummaryFunc()

Returns: Object

JS function called to render the summary panel's content.

getTabFunc()

Returns: Object

JS function called to render the tab's content.

getProfileTabTemplate()

Returns: String

Repository path of the template that renders the tab's content.

getSummaryPanelTemplate()

Returns: String

Repository path of the template that renders the summary panel's content.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.