向导进度条配置文件

CreateEmploymentWizard.properties 包含向导的配置。向导进度条配置文件显示向导进度条的配置文件。向导具有两个页面,并且该配置指定要出现在每个页面的进度条、步骤标题和步骤描述中的文本。

图 1. CreateEmploymentWizard.properties
Number.Wizard.Pages=2

CreateEmploymentWizard_pageOne.Wizard.Item.Text=Employer Details
CreateEmploymentWizard_pageOne.Wizard.Page.Title=
  Step 1: Employer Details
CreateEmploymentWizard_pageOne.Wizard.Page.Desc=
  Capture some details about Employer
Wizard.PageID.1=CreateEmploymentWizard_pageOne

CreateEmploymentWizard_pageTwo.Wizard.Item.Text=Employment Dates
CreateEmploymentWizard_pageTwo.Wizard.Page.Title=Step 2:
  Employment Period
CreateEmploymentWizard_pageTwo.Wizard.Page.Desc=
  Record the time person worked for employer
Wizard.PageID.2=CreateEmploymentWizard_pageTwo

向导配置文件是通过将下列各行添加至 AppResource.dmx 来装入到数据中的:

<row>
    <attribute name="resourceid">
      <value>1</value>
    </attribute>
    <attribute name="localeIdentifier">
      <value/>
    </attribute>
    <attribute name="name">
      <value>CreateEmploymentWizard</value>
    </attribute>
    <attribute name="contentType">
      <value>text/plain</value>
    </attribute>
    <attribute name="contentDisposition">
      <value>inline</value>
    </attribute>
    <attribute name="content">
      <value>./blob/CreateEmploymentWizard.properties</value>
    </attribute>
    <attribute name="internal">
      <value>1</value>
    </attribute>
    <attribute name="lastWritten">
      <value>2008-06-13-19.29.40</value>
    </attribute>
    <attribute name="versionNo">
      <value>1</value>
    </attribute>
    <attribute name="category">
      <value>RS_PROP</value>
    </attribute>
  </row>