Skip to Main Content

Application Development Software

Content presenter template - Multiple items

User_QUFP4Apr 5 2018 — edited Apr 17 2018

Hello,

I am trying to create Content presenter template for multiple content items for WCP 12c.

The below code works - It is listing out all the content items in a folder. (Including Documents and Folder)

But when I click on the folder hyperlink, I'm not getting the folder contents instead I am getting the same page.

   <dt:contentListTemplateDef var="nodes">

      <af:panelGroupLayout layout="scroll"    id="nodeListPanel"   valign="middle"

                           rendered="#{not empty nodes}">

          <af:iterator rows="0" var="node" varStatus="iterator"    value="#{nodes}"     id="it0" >

       <dt:contentTemplate node="#{node}"

                                view="oracle.webcenter.content.templates.default.list.item"

                                nodesHint="#{nodes}"

                                id="ct0"/>

          </af:iterator>

</af:panelGroupLayout>

</dt:contentListTemplateDef>

I saw #{node.isFolder} returns a boolen value if the node is a folder.. but I am not sure how to use it here. Please advise.

Thanks as always!

This post has been answered by User_QUFP4 on Apr 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2018
Added on Apr 5 2018
21 comments
562 views