Region Template in ContentPresenter - JDeveloper

Hello together,
is it possible to use a SiteStudio Region Template in the Content Presenter, when I add the Content Presenter in JDeveloper to a jspx page.
Here is a screen shot from the properties:
http://s14.directupload.net/images/140122/fxmb3mog.jpg
The senario:
I use a query to select a Contributor Data File from the Content Server and now I want to select a suitable template from the Content Server as well.
What do I have to do? Is this senario actually possible?
Thanks for your answers.
Lukas

Hi.
In official documentation Creating Content Presenter Display Templates - 11g Release 1 (11.1.1.8.0) you'll find following:
Oracle recommends that you use Content Presenter ADF templates to integrate Site Studio and WebCenter Portal instead of Site Studio region templates. The recommended flow is:
Develop region definitions in Site Studio
Develop ADF templates referencing region definitions using JDeveloper
Publish the templates and import them into Portal Server
Use Content Presenter to render the content and to enable users to contribute content
Why recommends this way?.
Performance and caching.
Site Studio will be deprecated in the future.
Integrates perfectly with ADF / Portal in terms of Framework, access and allows you to pass parameters / variables.
When to use Region Template?.
When you have do internal or use complex functions of UCM.
As backward compatibility with old Region Templates built in Site Studio.
I hope it helps.
Regards.

Similar Messages

  • Issue with using SSXA region templates with Content Presenter.

    I am using Content Presenter taskflow in Webcenter Portal. When i try to use the SSXA region template with content presenter, it doesnot render the html markup. But if i use normal UCM region templates(hscp), its rendering the html markup properly.
    Http Server acts as a proxy for both webcenter and ucm. Enabled SiteStudio, SiteStudioforExternalApplications, Webcenter Configure and other required features in Webcenter. Can any one tell me, if i missed any step?
    All i am getting the output as
    ${data.body}
    Taskflow binding
    <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="${'23a55c99-abdd-4dea-a24a-1e04a68aa0bf'}"/>
    <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
    <parameter id="datasource"
    value="${'UCM#dDocName:JLR_WYSIWYG_DATA'}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'WYSIWYG_BLOCK_1_RGT'}"/>
    <parameter id="regionTemplate" value="${true}"/>
    <parameter id="maxResults" value="${''}"/>
    </parameters>
    </taskFlow>
    region template:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:wcm="http://www.oracle.com/jsp/wcm">
         <wcm:dataFile var="data"/>
         ${data.body}
    </jsp:root>
    This uses one region definition containing WYSIWYG element. I am able to edit and could type the html markup or data in WYSIWYG editor at contribution mode, but when i click save and close, all i am getting output as ${data.body}
    I manually verified the data file in UCM, and i could see the information stored (the data entered in contribution mode)

    Prasath,
    I'm not 100% sure but i believe that WebCenter does not support everything from the WCM tags. You can read the topic on SSXA on the WebCenter EMG:
    https://groups.google.com/group/webcenter-emg/browse_thread/thread/2ef9cca0252a0ae3
    Just a quote:
    "With the 11.1.1.4 release, WebCenter is very much targeted at the type of sites that would have previously been done using the WCM components (eg. Extranet, Internet sites). By surfacing the site studio region templates (and allowing in place editing of the documents) many of the use cases can be met. The question now is not whether,or not, the native templating + region support is sufficient for your needs (WebCenter does not support all the WCM artefacts as yet). "
    Regards
    Yannick

  • IF statement for navigation in a Region Template

    I have a region template where I display links to nodes in the current level.
    Example:
    level 0 nodes: About Us, Employees, Contact Us, Investors
    level 1 nodes of About Us: Fun Stuff, Photos, History
    level 2 nodes of History: 1910, 1920,1930
    So if I was in the section/level About Us>History my region template would display links to 1910,1920,1930. I know there is a fragment that does this for me but what I need is a little more custom.
    What I want to do is is write an if statement in the region template that says something like:
    If (currentlevel has children)
    display childrenlevelNodes
    else
    display parentlevelNodes
    endif
    Any ideas? I am a beginner when it comes to Idoc.

    Actually I got it working. Someone before me was using some code but it wasn't working exactly how I wanted. So I incorporated their code back in after your help with the childNodeId thing and now it works!!
    <!--$childLevel = level-->
    <!--$curLevel = level-->
    <!--$childNodeId = ssGetRelativeNodeId(siteId, nodeId, "child")-->
    <!--$parentNodeId = ssGetRelativeNodeId(siteId, nodeId, "parent")-->
    <!--$originalNodeId = nodeId, drewOne = "", originalNodeParentId = ssGetRelativeNodeId(siteId, nodeId, "parent") -->
    <ul>
         <li>
    <!--$if (childNodeId)-->
         <!--$childLevel = level + 1-->
    <!--$endif-->
    <!--$loop SiteStudioNavNodes-->
              <!--$if (level eq childLevel) and ((originalNodeId eq parentNodeId) or (originalNodeParentId eq parentNodeId))-->
         <!--$hideIt = ""-->
         <!--$hideFrom = ssGetNodeProperty(SiteStudioNavNodes.nodeId, "hideFromRegion")-->
         <!--$showOnlyIn = ssGetNodeProperty(SiteStudioNavNodes.nodeId, "showOnlyInRegion")-->
              <!--$if showOnlyIn-->
                   <!--$if showOnlyIn like ("*" join region join "*")-->
                   <!--$else-->
                   <!--$hideIt = 1-->
                   <!--$endif-->
              <!--$endif-->
         <!--$if hideFrom and (hideFrom like ("*" join region join "*"))-->
         <!--$hideIt = 1-->
         <!--$endif-->
         <!--$if not hideIt-->
              <!--$if drewOne-->
                        <!--$endif-->
                        <!--$label-->
                        <!--$drewOne = 1-->
                   <!--$endif-->
              <!--$endif-->
         <!--$endloop-->
         </li>
    </ul>

  • Hide / Show region template - how to make it stay visible after NEXT& PREV?

    Hello,
    I am using the Hide / Show region template (by the way great idea to create this template ;)
    By default the region is hidden. If i want to see the region content (it is a report) I click on that icon and it becomes visible. For my report I use the pagination "ROW Ranges X to Y of Z (with pagination)".
    The issue is that if I click NEXT of Previous, the region is closing (hidding).. and in order to see the next / previous page of my report I have to re-open it..
    Is there any known workaround for this?
    Thank you in advance
    Anca

    I would start at Re: Toggle all hide show regions on a page open/closed
    It references the using javascript to manipulate your hide/show regions. It should get you started in the right direction. It is about the most straight-forward example I have seen for what you are trying to do<br><br>
    You could trigger the javascript after your page is rendered by calling it from the page footer and reference the values of page items to determine if you are supposed to hide the region(s).<br>
    Create a page item called P88_HIDESHOW_REGION1 and set it's value to Y or N depending on whether the #REQUEST# has a string in it that is part of report pagination. If you hover over a "next page" button in a report, check out the resulting URL that pops up in your browser.....it looks like ..../f?p=900:210:8352027355600111016:pg_R_241403738845262873:NO&pg_min_row=31&pg_max_rows=30&pg_rows_fetched=30
    <br>
    You could do an instr(:REQUEST,'pg_R_') > 0 then set P88_HIDESHOW_REGION1 = 'Y' else P88_HIDESHOW_REGION1 = 'N'. Your javascript called at the footer of the page could set the display of the region to on or off depending on the result of P88_HIDESHOW_REGION1

  • Wee inconsistency in region template "Form Table Attributes"

    In the region template definition there is a field for specifying form table attributes. If I specify table attribute(s) they work as expected. If I then add an item type of "Stop and start table" to the region, the custom attributes are not used in the subsequent tables.
    It's a minor thing... perhaps this can be fixed (or has been fixed) in 3.0?

    Atul:
    I dont know what the 'Alternate Source' is
    In the Source section set
    Source value or expression to be the name of the database column that has the URL (company_url)
    Post calculation Computation to be '<a h ref="' || :pxx_company_url || '">' || :pxx_company_url || '</a>'; where pxx_company_url is the page-item name.
    I have specified 'h ref' instead of 'href' so that the forum software doesnt mess up the post.
    Varad

  • Access CDF MetaData from Region Template

    How can I access the MetaData of a CDF from the Region Template?
    I have read that I can use DOC_INFO, but this does not seem to work. I tried:
    DOC_INFO.dDocAccount and got nothing.
    I tried:
    executeService("DOC_INFO")
    DOC_INFO.dDocAccount
    Thank you in advance for any help.
    _t                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    If you're looking for the CDF that's assigned to the region template, use:
    <!--$#active.[metadata field name]-->
    For example, <!--$#active.xDescription-->
    If you're trying to get from a different CDF, use:
    <!--$dDocName="[Content ID]"-->
    <!--$executeService("DOC_INFO_BY_NAME")-->
    <!--$#active.[metadata field name]-->
    For example,
    <!--$dDocName="CONTENT123456"-->
    <!--$executeService("DOC_INFO_BY_NAME")-->
    <!--$#active.xDescription-->

  • Classic Report with Hide and Show Region Template does not show report

    Hello,
    I created a "No Template" region on a page with a Classic Report. When I change it to a "Hide and Show" region template, the report does not show up when I click to Show the region...is there an additional step i'm missing to make the report show up. Its a very simple query.
    Thanks in advance,
    John

    How about posting some relevant information like Apex version, RDBMS version, Theme you are using, etc.?
    Regards,

  • JQuery modal region template in theme 24

    Please provide details how to use the JQuery modal region template in theme 24.
    I want to create a modal page but I am no expert in jquery or script.
    I am sure this template should make life easy but unable to find how to use it.
    Any help greatly appreciated.
    Thanks,
    DS

    Dan has created a great plugin. http://www.skillbuilders.com/oracle-apex/Application-Express-APEX-Consulting-Training.cfm?tab=free-plugin-downloads
    It is the Modal page plugin. There is a video tutorial on the site to instruct you how to integrate it into your app.
    Edited by: svk1965 on Aug 3, 2012 3:29 PM

  • Modify a report region template

    Hi
    I am new on Apex, so my question could seem elementary! :-(
    I would like to create a mutiple report on one region, as explained and described on this forum in many places, but I am stuck at the begining!!
    - How can I copy a report region template?
    and
    - How can I copy a page template?
    Many thanks for your lights
    Regards,
    Fred

    Hi Fred,
    In your application, go to Shared Components, Templates. Then click the Create button and select the template type. On the next prompt, ensure that you select the "As a Copy of an Existing Template" option, then click Next until you get to a list of current templates. Change the name of the template you want to copy and change the Copy? drop-down from No to Yes and click the Copy xxxx Templates button. You will then be returned to the templates list - click on your new template to edit it.
    Andy

  • Skillbuilders_super_lov plugin with Modal region template

    Hi ,
    I am using Report and form (IR) , i called form when i press in create button by this code
    javascript:openModal('region id')and make the form region as modal region template , in the form i use skillbuilders_super_lov plugin .
    when i open the LOV plugin it appear like this image
    http://s13.postimage.org/k2zqekwzb/LOV.png
    i need help
    Ahmed,

    Dears ,
    if the problem with template or any thing related css file .. can any one help me ?

  • 4.2 Early Adapter 2 Numeric Region Template Name

    I think it is a stupid question. But as I am new to this I should clear my doubt.
    In 4.2 early adapter 2 there is a packaged application called Incident Tracking. In this application page number 50 is having a region called Tickets. It has a template which is numeric.
    I could not find the template under the application theme. Even if I try to create a page with the same page template but when I try to create a region in the region template LOV the numeric template is not displayed.
    Any idea??????
    Mehabub

    Mehabub Sheikh wrote:
    I think it is a stupid question. But as I am new to this I should clear my doubt.
    In 4.2 early adapter 2 there is a packaged application called Incident Tracking. In this application page number 50 is having a region called Tickets. It has a template which is numeric.
    I could not find the template under the application theme. Even if I try to create a page with the same page template but when I try to create a region in the region template LOV the numeric template is not displayed.
    Any idea??????
    MehabubYou are seeing the numeric value because the select list is set to display extra values > Yes and the selected value does not exist in the lov.
    It could be a bug! in that app.
    Once you are logged in to your app go to > SQL Commands > try the below sql
    select *
    from apex_application_templates
    where application_id =11366
       and template_type='Region'
       and template_id =195391130200971512 -- numeric value appearing in the template name lovIt will return no data found because the template does not exist in your app (I mean it is missing in the application install script)

  • How to utilize JQuery modal region template in theme 24

    Hi guys,
    I was check the templates of the theme of 24, and noticed "JQuery modal region template". Can you pls, give some pointers about how to use it ...
    Regards,
    Fateh

    Hi,
    I want to create a modal page and would also like to know how to use the jquery modal region template.
    Any help appreciated.
    Thanks,
    DS

  • 'Scrollable Content Region' - Region Template - Anybody used successfully?

    I have just implemented a "Data Load" function which is the OOTB page type in apex 4.2 which allows the end user to go through a wizard and import csv data into a table.
    When the user is viewing the data to be imported - they have to scroll across the length of the screen (depending on how many columns you are loading).
    I noticed there is a Region template called "Scrollable Content Region". I tried applying this template to my region, and when this didn't work, to a container region.
    The scrollbars appear (horizontally and vertically) but they are greyed out as the region is still at max width and you have to use the browser to scroll instead.
    I think this looks untidy as the header colour-styling ends, as well as other regions being stretched.
    Has anyone used this successfully before?
    Amanda.

    Hi Amanda,
    What I've done with this region is edit the template and change the style for the div.uRegionContent.  You'll see that it says "overflow: scroll", I change it to "overflow: auto", this way the scroll bars will only show when they are needed.
    The other useful thing is to remove the hardcoded height and define it on a per region basis.
    So, if my region ID (STATIC_REGION_ID) is empRegion then the height can be defined as:
    #empRegion > .uRegionContent {height: 600px;}
    Of course you could do this without modifying the region by adding !important.
    #empRegion > .uRegionContent {height: 600px!important; overflow: auto!important;}
    Hope this helps.
    Thanks
    -Jorge

  • Make a new region template

    Hi all,
    I am using Two Level Tabs Page Template in my application, and have used all the region templates (from 01 to 08) in my page. I still need a space for 1 more region template. Can i make a new region template of my own??If so how can it be done?
    With Regards,
    Neha Sharma

    Region #'s 1 thru 8 are not really the equivalent of region templates. Those are placeholders for different display areas on the various pages.
    Each one displays in a specific area of the page depending on the theme and page template that you're using. These region numbers are used for things like sidebars, tabs, main report or form regions, etc...
    You are also able to include many report or form regions (or other regions) in a single display region.
    In my 5 or so years of using Apex I have never had the need to try to create a new display region. And I don't think there's a way you can actually do it.
    Why don't you let us know what you want to accomplish and you're sure to get some suggestions.
    Earl

  • Region Template Vs Region Definition

    Hi,
    I am using site studio 10gR4. and this My challenge is to have two different region definitions for one Region Template.
    Is it possible or i am expecting something very extra from the tool which is beyond its scope.
    And I also need to exclude and include one region definition on the basis of site hierarchy.
    Is there any alternate solution then please suggest!!
    Hoping for an answer!!
    Thanks in Advance!!

    I think you can use #REGION_SEQUENCE_ID# Check the template for the Hide and Show Region.
    Regards Pete

Maybe you are looking for

  • Flash Player won't download for IE7

    Since the update of IE7 of last week, I can't download Adobe Flash Player. I tried downloading it using Firefox and it downloads but installs only on Firefox, so I suppose the player is browser specific. I need the player when I go to www.nytimes.com

  • The new version of Adobe Flash Player 11.5.502.110 does not display images in the flash movie.

    In the new version  of Adobe Flash Player 11.5.502.110 the images are not displayed. In previous versions they are displayed. Tested on several computers. This is not a local problem. This is a problem of Adobe. The bad news is that the early version

  • How to implement Dynamic lookup in OWB mappings(10g)

    Hi, Iam using OWB 10g version for developing the mappings. Now I need to implement the Dynamic lookup in the mapping.Is there any transformations available in OWB to achieve this. Please give me some information about the same. Thanks in advance...

  • Ipad mini/HDMI question?

    I want to buy the lightning to HDMI adapter for my ipad mini to use it to record video WHILE it's hooked to the monitor.  Does this keep the record screen ACTIVE while it mirrors the video, or is this not possible?

  • BAPI Needed for IQ01 txn

    Hi All I am uploading 1lac Serial No's for the IQ01 txn against the material. For this I am using BDC of IQ01 but its taking long time. Please suggest any useful BAPI for IQ01 txn.... << removed >> Rgds Deepanker Please read Please read "The Forum Ru