Hi
is there anyway we could set the count value of iw_repeat tag dynamically.
i want the array length to be set as count value
[html]
@dcrList=`ls -1 -R /default/main/Tutorial/Mysite/WORKAREA/content/templatedata/Mysite/Poll/data/*.*`;
my $leng = scalar(
@dcrList);
for ($i=0;$i<$leng;$i++){
chomp $dcrList[$i];
}
$j=0;
$id=qq().$CDATA_open.iwpt_dcr_value('poll.Poll.PollContainer.PollID').$CDATA_close.qq();
print "$id\n";
$j++;
[/html]
In the above code , i want the count of iw_repeat tag to se set as the value of 'leng' variable.
could you please suggest me a way forward.
Regards,
Anand