Hi,
i need some help in calling replicant fields in a tpl file. when i'm giving the general format dcr.relatedinfo.title and so on only the first replicant is getting displayed,
how do i change the .tpl file so that i can view even the 2nd replicant when i generate a page.
Attached is my .tpl file also.
Thanks
(the .cfg file)
<?xml version="1.0" encoding ="UTF-8" standalone="no"?>
<!DOCTYPE datacapture SYSTEM "datacapture5.0.dtd">
<data-capture-requirements type="content" name="Products">
<ruleset name="Products">
<description>
Enter the required Information
</description>
<container name="Products">
<item name="Product Title">
<label>Product Title</label>
<database data-type="VARCHAR(100)"/>
<text size="50" maxlength="100" />
</item>
<item name="Headline">
<label>Headline</label>
<database data-type="VARCHAR(100)"/>
<text size="50" maxlength="100" />
</item>
<item name="Description">
<textarea required="t" rows="15" cols="64" external-editor="visualformat" />
</item>
<item name="MoreDetails Link">
<label>MoreDetails_Link</label>
<browser required="t" size="50" maxlength="100"
initial-dir="/products/moredetails/" />
</item>
<item name="Link to sla">
<browser size="50" maxlength="100"
initial-dir="/products/sla/" />
</item>
<item name="RelatedSolution">
<label>Related Solution</label>
<replicant min="1" max="5" default="1">
<item name="solution_name">
<select>
<inline command="/apps/iw-home/iw-perl/bin/iwperl /apps/iw-home/examples/Templating
/config/get_sol.ipl" />
</select>
</item>
<item name="RelatedSolution Link">
<label>RelSolution_Link</label>
<browser required="t" size="50" maxlength="100"
initial-dir="/products/solutions/" />
</item>
</replicant>
</item>
<item name="PDF">
<replicant min="1" max="5">
<item name="Title">
<text size="50" maxlength="100" />
</item>
<item name="Description1">
<textarea required="t" rows="10" cols="64" external-editor="visualformat" />
</item>
<item name="Link to PDF">
<browser required="t" size="50" maxlength="100"
initial-dir="/library/pdf/" />
</item>
</replicant>
</item>
<item name="Locale">
<text size="2" maxlength="10">
<default>US</default>
</text>
</item>
<item name="Language">
<text size="2" maxlength="10">
<default>EN</default>
</text>
</item>
</container>
</ruleset>
</data-capture-requirements>
Edited by krishna1288 on 03/18/03 04:50 PM (server time).