Metacontainer on the webcenter page templates

Is it possible to include the container meta on a webcenter portal page template?

I was looking at this subject, but so far, the only way to include the meta on the head element tags is to add the facet of container for metadata about the page inside the af:document tag styles:

<af:document title="#{pageDocBean.title}" id="docrt">
         <f:facet name="metaContainer">
            <af:group id="metaContainer">
               <trh:meta name="viewport"
                         content="#{'initial-scale = 1.0,maximum-scale = 1.0'}"/>
               <trh:meta name="keywords"
                         content="#{navigationContext.defaultNavigationModel.currentSelection.attributes['Subject']}"/>
               <trh:meta name="og:url" content="#{urlNavigation}"/>
               <trh:meta name="og:type" content="website"/>
               <trh:meta name="og:description" content="#{pageDocBean.desc}"/>
               <trh:meta name="og:title"
                         content="#{urlNavigation}"/>
               <trh:meta name="og:image"
                         content="#{serverUrl}#{'/ShowProperty?nodeId=%2F'}#{documentsService.defaultConnectionName}#{'%2F'}#{bindings.ImagenBannerHeaderID}#{'%2F%2FidcPrimaryFile&amp;revision=latestreleased'}"/>
            </af:group>
         </f:facet>

Doing this works for newly created pages, but for the old pages, the only way to add metadata container is to change them one by one and add extract metacontainer.

is it possible to add the metadata on the page templates container, so that the generated HTML code includes on <>head meta tags < / head > section? It mainly enter the keywords of Search Engine Optimization, which gets only recognized on the < head > element.

Hello

As mentioned that your condition is to add a key word, in this case you will have to add it into each page. model of page is applicable to each portal pages, so in this case, your goal is not resolved. Same case in the style of the page.

Therefore, add the keyword individually to each source of the page.

Thank you

Amey

Tags: Fusion Middleware

Similar Questions

  • How to change the default page template Oracle?

    Hi, jdev 12 c,

    When to create a new jsf page, I select the Oracle page three column template. And now I want to change elements in the model but cannot find the template file in the navigation application jdev tree?

    Where can I find it and make changes?

    Thank you!

    Check also on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/july2011-otn-harvest-444848.pdf "how to open a page served as a library of ADF template.

    Timo

  • The search page template

    Hello
    Is there a way to search for specific text within all the page stored in the UCM model?

    Question Elsewherein: it is possible to download a single page web interface UCM model?... I got a HTTP 403 error when you try to download a page template. I have to use only jdev?

    I use studio site with the PS3 of the Complutense University of MADRID.

    Thank you very much.

    Best regards
    S.

    Generally the models would have been verified as content items with the type system or TA, do a standard search in the AAU for this type of content and filter based on the text you are looking for.

    I hope this helps!

  • limit the width by changing the page template

    Hi all

    I'm trying to get my site looks like http://www.plsqlchallenge.com

    so I tried to limit the width of the content page by changing the default page template as follows:

    go to the components shared = > models

    Theme: 7 Blue modern

    Type: page

    Choose the default template: No. Tabs - right Sidebar (optional / based on a table)

    just before #FORM_OPEN # I added this:

    < div id = "DΘmarrer" style = "width: 970;" height: 100%; box-shadow: 0 0 20px #333333; border-radius: 10px 10px 10px 10px; background-color: #00FFFF; ">

    and just after I added #FORM_CLOSE #.

    < / div >

    I also played a little with the other divs (changed colours)

    I can't seem to get the right result

    Help, please

    KR

    Martin

    Martijnke wrote:

    Hi all

    I'm trying to get my site looks like http://www.plsqlchallenge.com

    so I tried to limit the width of the content page by changing the default page template as follows:

    go to the components shared-online models

    Theme: 7 Blue modern

    Type: page

    Choose the default template: No. Tabs - right Sidebar (optional / based on a table)

    just before #FORM_OPEN # I added this:

    and just after I added #FORM_CLOSE #.

    In CSS units must always be specified for dimensions (except if the value of the dimension is 0). This means that width: 970 is not a property is valid and it is ignored by the browser. You must use width: 970px; to the rule.

  • Two-way Navigation: side AND Top Navigation: Page header contained in the Global Page causes overlap of the following regions

    Environment:

    -------------------

    APEX 5.0.1 on ADR in Tomcat

    Universal theme

    Global page

    New application (no migration)

    The goal:

    -----------

    In addition to the navigation, I want to use a horizontal Navigation at the top of all application pages at the same time.

    My way up to now:

    ---------------------

    (1) left Navigation ist defined as default user interface.

    1A) Unfortunately it is not possible to have two means of navigation defined at the same time!

    (2) therefore... I created a global page

    (3) and added a list with the list of attribute (= Menu bar) template to the PAGE of a global Page header. -> Well, looks good, but:

    The problem and the Question:

    ------------------------------------

    When adding a list according to menu (or something else like static text) to the global header of the page then the left hand side Navigation AND Breadcrumb area is oberlapped by the 'Logo' and 'Navigation Bar area' because the Page header is pushing it down. Parts of the side Navigation and navigation bar are not more.

    Please see the 2 following screen captures:

    Initial position:

    no_global_menu.jpg

    After the addition of menu on the global page:

    with_global_menu.jpg

    Unfortunately I can't understand myself, how to set the position or the css page template, or values... and at what level (model, page,...) I have to put.

    = > y at - it a way to let these following regions (dynamically) be pushed down? How can we define the position?

    Best regards

    Joerg

    Hello out there!

    In case anyone has the same issue here the answer I would give for-> me I found the following solution:

    .) I defined a new style with the following custom css theme roller:

    .apex-side-nav .t-body-nav, nav-side-.apex .t-body-stocks, .apex-side-nav .t-body-title

    {

    top: 80px;

    }

    .) And then of course saved as a new style.

    Hope this is the right way and good / best practices to deal with it!

    Best regards!

    Joerg

  • How to make resources (page template, skin) visible by default

    The new page template, or skin are hidden by default. How to configure as available by default without having to define them explicitly. Basically I want the same behavior for my page template regarding the 2 page STANDARD templates that are available by default. -Thank you

    Hello.

    There is a file called credits-site - resources.xml in your portal application (look through Explorer). It will record all the resources of the portals.

    Look at your new portals resources and change visible attribute to TRUE.

    I hope it helps.

    Kind regards.

  • switch between page templates in an application

    Hi guys,.

    I would like to change to a "walk-in with sidebar tabs" page in only a page of my application.
    And maintain "tabs" on the other pages.

    When I change it by clicking in my theme, it changes the template page in all the pages of my application, I want to do it only for 1 page.

    Don't you think it's possible?

    PS: I use Apex 2.1, maybe it's possible to Apex 3?

    That, at the level of the page, not in the theme. Click on the link of the model in the attributes page for the corresponding page and select the required Page template.

  • Taskflow added to the Page template

    I created a taskflow in my Webcenter Portal application.  Then, it is included in my page template (drag + drop so that all the necessary links are created)

    When I run the application, my workflow is not running.  I am able to test in debug mode with a breakpoint in a method of bean of support of a method call.

    Question: The workflow can be included in a Page template?  Or should it be included from Pages?

    Jdev: 11.1.1.7

    Yes.

    When Creating Custom Task flows and adding them to your JAR ADF libraries, you must go to jazn-"Data.xml" to assing roles can view, manage... your custom task flow.

    Kind regards.

  • How to identify the locale in the development of the Page template

    Hello.

    While building the page template, I need a way to identify in what I m local work. Some files is on the Complutense University of MADRID (in a segregation of the structure of language).

    For example: the English file will be in an address and the same (but in Portuguese) in another (address) - one and its referenced by the Page template. So, I need a flag on which local (idiom) is the current - use the right file for the right idiom.

    There is an implicit variable Webcenter give us with the current language?

    Way to do that?

    Thank you.

    You must use the Expression langauge

    #{view.locale}

    Outside of your condition, you can mix jstl and use it more productively.

    as


    content of the Complutense University of Madrid

    content of the Complutense University of Madrid

    Hope this helps you.

    Kind regards
    Hoque

  • Eliminating the persistence of the status of component Webcenter Page for a specific Page

    I have a page in Application Webcenter (MDS enabled) which consist of a task flow from the shared library.

    JSFF components: Accordion Panel.

    I am disclosing the accordion and leave the page. (Collapse or Expand) State of the accordion is persisted when you navigate to the page again.

    Question: I want the accordion to restore original state instead of persist.

    Hello Teddy,.

    This is the default behavior of the webcenter Portal / ADF to persist in the State. If you need to set it to the default state you need to programmatically set the total communication of individual showdetailsitem to true.

    If the accordion to taskflow then you can use beforephaselistener to view the activity called a bean managed to set the details element see the declared property when the page is loaded.

    Binary: Disclose by program a ShowDetailItem in a

    panelTabbed - first tab selected when the page is loaded

    You can imagine we are building! : disclose an element of detail see the tab of the Panel by default ADF

    Thank you
    Amey

  • Unable to see the Documents tab in the admin portal Webcenter page

    Hello

    I made the installer of the AAU and created an outgoing connection to the console of the server of the University Complutense of MADRID. (Reference: Oracle ADF y WebCenter in English!: WCP 12.2.1: Installation VII (Oracle WebCenter content 12.2.1))

    After this, I restarted the entire domain, but still, we are not able to see the Documents tab in the admin portal Webcenter page.

    Can someone please on what you miss.

    I'm in the admin page and therefore not be able to see the Documents tab. When I moved to the home page, I am able to see the Documents tab.

  • How to use the pageDef of the Page template file.

    Hello

    JDev Version 11.1.2.3.0.

    I have an app with the pageTemplate file that is used on all pages. I added a taskflow bounded to the page template. To use this bounded taskflow, I need to have in the file pageDef the taskflow definition:

    "< taskFlow id ="languageBTF2"taskFlowId="/facets/language/languageBTF.xml#languageBTF ' activation 'deferred = '.

                  xmlns=" http://xmlns.Oracle.com/ADF/controller/binding "/ > "

    However this was automatically added in the model pageDef file. If I want to use it in all of my pages, I need to add it to all their files pageDef manually, because the #{bindings} resolves to the pageDef of the current page and not the model page.

    Kind regards

    Pamela

    If you add the template, you must update all the linking pages to access the model pageDef pageDef. You can try this:

    1 - Open one of you request page (.jspx) and go to the pageDef, this page, and in the executable section add this as:

    
        
        
    
    

    in the path to write the path of the file for pageDef model.

    2 - Open the .jspx page and in the pageTemplate add this value = "#{bindings.ptb1}" as "

        
          
            
    
            
          
        
    

    3 - Repeat these 2 steps for all pages.

  • Using sortevent in the attribute of page template

    12.1.3 Jdev

    Hello. I have a page with a table template. I create the attribute

    < afc:attribute >

    < afc:attribute - name >

    AboutPageSortListener

    < / afc:attribute - name >

    < afc:attribute - class >

    oracle.jbo.uicli.binding.JUCtrlActionBinding

    < / afc:attribute - class >

    < / afc:attribute >

    And he mapped in the sortlistener table

    sortListener = ' #{uploading. '. AboutPageSortListener}

    In the consumer page, I created the bean managed with a method

    public void tableSortListener (SortEvent sortEvent)

    {

    ......

    }

    then set the value of the attribute

    < name f: attribute = value="#{pageFlowScope.aboutPageBean.tableSortListener}"/ "AboutPageSortListener" >

    But the 'value' is marked with attention and when the code is executed, I get the exception

    javax.el.MethodNotFoundException: /file:C:/Users/michaels/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/DefaultDomain/servers/DefaultServer/tmp/_WL_user/InbalSecurity/m5g2is/war/WEB-INF/lib/InbalAdfCommons.jar!/templates/fragmentTemplate/fragmentTemplate.jsf @24,107 sortListener="#{attrs. AboutPageSortListener}': method not found: {}. AboutPageSortListener (org.apache.myfaces.trinidad.event.SortEvent)

    Other events of Action line methods that are also defined in this bean are working well

    Please advice

    I'm afraid that I did not understand what you mean by my class. It shouldn't be something that already exists as oracle.jbo.uicli.binding.JUCtrlSortListener...?

    As far as I KNOW, it is not an existing type that contains sortListener.

    I mean by 'your class': 'x.y.z.AboutPageBean' because in this bean you have defined: public Sub tableSortListener (SortEvent sortEvent)

    If you can probably do the following:

    -Define the data for your model as attribute type: x.y.z.AboutPageBean (of course, replace x.y.z. with real names)

    -Assign a listener to your table as: sortListener = ' #{uploading. '. AboutPageSortListener.tableSortListener}.

    -Get the value of this attribute as:

    -Test this

    If it works, then make it generic in:

    -interface definition that contains: public Sub tableSortListener (SortEvent sortEvent)

    -change attribute of model type to: "x.y.z.YourInterfaceName".

    -implementation of this interface in each bean which must be assigned to the model parameter

    Dario

  • Modify the error pages customized in the spaces of the Webcenter Portal

    Hi all

    I use webcenter spaces 11.1.1.8.6. I need help on the following points.

    How can I create an error page customized for generic error pages that we have in the system pages as encountered error; None of the accessible Pages; Page not found; Portal not found; Not allowed. The goal is that we replace these pages with the page of the custom portal which has the appearance of portal and personalized message.

    For example. If we want to replace the profile page custom in webcenter we can create a customized our own page and create a writing of this page in the WC_PPL_COMMON_SETTING table. This will replace the profile existing and call our newly created custom page.

    Similarly, I want to know what can I do to change (like the encountered error error pages; None of the accessible Pages; Page not found; Portal not found; Not allowed).

    One way is to customize and press start to customizaing the default page. But I want to keep the default page as it is and to create my own new page, as I said to the profile.

    Thank you

    Seddik

    Hi all;

    I am able to redirect to any page of mine.

    in the file httpd.conf (under WebTier_ORACLE_HOME/instances/instance_name/config/OHS/ohs1) in the context of the virtual server configuration:

    I've added the rewrite rule and it worked.

    # VirtualHost example:

    # Almost any Apache directive may go into a VirtualHost container.

    # The first VirtualHost section is used for all applications that are not

    # Match a ServerName or ServerAlias in any block of .

    #

    #

    # ServerAdmin [email protected]

    # DocumentRoot "/ usr/local/apache2/docs/dummy-host.example.com".

    # ServerName dummy - host.example.com

    # ServerAlias www.dummy-host.example.com

    # ErrorLog "logs/dummy-host.example.com-error_log".

    # Common CustomLog "logs/dummy-host.example.com-access_log."

    #

    NameVirtualHost *: 7795

    ServerName 10.238.52.43

    ServerAlias CTSINMBPCVS01.cognizant.com

    RewriteEngine on

    RewriteOptions inherit

    # RewriteRule ^ / mylife$ / index.html [R, L]

    # RewriteRule ^ / owc_discussions$ / index.html [R, L]

    RewriteRule ^/webcenter/system/WCPageNotFound.jsp/webcenter/portal/mylife/Home/PageNotFound [L, R = 301]

    RewriteLog /tmp/rewrite.log

    RewriteLogLevel 9

    Thank you;

    Seddik

  • Possible to have shared SelectList in the Page template?

    Hi all

    I have a simple question about "what I am missing?

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a < div > shared region in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    Is it by creating the shared list?

    Thanks for your help

    user8115477 wrote:

    Please update your forum profile with a recognizable username instead of "user8115477": Video tutorial how to change username available

    I have a simple question about "what I am missing?

    One thing missing is that information which is necessary to obtain a rapid and effective response when ask you a question.

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a shared

    area in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    You do not have. Add a global page to the application and create the item selection list it. Dynamic measurements can also appear on the overall page to implement the behaviors associated with the element. Conditions can be used to control the pages of the element and the DAs are displayed on.

Maybe you are looking for

  • Professional license

    IM currently trying to open a small business, it's going to be selling PC computer & repair shop. I intend to add software such as Windows 8 (or newer) microsoft and Microsoft office for products I'm sale (sell). What type of license should I have to

  • error library language selection

    Hi all How can I select the language for the error messages resulting from calls from libraries such as the library of TCP or UDP support care or...? Thanking you in anticipation.

  • How to open the Bios Acer aspire 4937g

    I tried to hit F2 Ctrl + alt + esc F12 ESC When starting my computer laptop still cant access bios Setup someone has an idea how to open it? I'm trying to enable vt - x in bios

  • How to invoke web service Ksoap2 in the Simulator

    Hello Friend (s). I need to call service web ksoap2 on the success of connection. Please give me the procedure to do so. Waiting for answer Thanks in advance. Himanshu

  • Can I install 64-bit on a 32-bit windows?

    Original title: 32 VS 64-bit bit. I have a Dell Latitude E5430, with windows 7 pro 32-Bit. Should I reinstall a 64 bit version? I have 4 GB of DDR3 RAM and a processor Intel i5 3230M CPU.