精靈進度列配置檔

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>