Home
TeamSite
TeamSite, LiveSite and OpenDeploy
param_val in iw_include
Andy Knipp
OK, so I am pulling my hair out. TS 6.7.1 Win2K
PT calls include with:
[html]
itemCode_param_val = 'dcr.Root.TopNav2.TopNavSelect2'
mode = 'ptlocal' />
[/html]
I use this module from multiple spots in the PT (with different itemCode)
In the PT module I do this:
[html]
my $itemCode = $iw_arg{itemCode};
chomp($itemCode);
my $anchor = $itemCode.".ScrollingText.Anchor";
iwpt_output("#####$anchor#####");
%%%%%%%%{iw_value name='$anchor' /}%%%%%%%%%
*********{iw_value name='dcr.Root.TopNav2.TopNavSelect2.ScrollingText.Anchor' /}********
[/html]
The value of dcr.Root.TopNav2.TopNavSelect2.ScrollingText.Anchor is another
The output is:
[html]
#####
.ScrollingText.Anchor#####
%%%%%%%%
.ScrollingText.Anchor%%%%%%%%%
*********another********
[/html]
So, when I hardcode the DCR Item it works, but when I pass in part and try to append the rest, it fails. I have been able to pass the whole thing in, but I need to pass the container
Any clues/tips/pointers/RTFMs greatly appreciated.
Andy
Find more posts tagged with
Comments
There are no comments yet