Gidday All,
Am having trouble accessing elements of nested or container.
Code is attached see below.
Basically this is our flexible format template. On a page one can have any number of headings, paragraphs, drop down lists, bulleted lists columns and tables. This works fine.
Now the problem occurs when one chooses columns. I would like to make available any number of headings paragraphs, drop down lists, bulleted lists within a column of data.
When I build a dcr to test this with for example two columns chosen a heading and paragraph in each. Only the heading element appears on the preview page. The paragraph text is not returned. If from the dcr you remove the headings from each column leaving the paragraphs then the paragraph text appears in the output proving that I have access to the paragraph text.
Is what Im trying to do possible?
Any help appreciated
Thank You
Colin
**** Start DCT
<?xml version="1.0" standalone="no"?>
<!DOCTYPE data-capture-requirements SYSTEM "datacapture5.0.dtd">
<data-capture-requirements type="content" name="APHRWebMainPage">
<ruleset name="MainPage">
<description>Use this template to create Your Career 'broker'
pages. Broker pages are the main category pages just under the
top page.</description>
<item name="Section">
<replicant min="1" max="99" default="0" combination="or">
<container name="Heading" combination="and">
<item name="Heading">
<description>HEADING: Enter the heading text.</description>
<text size="50" required="t" validation-regex="\S+"/>
</item>
<item name="Heading size">
<description>HEADING: Select the heading size.</description>
<select size="1" required="t">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cp3dct005.ipl"/>
</select>
</item>
<item name="Heading color">
<description>HEADING: Select the heading color.</description>
<select size="1" required="t">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cp3dct006.ipl"/>
</select>
</item>
</container>
<container name="Paragraph" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Paragraph alignment">
<description>PARAGRAPH: Select the desired alignment for the paragraph.</description>
<radio required="t">
<option label="Left" selected="t"/>
<option label="Center"/>
<option label="Right"/>
</radio>
</item>
<item name="Paragraph text">
<description>PARAGRAPH: Enter paragraph data. 'Tags' are allowed (see help).</description>
<textarea cols="55" rows="6" wrap="virtual" required="t" validation-regex="[^ \t]+">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct102.ipl/paragraph" label="Tag help..." window-features="width=700,height=450,resizable=yes,toolbar=no,scrollbars=yes"/>
</textarea>
</item>
</container>
<container name="Drop Down List" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Option" combination="and" colspan="2">
<replicant min="1" max="99" default="1">
<item name="Link Text" rowcontinue="t">
<description>LINK TEXT: Enter the text that users will see.</description>
<text size="25" required="t" validation-regex="\S+"/>
</item>
<item name="URL">
<description>URL: Enter the link information.</description>
<text size="50" required="t" validation-regex="\S+"/>
</item>
</replicant>
</item>
</container>
<container name="Bullets" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Bullet style">
<description>BULLETS: Select the bullet style.</description>
<select size="1" required="t">
<option label="None"/>
<option label="Bulleted" selected="t"/>
<option label="Numbered"/>
<option label="Alphabetic"/>
<option label="Noindent"/>
</select>
</item>
<item name="Bullet items">
<description>BULLETS: Enter each item followed by a <b>semicolon</b> (

. For clarity, you can put each item on a new line by using the 'Enter' key <b>after the semicolon</b> (this is optional). 'Tags' are allowed in list items (see help).</description>
<textarea cols="55" rows="6" wrap="virtual" required="t" validation-regex="\S+">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct102.ipl/bullets" label="Tag help..." window-features="width=700,height=450,resizable=yes,toolbar=no,scrollbars=yes"/>
</textarea>
</item>
</container>
<container name="Columns" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Columns border">
<description>COLUMNS: Select a border style.</description>
<select size="1" required="t">
<option label="Border"/>
<option label="Column separator"/>
<option label="No border" selected="t"/>
</select>
</item>
<item name="Column">
<replicant default="2" min="1" max="4" combination="and">
<item name="Section">
<replicant default="2" min="1" max="4" combination="or">
<container name="Heading" combination="and">
<item name="Heading">
<description>HEADING: Enter the heading text.</description>
<text size="50" required="t" validation-regex="\S+"/>
</item>
<item name="Heading size">
<description>HEADING: Select the heading size.</description>
<select size="1" required="t">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cp3dct005.ipl"/>
</select>
</item>
<item name="Heading color">
<description>HEADING: Select the heading color.</description>
<select size="1" required="t">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cp3dct006.ipl"/>
</select>
</item>
</container>
<container name="Paragraph" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Paragraph alignment">
<description>PARAGRAPH: Select the desired alignment for the paragraph.</description>
<radio required="t">
<option label="Left" selected="t"/>
<option label="Center"/>
<option label="Right"/>
</radio>
</item>
<item name="Paragraph text">
<description>PARAGRAPH: Enter paragraph data. 'Tags' are allowed (see help).</description>
<textarea cols="55" rows="6" wrap="virtual" required="t" validation-regex="[^ \t]+">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct102.ipl/paragraph" label="Tag help..." window-features="width=700,height=450,resizable=yes,toolbar=no,scrollbars=yes"/>
</textarea>
</item>
</container>
<container name="Drop Down List" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Option" combination="and" colspan="2">
<replicant min="1" max="99" default="1">
<item name="Link Text" rowcontinue="t">
<description>LINK TEXT: Enter the text that users will see.</description>
<text size="25" required="t" validation-regex="\S+"/>
</item>
<item name="URL">
<description>URL: Enter the link information.</description>
<text size="50" required="t" validation-regex="\S+"/>
</item>
</replicant>
</item>
</container>
<container name="Bullets" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Bullet style">
<description>BULLETS: Select the bullet style.</description>
<select size="1" required="t">
<option label="None"/>
<option label="Bulleted" selected="t"/>
<option label="Numbered"/>
<option label="Alphabetic"/>
<option label="Noindent"/>
</select>
</item>
<item name="Bullet items">
<description>BULLETS: Enter each item followed by a <b>semicolon</b> (

. For clarity, you can put each item on a new line by using the 'Enter' key <b>after the semicolon</b> (this is optional). 'Tags' are allowed in list items (see help).</description>
<textarea cols="55" rows="6" wrap="virtual" required="t" validation-regex="\S+">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct102.ipl/bullets" label="Tag help..." window-features="width=700,height=450,resizable=yes,toolbar=no,scrollbars=yes"/>
</textarea>
</item>
</container>
<container name="Table" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Table number of rows">
<description>TABLE: Enter the number of rows in the table (<b>before</b> pressing the Table entry button).</description>
<text size="3" maxlength="3" required="t" validation-regex="^(?:[1-9]|[1-9]\d)$">
<default>2</default>
</text>
</item>
<item name="Table number of columns">
<description>TABLE: Enter the number of columns in the table (<b>before</b> pressing the Table entry button).</description>
<text size="3" maxlength="3" required="t" validation-regex="^(?:[1-9]|[1-9]\d)$">
<default>2</default>
</text>
</item>
<item name="Table data">
<description>TABLE: Display only field. <b>DO NOT EDIT THIS FIELD</b>.</description>
<textarea cols="1" rows="1" wrap="virtual">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct103.ipl/|R=Table%20number%20of%20rows|C=Table%20number%20of%20columns|D=Table%20data|" label="Table entry..." window-features="width=800,height=600,resizable=yes,toolbar=no,scrollbars=yes" />
</textarea>
</item>
</container>
<container name="Image" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Image file">
<description>IMAGE: Enter the image URL for the image <b>or</b> or use the file dialog to select a local image file.</description>
<browser size="50" required="t" extns="gif,jpg" initial-dir="HTMLfiles" />
</item>
<item name="Image ALT text">
<description>IMAGE: Enter the ALT text for the image.</description>
<text size="50" />
</item>
<item name="Image alignment">
<description>IMAGE: Select the desired alignment of the image. When wrapped - it wraps with the <b>NEXT</b> section.</description>
<select size="1" required="t">
<option label="Left - wrapped" />
<option label="Right - wrapped" selected="t" />
<option label="Left" />
<option label="Center" />
<option label="Right" />
</select>
</item>
<item name="Image width">
<description>IMAGE: Enter the width of the image (in pixels).</description>
<text size="4" maxlength="4" required="t" validation-regex="^(?:[1-9]|[1-9]\d{1,2})$">
<default>180</default>
</text>
</item>
<item name="Image height">
<description>IMAGE: Enter the height of the image (in pixels).</description>
<text size="4" maxlength="4" required="t" validation-regex="^(?:[1-9]|[1-9]\d{1,2})$">
<default>120</default>
</text>
</item>
<item name="Image link">
<description>IMAGE: Enter the URL that the image links to when clicked (optional). Just enter the URL itself - do not use the u[...] 'tag' format.</description>
<text size="50" validation-regex="\S+" />
</item>
</container>
<container name="Horizontal line" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Horizontal line width">
<description>HORIZONTAL LINE: Select the desired line width as a percent of window width.</description>
<text size="5" maxlength="5" required="t" validation-regex="^(?:[1-9]|[1-9]\d|100)%$">
<default>100%</default>
</text>
</item>
</container>
<container name="Anchor point" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Anchor point">
<description>ANCHOR POINT: Enter an identifier for this anchor point. You can then use the <b>a[click here text;identifier]</b> tag to jump to this spot from anywhere in the page.</description>
<text size="15" maxlength="15" required="t" validation-regex="^[\-\w]+$" />
</item>
</container>
<container name="Embedded file" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Embedded file name">
<description>EMBEDDED FILE: Enter the file name to embed <b>or</b> use the file dialog to select a file.</description>
<browser size="40" maxlength="90" required="t" extns="htm,html" initial-dir="embeddedhtml" />
</item>
</container>
</replicant>
</item>
</replicant>
</item>
</container>
<container name="Table" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Table number of rows">
<description>TABLE: Enter the number of rows in the table (<b>before</b> pressing the Table entry button).</description>
<text size="3" maxlength="3" required="t" validation-regex="^(?:[1-9]|[1-9]\d)$">
<default>2</default>
</text>
</item>
<item name="Table number of columns">
<description>TABLE: Enter the number of columns in the table (<b>before</b> pressing the Table entry button).</description>
<text size="3" maxlength="3" required="t" validation-regex="^(?:[1-9]|[1-9]\d)$">
<default>2</default>
</text>
</item>
<item name="Table data">
<description>TABLE: Display only field. <b>DO NOT EDIT THIS FIELD</b>.</description>
<textarea cols="1" rows="1" wrap="virtual">
<cgi-callout url="/iw-bin/iw_cgi_wrapper.cgi/cp3dct103.ipl/|R=Table%20number%20of%20rows|C=Table%20number%20of%20columns|D=Table%20data|" label="Table entry..." window-features="width=800,height=600,resizable=yes,toolbar=no,scrollbars=yes" />
</textarea>
</item>
</container>
<container name="Image" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Image file">
<description>IMAGE: Enter the image URL for the image <b>or</b> or use the file dialog to select a local image file.</description>
<browser size="50" required="t" extns="gif,jpg" initial-dir="HTMLfiles" />
</item>
<item name="Image ALT text">
<description>IMAGE: Enter the ALT text for the image.</description>
<text size="50" />
</item>
<item name="Image alignment">
<description>IMAGE: Select the desired alignment of the image. When wrapped - it wraps with the <b>NEXT</b> section.</description>
<select size="1" required="t">
<option label="Left - wrapped" />
<option label="Right - wrapped" selected="t" />
<option label="Left" />
<option label="Center" />
<option label="Right" />
</select>
</item>
<item name="Image width">
<description>IMAGE: Enter the width of the image (in pixels).</description>
<text size="4" maxlength="4" required="t" validation-regex="^(?:[1-9]|[1-9]\d{1,2})$">
<default>180</default>
</text>
</item>
<item name="Image height">
<description>IMAGE: Enter the height of the image (in pixels).</description>
<text size="4" maxlength="4" required="t" validation-regex="^(?:[1-9]|[1-9]\d{1,2})$">
<default>120</default>
</text>
</item>
<item name="Image link">
<description>IMAGE: Enter the URL that the image links to when clicked (optional). Just enter the URL itself - do not use the u[...] 'tag' format.</description>
<text size="50" validation-regex="\S+" />
</item>
</container>
<container name="Horizontal line" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Horizontal line width">
<description>HORIZONTAL LINE: Select the desired line width as a percent of window width.</description>
<text size="5" maxlength="5" required="t" validation-regex="^(?:[1-9]|[1-9]\d|100)%$">
<default>100%</default>
</text>
</item>
</container>
<container name="Anchor point" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Anchor point">
<description>ANCHOR POINT: Enter an identifier for this anchor point. You can then use the <b>a[click here text;identifier]</b> tag to jump to this spot from anywhere in the page.</description>
<text size="15" maxlength="15" required="t" validation-regex="^[\-\w]+$" />
</item>
</container>
<container name="Embedded file" combination="and">
<inline command="c:/iw-home/iw-perl/bin/iwperl.exe c:/iw-home/cp3/perl/cj_includefile.ipl c:/iw-home/cp3/perl/cj_testinclude.txt" />
<item name="Embedded file name">
<description>EMBEDDED FILE: Enter the file name to embed <b>or</b> use the file dialog to select a file.</description>
<browser size="40" maxlength="90" required="t"
extns="htm,html" initial-dir="embeddedhtml" />
</item>
</container>
</replicant>
</item>
<!-- include the JavaScript for FormAPI usage -->
<script language="javascript" location="template-type" src="../../common.js" />
<script language="javascript" location="template-type" src="mainpage.js" />
</ruleset>
</data-capture-requirements>
**** End DCT
**** Start Presentation Template
<?xml version="1.0" encoding="UTF-8"?>
<iw_pt name="FlexibleFormat">
<![CDATA[
<!DOCTYPE html SYSTEM "
http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"><html>
<head>
<title><iw_value name='$docProps{"title"}'/></title>
</head>
<body bgcolor="#ffffff" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<!-- From DCR -->
<a name="navskip" />
<table width="95%" cellspacing="0" cellpadding="0" border="0">
<tr><td>
]]>
<iw_iterate list='dcr.Section' var='ffSect' iteration='count'>
<iw_iterate list='ffSect.*' var='sect'>
<iw_ifcase name='sect'>
<!-- - - - - - - - Section.Heading - - - - - - - - - - -->
<iw_case type='Heading'>
<iw_perl><![CDATA[
$sectionOut = $html->getHeadingHtml(iwpt_dcr_value('sect.Heading size'),
iwpt_dcr_value('sect.Heading color'),
iwpt_dcr_value('sect.Heading'));
$empOut .= $sectionOut; # employee page
$manOut .= $sectionOut; # manager page
$csrOut .= $sectionOut; # csr page
]]></iw_perl>
</iw_case>
<!-- - - - - - - - Section.Paragraph - - - - - - - - - - -->
<iw_case type='Paragraph'>
<iw_perl><![CDATA[
$sectionOut = $html->getParagraphHtml(iwpt_dcr_value('sect.Paragraph alignment'),
iwpt_dcr_value('sect.Paragraph text'));
$thisView = iwpt_dcr_value('sect.Restrict view to');
if( $thisView eq "employee" ){
$empPageOn = 1;
$empOut .= $sectionOut;
$manOut .= $sectionOut;
$csrOut .= $sectionOut;
}
if( $thisView eq "manager" ){
$manPageOn = 1;
$manOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
$csrOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
}
if( $thisView eq "csr" ){
$csrPageOn = 1;
$csrOut .= '<div style="background-color: #999999;">CSR Note:<br />'. $sectionOut .'</div>';
}
]]></iw_perl>
</iw_case>
<!-- - - - - - - - Section.Drop Down List - - - - - - - - - - -->
<iw_case type='Drop Down List'>
<iw_perl><![CDATA[
@oTxt = ();
@oURL = ();
$thisView = iwpt_dcr_value('sect.Restrict view to');
iwpt_output("Drop Down List: view restricted to: $thisView<br />");
]]></iw_perl>
<iw_iterate var='Option' list='sect.Option' iteration="oCnt">
<iw_perl><![CDATA[
# loop through options - save linktext and url
push(
@oTxt, iwpt_dcr_value('Option.Link Text') );
push(
@oURL, iwpt_dcr_value('Option.URL') );
]]></iw_perl>
</iw_iterate>
<iw_perl><![CDATA[
$sectionOut = $html->getDropDownHtml(\
@oTxt, \
@oURL);
if( $thisView eq "employee" ){
$empPageOn = 1;
$empOut .= $sectionOut;
$manOut .= $sectionOut;
$csrOut .= $sectionOut;
}
if( $thisView eq "manager" ){
$manPageOn = 1;
$manOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
$csrOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
}
if( $thisView eq "csr" ){
$csrPageOn = 1;
$csrOut .= '<div style="background-color: #999999;">CSR Note:<br />'. $sectionOut .'</div>';
}
]]></iw_perl>
</iw_case>
<!-- - - - - - - - Section.Bullets - - - - - - - - - - -->
<iw_case type='Bullets'>
<iw_perl><![CDATA[
$sectionOut = $html->getBulletsHtml(iwpt_dcr_value('sect.Bullet style'), iwpt_dcr_value('sect.Bullet items'));
$thisView = iwpt_dcr_value('sect.Restrict view to');
if( $thisView eq "employee" ){
$empPageOn = 1;
$empOut .= $sectionOut;
$manOut .= $sectionOut;
$csrOut .= $sectionOut;
}
if( $thisView eq "manager" ){
$manPageOn = 1;
$manOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
$csrOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
}
if( $thisView eq "csr" ){
$csrPageOn = 1;
$csrOut .= '<div style="background-color: #999999;">CSR Note:<br />'. $sectionOut .'</div>';
}
]]></iw_perl>
</iw_case>
<!-- - - - - - - - Section.Columns - - - - - - - - - - -->
<iw_case type='Columns'>
<iw_perl><![CDATA[
# inititalize and get the column border value
$cBor = iwpt_dcr_value('sect.Columns border');
@cDat = ();
$colOut = "";
$thisView = iwpt_dcr_value('sect.Restrict view to');
iwpt_output("Column view restricted to $thisView<br />");
]]></iw_perl>
<iw_iterate var='col' list='sect.Column' iteration='column'>
<iw_perl><![CDATA[
my $columnOut = "";
]]></iw_perl>
<iw_iterate list='col.Section.*' var='colData'>
<iw_ifcase name='colData'>
<iw_case type='Heading'>
<iw_perl><![CDATA[
$sectionOut = $html->getHeadingHtml(iwpt_dcr_value('colData.Heading size'),
iwpt_dcr_value('colData.Heading color'),
iwpt_dcr_value('colData.Heading'));
]]></iw_perl>
</iw_case>
<iw_case type='Paragraph'>
<iw_perl><![CDATA[
$sectionOut = $html->getParagraphHtml(iwpt_dcr_value('colData.Paragraph alignment'),
iwpt_dcr_value('colData.Paragraph text'));
]]></iw_perl>
</iw_case>
<iw_case type='Drop Down List'>
</iw_case>
<iw_case type='Bullets'>
$sectionOut = $html->getBulletsHtml(iwpt_dcr_value('colData.Bullet style'), iwpt_dcr_value('colData.Bullet items'));
</iw_case>
<iw_case type='Table'>
</iw_case>
<iw_case type='Image'>
</iw_case>
<iw_case type='Horizontal line'>
</iw_case>
<iw_case type='Anchor point'>
</iw_case>
<iw_case type='Embedded file'>
</iw_case>
</iw_ifcase>
<iw_perl><![CDATA[
# loop for each column - save columnData
$columnOut .= $sectionOut;
]]></iw_perl>
</iw_iterate>
<iw_perl><![CDATA[
# loop for each column - save columnData
push(
@cDat, $columnOut);
]]></iw_perl>
</iw_iterate>
<iw_perl><![CDATA[
# put out the column HTML
$sectionOut = $html->getColumnsHtml($cBor,\
@cDat);
if( $thisView eq "employee" ){
$empPageOn = 1;
$empOut .= $sectionOut;
$manOut .= $sectionOut;
$csrOut .= $sectionOut;
}
if( $thisView eq "manager" ){
$manPageOn = 1;
$manOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
$csrOut .= '<div style="background-color: #cccccc;">Managers Note:<br />'. $sectionOut .'</div>';
}
if( $thisView eq "csr" ){
$csrPageOn = 1;
$csrOut .= '<div style="background-color: #999999;">CSR Note:<br />'. $sectionOut .'</div>';
}
]]></iw_perl>
</iw_case>
<iw_case type='Table'>
</iw_case>
<iw_case type='Image'>
</iw_case>
<iw_case type='Horizontal line'>
</iw_case>
</iw_ifcase>
</iw_iterate>
</iw_iterate>
<![CDATA[
</body>
</html>
]]>
</iw_pt>
**** End Presentation template
Edited by Strider on 11/24/03 04:53 PM (server time).