Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Not able to process a component tpl
rish
Hi,
i am trying to include a tpl file as a component in my host tpl also im trying to pass a parameter which is being taken from the dcr loaded in the host tpl. as below:
<iw_include pt =
'rootpath/yellowbar.tpl' ><![CDATA[
$iw_param{rootcontainer.pageName} = iwpt_dcr_value('tmpdcr.rootcontainer.pageName');
]]>
and in the tpl it is used as:
<iw_value name='$iw_arg{rootcontaine.pageName}'/>
the error I am getting says " Could not process " the tpl file to which the param was passed.
please suggest something.
Find more posts tagged with
Comments
gzevin
in most of cases it's a syntax error(s) in your .tpl's that cause this error message.
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
rish
thanks Greg, i figured out the problem, it was with the tpl syntax as you suggested.
Adam Stoller
<iw_include pt =
'rootpath/yellowbar.tpl' ><![CDATA[
$iw_param{rootcontainer.pageName} = iwpt_dcr_value('tmpdcr.rootcontainer.pageName');
]]>and in the tpl it is used as:<iw_value name='$iw_arg{rootcontaine.pageName}'/>
Well, you seem to be openning up an
<iw_include>
tag without [showing] the closing
</iw_include>
tag - and your usage in the included template seems to have left off the
r
at the end of the parameter name - i.e.
$iw_arg{rootcontaine
r
.pageName}
- if you can verify that those are just mistakes in your post, as opposed to mistakes in your code - it would at least eliminate the simple problems...
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com