Portals (MOSC)

MOSC Banner

Content presenter dsiplay tempates

edited Oct 25, 2013 5:06AM in Portals (MOSC) 3 commentsAnswered
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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center