Content presenter dsiplay tempates
Hi There,
I can access JSF EL using the following format ${var}, assuming 'var' is a variable. E.g.
<h2>${var}</h2>
But when it come to ADF EL such as var="nodes" in the below sample code
<dt:contentListTemplateDef var="nodes">
<ol>
<af:iterator var="node" value="#{nodes}" varStatus="vs" rendered="#{not empty nodes}">
<li data-target="#carousel" class="#{vs.index}">
<a href="" title="">
<af:outputText value="#{node.propertyMap['TEST_RD:Title'].asTextHtml}" id="otdt0" escape="false"/>
</a>
</li>
</af:iterator>
</ol>
</dt:contentListTemplateDef>
I want to access #{vs.index} in my HTML code in terms of ADF EL, please find the below code snippet
I can access JSF EL using the following format ${var}, assuming 'var' is a variable. E.g.
<h2>${var}</h2>
But when it come to ADF EL such as var="nodes" in the below sample code
<dt:contentListTemplateDef var="nodes">
<ol>
<af:iterator var="node" value="#{nodes}" varStatus="vs" rendered="#{not empty nodes}">
<li data-target="#carousel" class="#{vs.index}">
<a href="" title="">
<af:outputText value="#{node.propertyMap['TEST_RD:Title'].asTextHtml}" id="otdt0" escape="false"/>
</a>
</li>
</af:iterator>
</ol>
</dt:contentListTemplateDef>
I want to access #{vs.index} in my HTML code in terms of ADF EL, please find the below code snippet
0