Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Content presenter template - Multiple items

Brindha SadagopanApr 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 Brindha Sadagopan 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
816 views