tabFolderDefinitions

The com.ibm.commerce.telesales.widgets.tabFolderDefinitions extension point is used to declare tab folder definitions for use in the IBM Sales Center user interface.

Identifier:

com.ibm.commerce.telesales.widgets.tabFolderDefinitions

Description:

The com.ibm.commerce.telesales.widgets.tabFolderDefinitions extension point is used to declare tab folder definitions for use in the IBM Sales Center user interface.

Configuration Markup:

<!ELEMENT extension ( tabFolderDefinition+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

  • point - The fully qualified identifier of the target extension point.
  • id - An optional identifier for the target extension point.
  • name - An optional name for the extension instance.

<!ELEMENT tabFolderDefinition ( tabItem*)>

<!ATTLIST tabFolderDefinition

id CDATA #REQUIRED

referenceId CDATA #IMPLIED>

This element is used to describe configured tab folders.

  • id - Unique identifier for this tab folder declaration. Use this identifier to refer to this tab folder definition. It may be necessary to fully qualify references to this identifier if the reference is made from a different namespace context.
  • referenceId - The identifier of a tab folder definition declaration that this tab folder definition declaration should be based on. All properties and attributes will be inherited from the reference declaration. Anything defined in this definition will override the value inherited from the reference definition. All of the tab items found in the reference declaration will appear before any tab items defined in this declaration. If the reference tab folder definition has not been declared in the same namespace as this composite definition declaration, then you must fully qualify the reference ID.

<!ELEMENT tabItem EMPTY>

<!ATTLIST tabItem

text CDATA #REQUIRED

controlId CDATA #REQUIRED>

This element is used to describe tab items.

  • text - The resource key for the tab item text.
  • controlId - The identifier of the control declaration that will be used to create the tab item control. This identifier must match the id attribute of a control element defined as an extension to the com.ibm.commerce.widgets.controls extension point.

Examples:


   
 <extension point=
 "com.ibm.commerce.telesales.widgets.tabFolderDefinitions"
 >
      
 <tabFolderDefinition id=
 "findCustomerAdvancedTabFolderDefinition.B2C"
 >
         
 <tabItem
            controlId=
 "customerAdvancedPage1Composite"
 
            text=
 "CustomerAdvPage1.title"
 />
         
 <tabItem
            controlId=
 "customerAdvancedPage2Composite"
 
            text=
 "CustomerAdvPage2.title"
 />
         
 <tabItem
            controlId=
 "customerAdvancedPage3Composite"
 
            text=
 "CustomerAdvPage3.title"
 />
      
 </tabFolderDefinition>
      
 <tabFolderDefinition id=
 "findCustomerAdvancedTabFolderDefinition.B2B"
 >
         
 <tabItem
            controlId=
 "customerAdvancedPage4Composite"
 
            text=
 "CustomerAdvPage4.title"
 />
         
 <tabItem
            controlId=
 "customerAdvancedPage2Composite"
 
            text=
 "CustomerAdvPage2.title"
 />
         
 <tabItem
            controlId=
 "customerAdvancedPage3Composite"
 
            text=
 "CustomerAdvPage3.title"
 />
      
 </tabFolderDefinition>
   
 </extension>

API Information:

Tab folder definitions can be created using the tab folder definition factory. Refer to

com.ibm.commerce.telesales.widgets.composites.TabFolderDefinitionFactory

for more information. Normally a tab folder definition is not constructed directly but is referenced by the

tabFolderDefinitionId

attribute of a tab folder control declaration. Refer to the

com.ibm.commerce.telesales.widgets.controls

extension point for more information.

Supplied Implementation:

Many of the editors, dialogs, and views provided with IBM Sales Center have declared their user interface composites using the tabFolderDefinitions extension point.