I have just finished up a large DCT that is used for a parent-child navigation system that have been developing. It has nine levels of nesting and each 'item' has one choice element. The problem is, its very slow loading (a new form entry). I imagine that is all of the javascript code executing/loading since I didn't use any itemrefs,etc... The choice elements seem to be what has really increased the load time. Anyone have any ideas on how I can improve load times or optimize this DCT? I'll only post a portion of the DCT since its 439 lines long in its current state.
Environment:
TS 6.5 SP1
Windows 2000
datacapture6.0.dtd
datacapture.cfg:
<data-capture-requirements>
<ruleset name="Navigation DCT">
<description>This is the form used for creating site navigation.</description>
<root-container name="navigation" location="navigation">
<label>Intranet Page List of Links Content Entry Form</label>
<container name="level0" location="level0" max="unbounded" min="0" default="0">
<label>Level 0 Navigation</label>
<choice name="type">
<label>Navigation Entry</label>
<container name="item" location="item">
<label>Item Type</label>
<item name="collapse" pathid="collapse">
<label>Collapse Level</label>
<radio>
<option label="1" value="1" selected="t"/>
<option label="2" value="2" />
<option label="3" value="3" />
<option label="4" value="4" />
</radio>
</item>
<item name="text" pathid="text">
<label>Display Text/Alt</label>
<text maxlength="0" required="t" size="60" />
</item>
<item name="link" pathid="link">
<label>Link</label>
<browser size="75" required="t" />
</item>
<item name="security" pathid="security">
<label>Security Icon</label>
<radio>
<option label="Yes" value="t"/>
<option label="No" value="f" selected="t"/>
</radio>
</item>
<container name="level1" location="level1" max="unbounded" min="0" default="0">
<label>Level 1 Navigation</label>
<choice name="type">
<label>Navigation Entry</label>
<container name="item" location="item">
<label>Item Type</label>
<item name="collapse" pathid="collapse">
<label>Collapse Level</label>
<radio>
<option label="1" value="1" selected="t"/>
<option label="2" value="2"/>
<option label="3" value="3"/>
<option label="4" value="4"/>
</radio>
</item>
<item name="text" pathid="text">
<label>Display Text/Alt</label>
<text maxlength="0" required="t" size="60" />
</item>
<item name="link" pathid="link">
<label>Link</label>
<browser size="75" required="t" />
</item>
<item name="security" pathid="security">
<label>Security Icon</label>
<radio>
<option label="Yes" value="t"/>
<option label="No" value="f" selected="t"/>
</radio>
</item>
</container>
<container name="list" location="list">
<label>DCR link</label>
<item name="item_dcr" pathid="item_dcr">
<label>Nav Item DCR</label>
<browser size="75" required="t" initial-dir="/templatedata/employeesite_cat/navigation_item_itype/data" ceiling-dir="/templatedata/employeesite_cat/navigation_item_itype/data"/>
</item>
More nesting here... Same as above.
</container>
</choice>
</container>
</container>
<container name="list" location="list">
<label>DCR link</label>
<item name="item_dcr" pathid="item_dcr">
<label>Nav Item DCR</label>
<browser size="75" required="t" initial-dir="/templatedata/employeesite_cat/navigation_item_itype/data" ceiling-dir="/templatedata/employeesite_cat/navigation_item_itype/data"/>
</item>
</container>
</choice>
</container>
</root-container>
Darin Kuntze
Senior Programming Analyst
First National Bank Nebraska, Inc.