Content presenter with templates - images wont render

Hey
First, apologies for re-posting this. There seems to have been an issue with the forum, and I think my original post got caught up in that...
I have created a region definition in Site Studio that uses 2 elements - plain text and an image. In JDev, I have a page with Content Presenter, and am using a Content Template to format the content. I can create the Content Item ok, adding text and an Image (that was checked into the Content Server).
If my template displays only the text, it renders ok. However, when I include the image in the Content Template and run the application, I am getting a red X (broken link). At this stage I am an unauthenticated user. Here's a what I am using for the image in the template:
<af:outputText value="#{node.propertyMap['RD_RGLFORM:image'].value}" id="ot4" escape="false"/>
When I have a look at the source, I can see the <img tag with a src pointing to a file in the Content Server. If I try to use this URL, I am challenged for credentials. So obviously, the page cannot load the image because it doesn't have the credentials to the UCM.
So, is it possible to render images to unauthenticated users? Am I doing it wrong?
Any help is much appreciated!
Cheers,
Alec

I am emarrased t say that I have figured it out.
A colleague helped me realise that the security of the image was set to Secure - i.e. not Public. Hence, it was not available from the outside world without Authentication.
I changed t to Public and hey-presto.

Similar Messages

  • Content Presenter with template - Images wont render

    Hey
    I have created a region definition in Site Studio that uses 2 elements - plain text and an image. In JDev, I have a page with Content Presenter, and am using a Content Template to format the content. I can create the Content Item ok, adding text and an Image (that was checked into the Content Server).
    If my template displays only the text, it renders ok. However, when I include the image in the Content Template and run the application, I am getting a red X (broken link). At this stage I am an unauthenticated user. Here's a what I am using for the image in the template:
    *<af:outputText value="#{node.propertyMap['RD_RGLFORM:image'].value}" id="ot4" escape="false"/>*
    When I have a look at the source, I can see the <img tag with a src pointing to a file in the Content Server. If I try to use this URL, I am challenged for credentials. So obviously, the page cannot load the image because it doesn't have the credentials to the UCM.
    So, is it possible to render images to unauthenticated users? Am I doing it wrong?
    Any help is much appreciated!
    Cheers,
    Alec

    This question deals with WebCenter Portal. It should be posted to the WebCenter Portal forum, not the WebLogic Portal forum.
    Brad

  • How to display embedded image & text in content presenter web template

    We have a requirement to display both text and embedded image together like in WYSIWYG editor in Webcenter spaces. The content has to be dynamic and is context sensitive so that users in the same role can edit and publish the content. The users who are in different role would see different piece of content.
    To achieve this use case, i think Content Presenter enabled with Site studio is the best choice. I have created element and region definitions with WYSIWYG and region templates in site studio. Created contributor data file in UCM. Content Presenter in webcenter is configured with that region definition and the region template etc.
    At design time, the contributor data file is edited and some image / text is added in WYSIWYG editor.. But however at runtime view, i could see only the text added in WYSIWYG editor and the file name of the image embedded....Any one successfully used Content Presenter with Site studio???
    Regards
    Prasath.C

    Hi
    I'm using the site studio tags in jdev. My code is the following one and I have the same result I see the the html tags instead a formatted text.
    <?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:trh="http://myfaces.apache.org/trinidad/html">
    <dt:contentTemplateDef var="node">
    <af:panelGroupLayout layout="vertical" id="pgl3">
    <af:panelGroupLayout layout="horizontal" valign="top" inlineStyle="background-color:#FFF; padding:10px;" id="pgl4">
    <af:spacer width="10px;" id="s1" inlineStyle="background-color:#DDD; color:white;"/>
    <af:panelGroupLayout layout="vertical" id="pgl1" valign="top">
    <af:outputText value="#{node.propertyMap['RD_RICH_TEXT:text1'].asTextHtml}"
    id="ot2" styleClass="bodytext"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </dt:contentTemplateDef>
    </jsp:root>

  • How to use content presenter with a multilanguage site

    I would you like to know if it's possible to manage a content presenter with multi language ? Normally, if i would show a content with a template view , i choose a UCM content to the parameter interface of the content presenter. Anybody has found a solution to found automatically the right content when i choose a another language. For example, i create a content presenter associated to a English content on UCM , is it possible when the user changes his language to spanish for example to have the related content in spanish or not ?

    There are a few options to do this but it requires quite a lot of customizations. Unfortunatly there is no out of the box solutoins to tackle this issue.
    First of all you have to make sure the content in UCM is related to each other so when you have a document in english, you can easily find the same document in another language. This can be based upon additional meta fields or by using the related content component.
    You probably also want to setup a workflow so when an english (or any language) document is checked in, the workflow kicks in and notify some other users so they know they have to translate that document.
    In Webcenter you have to make sure that the content presenter can show content based upon language. Normaly you can't realy build dynamic queries in the content presenter and when you select all the content from a folder, there is no way to add filters based upon language.
    In order to solve this issue, you can use the personalization server. By creating a scenario that takes the language as an input parameter (or by just querying the profile) you can build a dynamic CMIS query that can be used to power the content presenter. When you have configured the personalization server and create a scenario, you will be able to select that scenrio in the content presenter instead of selecting items or folder.
    It's quite a bit of work to make it multilingual but currently this is the only solution i have found...

  • I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?

    I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?
    I use Keynote 09

    Select the image you want to change and go to Format Menu>Advanced>Define as Media Placeholder (or command, option, control i).

  • 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.

  • 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

  • Content Presenter - Custom templates

    Hi,
    I am using Content Presenter to render the contents stored in UCM 11g, and trying to use the Custom Template.
    following steps were done:
    1) created a very simple jsff file having following contents:
    <?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:outputText value="#{node.name}" id="ot1"/>
    </dt:contentTemplateDef>
    </jsp:root>
    2) Saved the jsff file in the location : /oracle/webcenter/content/templates/newsitem.jsff of the application
    3) updated the template-registry.xml of my application with the following:
    <view id="oracle.webcenter.content.templates.newsitem">
    <name bundleKey="NEWS_ITEM">
    News Item View
    </name>
    <description bundleKey="NEWS_ITEM">
    Displays any single content item, Sample news item
    </description>
    <template-def>
    /oracle/webcenter/content/templates/newsitem.jsff
    </template-def>
    </view>
    4) Use the Content Presenter will all other details and update the "Template View" parameter with : 'oracle.webcenter.content.templates.newsitem'
    However, it throws the following exception: pls help
    <AbstractTemplateTag><include(PageContext pageContext, String viewId)> Error processing the display template include for template viewID /oracle/webcenter/content/templates/newsitem.jsff located at /oracle/webcenter/content/templates/newsitem.jsff
    javax.servlet.jsp.JspException: Sep 14, 2010 11:59:01 AM oracle.webcenter.content.internal.view.template.AbstractTemplateTag include
    ALL: Error processing the display template include for template viewID /oracle/webcenter/content/templates/newsitem.jsff located at /oracle/webcenter/content/templates/newsitem.jsff
         at oracle.webcenter.content.internal.view.template.AbstractTemplateTag.include(AbstractTemplateTag.java:107)
         at oracle.webcenter.content.internal.view.template.AbstractTemplateTag.doEndTag(AbstractTemplateTag.java:65)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:62)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:76)
         at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:88)
         at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:423)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:729)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:653)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    thanks,
    Ravi

    Are you trying to create a custom template for content presenter?
    If so, the directions for PS3 are here:
    http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_content_presenter.htm#CHDIGDED
    I think that the manual updating of templates-registry, described in previous releases here:
    http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_content.htm#CJABEDIH
    is no longer needed.

  • Working With Template, Images Not Showing on Web

    Please forgive me, as I know this has been asked a million times before.
    I am a newbie to this, but have tried to research before asking this question.
    I am using a template (HTML5) and it's showing up beautifut ully in Dreamweaver and in the Live Preview, but when I upload to my hosting account (GoDaddy), the images don't show up. I have uploaded all the image files to the hosting as well. I have called GoDaddy, it is not a hosting issue.
    I have been fighting with this for three days and I'm at wits end.
    collarsforchange.org

    Hi Katie,
    What is the difference between a Local Site folder and a general folder on my computer? Where can I locate this Local Site folder?
    The Local site folder will store you HTML pages and other related assets of you site locally on your computer in one place.You need to define a general folder to be the site's local folder in Dreamweaver.
    Please refer this http://helpx.adobe.com/dreamweaver/using/set-local-version-site.html
    Does the home page need to be installed IN root folder or can it be underneath?
    The home page which is usually the index.html needs to be placed in the root folder.
    Thanks
    Bhawna

  • Redesigning a website with bad code, wont render correctly.

    Recently took control of the design of a website that was written by a designer who did not know what he was doing (using font tags and css in the same page?) the website will not render in the design view and I've gone through the code and tried to figure out what is wrong with the site but I cant figure it out. It renders somewhat succesfully online but I need to make it better. I will include a screen and will provide the full code if requested, I'm not expecting one of you all to do a full redo just some ideas to throw around, something I havent thought of yet. Im using Dreamweaver 3 by the way. Thanks for reading!

    The current site was built with Dreamweaver's FluidGrid Layouts in HTML5.  But unfortunately, whoever built this site didn't know what they were doing as evidenced by the rookie code errors:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.cflymarine.com%2F  And, the site is only moderately responsive in Mobile & Tablet devices.  Also, Windows Media was a bad choice since many web devices don't support it.
    If after 2 days of working with Dreamweaver you think you can take this on, think again.  Responsive Web Design is an advanced discipline that should be undertaken by someone with considerable experience in HTML5 and CSS Media Queries.  In other words, you must learn to crawl before you can run .
    As Murray said, this project needs an experienced web developer to sort out the mistakes and make the site work properly.  If you want to hire me, you can reach me through my web site.
    Alt-Web Design & Publishing Contact Form  Otherwise, you owe it to yourself and your prospective client to walk away from this project until you gain a lot more web experience.
    Nancy O.

  • Using CMIS in Content Presenter to retrieve a DAM image rendition

    Hi,
    Can anyone please help with how to retrieve a specific rendition (e.g. Web, Preview, Thumbnail) of an image file through a CMIS query in Content Presenter.
    The image was upload and converted successfully using DAM (Digital Asset Manager) using the 'BasicRenditions' default option and the different renditions are visible within Content Presenter. I am able to display documents and images in Content Presenter using CMIS, but want to be able to amend this query to obtain one of the converted renditions.
    I would like to know how to do this and appreciate your assistance with this. The environment consists of Webcenter 11g and UCM 11g.
    Thanks

    Thanks for your responses.
    Jiri - I had also read somewhere that this isn't supported currently using a CMIS but wasn't 100% sure. I have raised an SR with Oracle.
    Jaap - Thanks for those links. I have seen the first one previously. Our requirement also involves retrieving images based on the values of custom fields which we have created for which values are supplied during check in. E.g. a DeptId field which is populated during check in, and when retrieving content in Content Presenter we use a CMIS query to retrieve content based on the DeptId value. This is why CMIS would have been ideal. I am not sure whether accessing the static images as outlined in those blog posts would still enable to do this, but will investigate.
    Thanks

  • Watch Folder to Overwrite Sequence Files? – Templated Project with Custom Images

    So I want users to be able to upload an image to my server, have it added to a video, and rendered out and served to them.  Simple right?  Maybe my workflow needs adjustment:
    I have a project saved with an image sequence render queued, and a subsequent movie file render (of the image sequence) queued and collected. (the image sequence is to utilize multi-machine rendering because of intense effects, etc.)  When a user uploads an image, the server duplicates this template-project collected folder.  The project has a placeholder image that is replaced by the user's uploaded image (into the footage folder).  The server then drops it all in a watch folder for multi-machine rendering.  The sequence renders and the movie renders just fine!  All good.
    The only PROBLEM is that when the second instance comes along, "skip existing files" is checked (by necessity to use the multi-machine function) and therefore just keeps the existing image sequence without overwriting.  Every instance of the project is just a duplicate, and so has the same target path for the image sequence.  So the subsequent movie file comes out the same as the first.
    So how can I either:
    1) force overwriting the image sequence
    2) automate unique directories for each image sequence render – without physically opening the project to specify a different target path
    -or- 3) move/delete the image sequence folder AFTER movie render, but BEFORE another watch folder render (considering multiple queued projects in the watch folder at once).
    An ideas??  Thanks!!!

    > So is there a way to automate importing the image sequence through aerender and tell it to render a movie?
    Are you familiar with post-render actions? They exist to do this kind of thing.
    Here's a relevant excerpt from After Effects Help:
    http://helpx.adobe.com/after-effects/using/basics-rendering-exporting.html#post_render_act ions
    "Use the Import & Replace Usage option to create a chain of dependent render items. For example, you can set one render item to use a watch folder and multiple computers to create a still-image sequence, and then the next render item can render a single movie file from that still-image sequence"

  • 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

  • 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

  • Multilanguage site with the Content Presenter

    Hey,
    I have a question about creating a multilanguage website with the help of a Content Presenter and Contributor Data Files.
    I already found this post: How to use content presenter with a multilanguage site
    I will try this, but it is very extensive. So I am looking for an easier solution.
    Do you have any idea?
    Thanks for your help.

    Lukas,
    which part of Yannick's answer do you find "very extensive"?
    a) content
    If you want to work with multilingual content, you will need to have it store in the repository. There are some best practices how to do that - basically, it is recommended to have the content somehow linked, so that you may e.g. trigger translation of language resources in other language once the item in the base language changed. The optimal implementation may vary depending on your requirements.
    b) rendering with Content Presenter
    Note that Oracle provides other means than Content Presenter how to create multilingual sites (my first bet would be WebCenter Sites), but if you want to use Content Presenter there are not so many options. What Yannick suggested is to modify CMIS queries per language settings of your current user. The only other option is to have more Content Presenters with static queries, and somehow display the correct version - e.g. you could have several completely separate sites, one for each language. The latter is actually used quite often in WEM, esp. if sites in other languages don't have the same structure as the master language's one (for instance, if the customer cannot afford to keep updated translations in all other languages). However, technically speaking that is really it.
    Jiri

Maybe you are looking for

  • How do I delete a Time Machine back-up from my trash?

    I use an external hard disc for my Time Machine back-ups. In order to make some room on the external hard disc for some other files I wanted to store while I reformatted their original disc, I moved the Time Machine bach-ups into my iMac Trash. Now w

  • NOOB Question - Cannot seem to get the output in a text or CSV file - Please help!!

    I was able to put together a script which finds members of a certain AD group, filters down the users, and then calculates the number of days till a password reset is needed.  I am able to get on screen exactly what i am looking for, but cannot seem

  • How to safely uninstall CS2 when CS3 is also on machine?

    Hi, I want to purge my machine of CS2 but also have CS3 installed on same drive.  I know there is an uninstall PDF and would follow it without question if I did not have CS3 installed as well. I am worried that if I trash all these as instructed:  6

  • How to open, edit and compile the order import program.

    Order import program deletes the so_header_interface_all and so_lines_interface_all tables after importing, I want to avoid deleting the interface tables. Please ket me know in detail how to comment the delete statement in the order import program. I

  • Can anyone tell me whar error frm 90928 on forms is?

    hello all: i try to run forms and an error appear when trying to load the applet. the error is: frm - 90928 positional parameter after key on command line. and what can i do to solve that error. Thanks