BasicInfrastructure.xml

The BasicInfrastructure.xml file on the server side is designed to keep the manageable page information for all end-users. The tab page generated by this definition file is read-only to end-users. It means that end-users can not add services to this page, or close this tab page and so on. The attributes in this definition file will not be affected by other XML files.

Here is an example of BasicInfrastructure.xml:

<?xml version="1.0" encoding="UTF-8"?>
<BasicInfrastructure xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://btt.cn.ibm.com/61/Web20" xsi:schemaLocation="http://btt.cn.ibm.com/61/Web20 ../BTTWeb20/schema/BasicInfrastructure.xsd" >
  <Page id="bp">
	  <Tab id="BTT_Tab1"
      logo="theme/tablogo/1.gif" title="basic_tab">
      <Column id="BTT_Tab1_Col1" width="90%">
        <Row id="tab1_col1_row1" title="basic_service" />
      </Column>
    </Tab>
  </Page>
</BasicInfrastructure>

Parameters specification for each tag are as follows:

Table 1. Parameters specification for BasicInfrastructure
Parameter Description
Page The basic Page element, mandatory
Table 2. Parameters specification for Page
Parameter Description
id The Page id, mandatory and unique
Tab The basic Tab element in the basic Page element
Table 3. Parameters specification for Tab
Parameter Description
id The Page id, mandatory and unique
logo The URL of the tab logo. If no logo is needed, you can set the value as an empty string. Mandatory
title the title of the basic Tab element, it will be the key of the widget name. You have to define the value in the resource file for I18N & G11N, for example Lang-en_US.js, to display the Tab name. If no Tab name is needed, you can set the value as an empty string. Mandatory
Column The basic Column element in the basic Tab element, mandatory
Table 4. Parameters specification for Column
Header Header
id The Column id, mandatory and unique
width The width of the Column, mandatory
Row The Row element of the basic Column element, mandatory
Table 5. Parameters specification for Row
Header Header
id The Row id, mandatory and unique
title The Row title, it will be the key of the widget name. You have to define the value in the resource file for I18N & G11N, for example Lang-en_US.js, to display the widget name. If no widget name is needed, you can set the value as an empty string. Mandatory