Custom content presenter template - multiple items

I am having an issue with using custom content presenter template...
Here are the steps I took:
*1. I created a single item display template veventItem_CP.jsff*
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <dt:contentTemplateDef var="node">
    <af:panelGroupLayout id="pgl1" layout="vertical">
      <af:outputText value="#{node.propertyMap['dDocTitle'].value}" id="ot1"/>
    </af:panelGroupLayout>
  </dt:contentTemplateDef>
</jsp:root>
and create a portal resource:
Content Repository Name: UCM
Content Type: IDC:Profile:Event
Content Type Default View: true
View ID: veventItem_CP
*2. I created multiple item display template veventsList_CP.jsff*
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <dt:contentListTemplateDef var="nodes" >
    <af:panelGroupLayout id="nodeListPanel" halign="left" layout="vertical" valign="middle" inlineStyle="text-align:left;">
      <af:iterator rows="0" id="i1" var="node" value="#{nodes}" varStatus="iterator"  >
          <af:commandLink text="#{node.propertyMap['dDocTitle'].value}" id="cl1"/>
          <dt:contentTemplate id="listitem" node="#{node}"
                view="veventItem_CP"
                nodesHint="#{node}"/>
      </af:iterator>
    </af:panelGroupLayout>
  </dt:contentListTemplateDef>
</jsp:root>
and create a Portal Resource:
Category Name: events
Category ID: *
Category Default View: true
View ID: veventsList_CP
*3. I drag and drop a folder from my UCM connection onto home.jspx and enter the following parameters into the binding:*
    <taskFlow id="eventsContentPresenter"
              taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
              activation="deferred"
              xmlns="http://xmlns.oracle.com/adf/controller/binding">
      <parameters>
        <parameter id="taskFlowInstId"
                   value="${'cd6c7cd6-2c74-4e6c-a711-a748d9abd0d8'}"/>
        <parameter id="datasourceType" value="${'dsTypeFolderContents'}"/>
        <parameter id="datasource"
                   value="${'AcqUCM#dCollectionID:133054394311000404'}"/>
        <parameter id="templateCategory" value="${'events'}"/>
        <parameter id="templateView" value="${''}"/>
        <parameter id="regionTemplate" value="${'false'}"/>
        <parameter id="maxResults" value="${''}"/>
      </parameters>
    </taskFlow> Then when I deploy the code the error I get is:
<TemplateRegistry> <getListTemplateViewId()> No default template view specified for category id 'events'. Returning the default view for the default category.

Hey Yannick,
I think you are mistaken...
I am using a contentListTemplate, and in the developer's guide it says to use the templateCategory for multiple-item content presenter templates. When I do what you suggested, my veventsList_CP doesn't work and the ADF default tempalte is used.
I accomplished what I needed to accomplish on the home page by re-writing my veventsList_CP to not use the nested template:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core">
  <dt:contentListTemplateDef var="nodes" >
    <af:panelGroupLayout id="nodeListPanel" halign="left" layout="vertical" valign="middle" inlineStyle="text-align:left;">
      <af:iterator rows="0" id="i1" var="node" value="#{nodes}" varStatus="iterator"  >
        <af:panelGroupLayout id="pgl1" layout="vertical"
                             inlineStyle="padding-left:10px; padding-top:10px;">
          <af:commandLink text="#{node.propertyMap['dDocTitle'].value}" id="cl1"
                          inlineStyle="font-size:small; font-weight:bold;"/>
          <af:outputText value="#{upcomingEventsBean.dates}"
                         id="ot2"/>
        </af:panelGroupLayout>
      </af:iterator>
    </af:panelGroupLayout>
  </dt:contentListTemplateDef>
</jsp:root>
Now I need to make the commandLink direct to a content presenter display template that shows all of the event's metadata. I've done this before by using the default navigation model, but never programmatically. I will give it a try and report how it goes.
Edited by: ilovebuffets on Sep 19, 2011 11:42 AM

Similar Messages

  • Custom Content Presenter Template gives Empty result

    Hi All,
    I am Using Jdev 11.1.1.6 and am trying to display UCM content via a custom template using content presenter.
    I have a page with the following:
    <af:region value="#{bindings.doclibcontentpresenter1.regionModel}" id="r1"/>
    The bindings for the content presenter taskflow:
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="taskFlowInstId" value="${'photo'}"/>
            <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
            <parameter id="datasource"
                       value="#{backingBeanScope.NewsBean.photoContentQuery}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${'templates.photos.list'}"/>
            <parameter id="regionTemplate" value="${false}"/>
          </parameters>
    </taskFlow>
    And the photoContentQuery bean method return result of the Query i.e  SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = 'PHOTO_REG_DEF' AND ora:p:xArchiveFlag<>'No' ")
    I have a fragment with the portal resource attributes set as:
    Category name = Default Templates
    Category ID = oracle.webcenter.content.templates.default.category
    Category Default View = true
    View ID = templates.photos.list
    The above fragment has this code: I also made this fragment has portal resource.
    <dt:contentListTemplateDef var="nodes">
            <af:panelGroupLayout id="pnlContainer" layout="vertical"
                                 >
                <af:iterator id="pagList" value="#{nodes}" var="node" >
                    <af:panelGroupLayout layout="horizontal" rendered="false">
                    </af:panelGroupLayout>
                        <af:panelGroupLayout id="pnlContent" layout="vertical">
                         <dt:contentTemplate node="#{node}"
                              view="template.photo"
                                nodesHint="#{nodes}"/>
                    </af:panelGroupLayout>
                </af:iterator>
                </af:panelGroupLayout>
      </dt:contentListTemplateDef>
    and
    <dt:contentTemplate node="#{node}"
                              view="template.photo"
                                nodesHint="#{nodes}"/>  this is another pagefragment contains the following code.
    <dt:contentTemplateDef var="node">
        <af:panelGroupLayout id="pgl2">
          <af:panelGroupLayout id="pgl1" layout="vertical" styleClass="photoImg">
            <af:outputText value="#{node.propertyMap['PHOTO_REG_DEF:PHOTO'].asTextHtml}"
                           id="ot1" escape="false"/>
          </af:panelGroupLayout>
        </af:panelGroupLayout>
      </dt:contentTemplateDef>
    When I run my project on the Integrated WebLogic Server and when I click on my page, the data is coming empty.
    When I see the Administrator console, this content presenter template is in Hidden by default. I just edit the template and made it availabe. But still am unable to get result in the required template.
    On my page, if I do not specify the  <parameter id="templateView" value="${'templates.photos.list'}"/>, then I will get the result with default content presenter template.
    Could any one please help me out?
    Thanks
    Kotresh

    Hi,
    I am able to get the result with required custom content presenter template. But every time when I run the project , I need to explicitly need to make it "show" my custom content presenter display template i.e. in the Administration console, initially it is in Hidden state, I need to edit and make it show.
    I already made this template as portal resource  but why it is still be in Hidden state. what extra step do I need to make in order to move it to "show" state?
    Thanks
    Kotresh

  • Passing dynamic content to a Document viewer in a Content Presenter Templat

    Hi, This problem is probably for Yannick. Our customer has a bunch of documents in UCM. They want to be able to put links to these documents in their Navigation Model (Webcenter Spaces App) which bring up the document as content inside a page, i.e. inside a Document Viewer that is the content area of the page. In their last portal, they did this by creating a page for every document because the Document Viewer in Spaces requires an itemId to a specific document.
    We need to create a single page and pass the URL or UCM Content Id to the Document Viewer that is the content area of the page. I tried creating a custom Content Presenter Template with a Document Viewer Task Flow inside. In the Nav Model, I have added a Content Item with the path to the doc in UCM. but it doesn't work. I even went into my CP Template and hard coded the resource Id parameter of the DV Task Flow but nothing comes up.
    If I add a document in Spaces to the page, I add it in a Document Viewer and the "Item Id" is set automatically. Then it works. But I NEED to be able to do this dynamically to avoid tons of separate pages, one per document.
    Please help. Thanks, Gary Kind

    I was able to get it to partially work by using a link item in the navigation model. As URL parameter 'docId', I put the UCM resource ID, e.g. ucm_conn#dDocName:UCM_CLUSTER-000027. In the destination page, I have a Document Viewer Task Flow whose resourceId input parameter I set to #{param.docId}. This works in that the Document Viewer appears nicely and has the correct path/breadcrumbs. I can display the document in a browser from the View menu item. I can download it from the download menu. However the actual file contents do not show up. In the center where they should be, I get an Error-404 file not found. Why is that? It is finding the file in UCM, and I can access it other ways in the DV, but it can't find it in to put it in the Viewer area? That ain't right.
    How do I get this to work correctly?

  • Supported UCM content types by custom content presenter display template

    Hi,
    custom content presenter display template can only be applied to a Site Studio file? Or the UCM content item type to which the template can be applied can be of different types (says for example an UCM folios or a custom XML file)?
    I would like to use the Content presenter in order to customize the presentation of a custom XML file stored on UCM...but as far as I understood I can't do it...I'm correct?
    I hope I was clear.
    Thanks in advance.
    Best regards,
    S.

    In my scenario, I've a strong requirements in the user interface usability the customer should have in order to perform data entry (it generates the data that made up the XML I'll check-in in UCM): the UI should be more friendly than SS Contributor provides (for example I'll plan to implement it as an ADF page). I've also specifications on the presentation layout.
    If I correctly understood, you're suggesting to store in UCM not my custom XML file, but instead a Site Studio data file containing the "same" XML content?
    If yes, can I perform the SS data file check-in not using SS Contributor but instead a custom ADF based page? If yes, how can address this?
    Thanks a lot.
    Best regards,
    S.

  • How to display all value of metadata from nodes collection model in content presenter template

    Hi All,
    first of all the new look of OTN is great.
    coming to problem i am facing (i dont know whr to ask here or in portal forum).
    i am creating a content presenter template to display list of items.
    now as per requirement i need to create a drop down to filter the list.
    now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
    i have to display similar category list on portal to allow user to filter list.
    i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
    also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
    so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
    somthing like this
    #{nodes.xCategory} (but this one is not correct).
    please suggest me any solution.
    thanks
    -somesh

    Hi,
    you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
    I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
    However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
    Frank

  • Image gallery in webcenter using content presenter template

    Hi,
    I created a content presenter template for image gallery in webcenter.
    The images from UCM are not displayed without log in to the webcenter application.
    I am getting a error like
    " Error calling UCM server associated with repository UCM.  The service GET_FILE was called with user anonymous at time 3/18/15 11:12 AM, and returned statuscode -1.
    oracle.stellent.ridc.protocol.ServiceException: Unable to download 'HSCSRV154.ALLE006130'. Access denied by records manager "
    Once i log in the images are displayed.
    What is the problem here?please help.
    I am using the latest webcenter extension in jdev 11.1.1.7
    Thanks,
    chandrasekar M

    Hi Vinod,
    I tried using af:image like below and its the same issue.I have read in most of the blogs that since this is in the content presenter template, the image has to be displayed using output text with escape set to false.
    <af:image source="#{node.propertyMap['REGDEF:Image'].asTextHtml}" id="image5"/>
    I am not using <img> anywhere, its just that on the webpage when the image doesnt appear, I tried to see the source of the image using Firebug and it shows following:
    <img src="${wcmUrl('rendition','xyz/web')} " alt = "Logo">
    Edited by: Swathi Patnam on Jul 13, 2012 6:00 PM

  • Oracle content presenter template for a flash banner with onclick property

    Hi all,
    I m using webcenter portal applicaiton which a banner on my home page.On click of the flash banner, we navigate it to a specific page in my applicaion(i.e on my application resides a page called test, if i click my flash banner it will navigate to that speicific page.
    My application connects with oracle content server(ucm) to fetch the content.
    Now i tried to fetch the flash banner from Oracle Content server. When i fetch the banner from ucm by cmf:renderproperty using a content presenter template, the flash banner is not navigating to the test page as it did early.
    It takes the path from ucm(like http://xxx:16200/cs/public/do...). I tried using af:inlineframe but still getting the same path like http://xxx:16200/cs/public/doc...)
    Kindly help me out.
    Thanks
    S. Muthukumaran

    Hi All,
    Any update on this?
    Thanks

  • Image not rendering when using Content Presenter Template

    I have checked in an image in UCM with security group as "Public" and in the content presenter template I have the following code to display image:
    <af:outputText value="#{node.propertyMap['TESTREGDEF:Image'].asTextHtml}" id="image5"
    escape="false"/>
    The image does not render on the page and it displays as a broken Image.I tried to print the value of the image URL and it is:
    <img src="${wcmUrl('rendition','xyz/web')} " alt = "Logo">
    Am I doing anything wrong?
    Thanks,
    Swathi Patnam
    Edited by: Swathi Patnam on Jul 12, 2012 5:24 PM

    Hi Vinod,
    I tried using af:image like below and its the same issue.I have read in most of the blogs that since this is in the content presenter template, the image has to be displayed using output text with escape set to false.
    <af:image source="#{node.propertyMap['REGDEF:Image'].asTextHtml}" id="image5"/>
    I am not using <img> anywhere, its just that on the webpage when the image doesnt appear, I tried to see the source of the image using Firebug and it shows following:
    <img src="${wcmUrl('rendition','xyz/web')} " alt = "Logo">
    Edited by: Swathi Patnam on Jul 13, 2012 6:00 PM

  • Trouble creating content presenter template

    I'm trying to create a template for the content presenter that will display a table view of files in a folder.
    I tried creating a custom template based off the sample list-detailed-tabular-view.jsff that was included. but I am having trouble figuring out what my error is.
    When I export the template I can successfully upload it to webcenter but when I try to apply the template to a content presenter the page goes blank and I have to go back to administration to disable the template to get the page to load again.
    After several failed attempts I even tried copying the sample table template directly without changing any of the code but when I apply it the page still goes blank and becomes inaccessible
    This only happens when I try to create a template that calls another single template. I was able to get a template working that was for a single item, but I need to get the documents under a folder to work...
    How can I troubleshoot whats causing the error? I am new so I have a feeling I may be missing some steps when creating,exporting, or uploading the template.
    Below are the sources for the 2 templates, do I have to create anything else besides a .jsff file?
    Single Item which works by it self:
    <?xml version = '1.0'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates">
    <dt:contentTemplateDef var="node">
    <af:goImageLink text="#{node.name}"
    id="gil1" icon="#{node.primaryProperty.icon.smallIcon}"
    destination="#{node.primaryProperty.url}"
    targetFrame="_blank"
    shortDesc="#{not empty node.propertyMap['xComments'].value.stringValue ? node.propertyMap['xComments'].value.stringValue : node.primaryProperty.value.binaryValue.name}"
    rendered="#{not empty node}">
    <af:showPopupBehavior triggerType="mouseOver" popupId="::cpPopup"/>
    </af:goImageLink>
    <af:outputText id="emptyot" value="#{templateBundle.EMPTY_NODE}"
    rendered="#{empty node}"/>
    </dt:contentTemplateDef>
    </jsp:root>
    The Table Template that calls the single item (this is what seems to break the page when I activate it)
    <?xml version='1.0' encoding='utf-8'?>
    <!-- Test -->
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates">
    <dt:contentListTemplateDef var="nodes">
    <jsp:include page="./support/miniView.jsff"/>
    <af:table rowSelection="none" columnSelection="none" columnStretching="column:c1"
    columnBandingInterval="0" rowBandingInterval="1" var="node" value="#{nodes}"
    summary="#{templateBundle.DEFAULT_TABULAR_LIST_TEMPLATE_DESC}" id="tblRslt"
    emptyText="#{templateBundle.EMPTY_NODES}" styleClass="AFStretchWidth"
    autoHeightRows="25">
    <af:column id="c1a" rowHeader="unstyled"
    headerText="#{null}"
    rendered="#{userPreferences.accessibilityMode=='screenReader'}">
    <af:outputText value="#{node.name}" id="ot1"/>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_DOCUMENT}"
    sortable="true" align="left" minimumWidth="200"
    sortProperty="name" id="c1">
    <dt:contentTemplate node="#{node}"
    view="keith.list.item"
    nodesHint="#{nodes}" id="ct1"/>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_MODIFIED_DATE}"
    sortProperty="modifiedDate" sortable="true" align="end"
    id="c2">
    <af:outputText value="#{node.modifiedDate}" id="ot2">
    <af:convertDateTime type="both"
    timeZone="#{generalSettings.userTimeZone}"/>
    </af:outputText>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_MODIFIED_USERNAME}"
    sortProperty="modifiedBy" sortable="true" align="end"
    id="c3">
    <af:outputText value="#{node.modifiedBy}" id="ot3"/>
    </af:column>
    </af:table>
    </dt:contentListTemplateDef>
    </jsp:root>
    Also if anyone knows where I can find tutorials to learn how to create the templates that would be great.

    You may want to repost your question in the WebCenter Portal forum. The problem is likely not on the Content Server side.

  • Custom content presenter

    hello ,
    i create and upload custom content on webcenter spaces , this presenter must display images under folder and the CollectionID for each image ,
    what i used is :
    <af:outputText value="#{node.propertyMap['dCollectionID'].value}"/>
    but no result return , can you help me to let CollectionID appear ??

    Isn't xCollectionID the field name you are looking for?
    This might be helpful:
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_content_presenter.htm#CHDCEJII

  • Unable to "Create Portal Resource" for content presenter templates

    Hi All,
    Using Jdeveloper 11.1.1.5, I have created a new WebCenter Portal Application and under webcenter/portalapp folder I created a "contentTemplates" folder and created a fragment page within it.I am trying to create portal resource for this fragment template but I am not seeing the option "Create Portal Resource" when I right clicked the jsff.
    I dont see the option for even for pageTemplates or pages.Am I missing anything?
    Any help appreciated.
    Thanks,
    Swathi Patnam

    Can you test pasting this code in your jsff? FYI <dt:contentListTemplateDef var="nodes"> is important when you create a portal resource.
    <?xml version = '1.0'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates">
    <dt:contentListTemplateDef var="nodes">
    <af:panelGroupLayout layout="scroll" id="nodeListPanel" valign="middle">
    <af:iterator rows="0" var="node" varStatus="iterator" value="#{nodes}">
    <dt:contentTemplate node="#{node}"
    view="mycorp.content.templates.pressrelease.listitem"
    nodesHint="#{nodes}"/>
    </af:iterator>
    </af:panelGroupLayout>
    </dt:contentListTemplateDef>
    </jsp:root>

  • Dynamic datasource query in Content Presenter

    I have a Documents region with a custom Content Presenter template.
    I would like to use a dynamic datasource query with this, which makes use of the currently logged in user and the user's role.
    The task flow parameters look like this now:
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'afd37bc3-bd2e-4e97-b838-74c975529633'}"/>
    <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
    <parameter id="datasource"
    value="${'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = \'Dagbericht\''}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'dagberichten.list.template'}"/>
    <parameter id="maxResults" value="${'3'}"/>
    </parameters>
    What are my options to achieve this?

    Jaap,
    You can use expression language in that query to make it dynamic.
    You could either build the full query from a managed bean or just some parameters.
    here's how you can do it when building the query from a MB:
    This should be the method in your bean:
    public String getQuery(){
      String user = ADFContext.getCurrent().getSecurityContext().getUserName();
      String query = "SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = 'Dagbericht' and ora:p:dCreatedBy = '" + user + "'";
      return query;
    }Your datasource parameter should be something like this:
    <parameter id="datasource" value="#{yourBean.query}"/>note: the "and ora:p:dCreatedBy..." might not be correct but it shows how you can dynamicly build the query.
    Hope this helps.

  • How to paginate in content presenter?

    How to paginate in content presenter? I could ony put Maximum Results parameter but StartRow as in RIDC.
    http://img59.imageshack.us/img59/8104/contentpresenter.png
    Thanks,
    Edited by: lpbac on 18:41 28-02-2012

    In my opinion ,you need to develop custom content presenter template for pagination.
    Otherwise you can achieve your goals by using RIDC code with jspx.
    for developing custom content presenter template you can follow the below links.
    http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10148/jpsdg_content_presenter.htm#CCHDAHGB

  • Displaying img from content server thr' content presenter display templates

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

  • Multiple Item Information - problem

    I updated to iTunes 8. Now, whenever I try to "Get Info" on more than one music file, the content in the "Multiple Item Information" window gets displaced. Please refer to this jpeg to understand what I mean:
    http://img.photobucket.com/albums/v294/mkeopong/iTunesscreen.jpg
    Any ideas why? Any help in resolving this problem would be greatly appreciated. Thanks.

    Actually I meant on the Appearances tab, not the Themes tab.
    You right-click on any blank space on your desktop, choose Properties, then click the Appearance tab.
    Anyway, worth a shot. Sorry to hear it didn't work!
    Sounds like there's some other bugs with itunes v8 needing a certain color resolution setting or else the whole screen is pink.
    In itunes 7, there was a huge bug where users were forced to set their display settings to 1024x768 in order to accept the iTunes license agreement. Nice, huh? Apparently that's fixed - haven't seen posts about that since v8 was released.
    From the screenshots posted on the Get Info for multiple tracks, it looks like more display settings hijinx from iTunes. I changed some stuff on my system, but never got a display like that.
    Message was edited by: Katrina S.

Maybe you are looking for