Documentation Center

components.xml

The components.xml configuration file creates mappings for virtual components, including panels and controls. The file also includes properties for the components and defines the context for specific sets of controls.

The LiveContent S1000D installer delivers the default version of this file to the skins/Carbon/templates/config subdirectory under the LiveContent S1000D program file folder.

components.xml example

The following is a fragment of a components.xml file showing the virtual items and properties defined for a component named cvMedia.

<set id="main">

      ...										

      <component id="cvSearch">

           <item virtual="searchPanel" target="tocPanel" type="panel"/>

           <item virtual="searchTab" target="CVTab_search" type="control"/>  

           <item virtual="searchStart" target="CVCtrl_start" type="control"/>

           <item virtual="searchStop" target="CVCtrl_stopSearch" type="control"/>

           <item virtual="searchClear" target="CVCtrl_clear" type="control"/>  

           <item virtual="searchHighlight" target="CVCtrl_highlightSearch" type="control"/>  

           <item virtual="searchHide" target="CVCtrl_hideSearch" type="control"/>  

           <item virtual="searchToggleTOC" target="CVCtrl_toggleTOCSearch" type="control"/>  

           <item virtual="searchToggleFT" target="CVCtrl_toggleFTSearch" type="control"/>  

           <item virtual="searchToggleCat" target="CVCtrl_toggleCatSearch" type="control"/>  

           <item virtual="searchToggleResults" target="CVCtrl_toggleResultsSearch" type="control"/>  

           <item virtual="okButton" target="CVCtrl_OK" type="control"/>

           <item virtual="cancelButton" target="CVCtrl_cancel" type="control"/>                             

           <item virtual="ww_panel" target="modalContent" type="panel"/>                                

     ...		

     </component>