Multilingual support in the Navigation model in the webcenter Portal

Hi people,

I have an interesting question at hand.

I am building a portal WebCenter application where I need to support multiple languages.
In addition, the change of locale is not derived from browser but provided as a choice (as a drop-down menu) so that the user can choose the language on the run time.

So I did the created resource bundles, bean and done the basic setup and it works for all labels, labels etc.

But I need to show these menu items in the local language and I'm stuck with navigation model that when I change the language by changing the value of the drop-down list, it never takes effect in the menus.

I tried below, but was unable to do so.
https://blogs.Oracle.com/ATEAM_WEBCENTER/entry/navigation_model_locale_dynamic_run

If anyone has any idea please help us to on this.

Kind regards

Hello.

If you set up your navigation model titles use all resources you need to invalidate the cache model SiteStructure or Navigation.

You have multiple threads in OTN on this example question and mapping based on the solution of the A-team:

Thread:
Re: multilingual using WebCenter construction Portal (Read the section on navigation)
Re: Updating navigation model
Re: What about Webcenter Global Bundle

Blog post with the download link:
http://danielmerchanoracle.blogspot.com.es/2011/09/multi-lenguaje-en-una-aplicacion-de.html

Concerning

Tags: Fusion Middleware

Similar Questions

  • How tdo I add a device supported in the supplier portal?

    Hello

    'Potential' user of ours sent me an email saying that it was not able to download our application to his BlackBerry "BOLD". He'll be back to me with the exact model number. We support only 4 models of "BOLD" from now (not touch ones).

    In fact, the app will probably work very well on the 9900 new but we just don't have it on our list of supported devices.

    So I have two questions:

    (1) if the user's device is not supported by our application, is it not see it in the App World?

    (2) how can I add a device supported via the provider Portal? I mean no return code. Can I make changes to the list quickly?

    Thanks in advance.

    (1) if the device is not supported, the user should not be able to see the application to all the

    (2) to set the phone support: go to see release (eye-like button), Edit, tab add the Release Version, scroll down, change the device supports, check all the boxes

  • How to install messaging to the Webcenter Portal Services?

    I want to activate the messaging on the webcenter portal service. But the messaging service does not appear in the services and suppliers page. How can I bring up the mail service? How do we install the mail service?

    Sory for my bad language.

    webcenter-mail.png

    Hello

    Please see the document below to configure the configuration of mail service.

    17 the mailroom management

    https://docs.Oracle.com/CD/E28280_01/WebCenter.1111/e12405/wcadm_mail.htm#WCADM235

    and also check the document below to create a mail connection.

    How to create a SMTP of Mail connection only? [1182383.1]

    Concerning

    Françoise

  • Cannot bind the portlet parameter with the webcenter portal page setting

    Hi all

    I'm tying portlet parameter with the setting of the page so that I can reach some needs of the company.

    Here's what I did,

    In my producer of Portlet application:
    (1) created standards based portlets (jsr 286) with view.jspx and edit.jspx with the rest of the things being default.
    (2) in my portlet.xml created two parameters and receives these parameters to the portlet created above.
    (3) in the added view.jspx output torque label adf elements in the page.
    (4) deployed this integrated weblogic server.

    In my WC portal application:
    Created a new page and add the portlet to this page (WSRP connection already exists).
    deployed applications of portal on the server integrated.

    In page editing mode, I added a parameter (Param1) and certain value (constant) default page added.

    What I want is this:
    What value of Param1 is a view first label of output and
    What value of Param1 is display two second label output.

    I use jdev 11.1.1.5.0 with integrated weblogic server.

    (1) I do not set the value in the portlet code. This is supported by the application of Portal WebCenter! When you insert the portlet on a page and Runtime edition mode, press the button customize (an icon of Gable at the top right of the portlet). The first tab is the tab settings of the portlet. This tab is generated by the infrastructure by reading the specifications of portlets. As soon as you change the value it and press ok or apply, the value can ask of the portlet code I provided. That's why you can't find a code to set this value.
    (2) responded to 1 I guess :)
    (3) also partially answered 1 :)
    To change the value of a second, you must customize the portlet. This is possible by logging into the portal. You should see a pencil icon in the upper right of the portlet. When you click on it, it will open the page of edit.jspx that can be used to set preferences, as you can see in the code.
    Note that edit.jspx and the code to handle fields in the portlet bean are generated by Jdeveloper. I've not written. This is done by JDeveloper when you add a preference during the portlet Wizard.

    I hope this helps.

  • 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

  • method of appeal as soon as the user is connected to the webcenter Portal

    Hello

    What would be the best place to call a java method as soon as the user is authenticated (connected) - before first connected page.

    I need to pick up the profile of the user to the ldap server.

    I use this bean OOB for login - oracle.webcenter.security.view.login.LoginBackingBean

    Thank you.

    Hello.

    ADF Phase listener uses are common in ADF, and WebCenter portal projects. You need to implement carefully for performance stuff.

    In our case we have implemented something like

    public void beforePhase(PagePhaseEvent pagePhaseEvent) {
            if (pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_MODEL_ID){
                UserBean user = (UserBean)ADFContext.getCurrent().getExpressionEvaluator().evaluate("#{c_i_p_b_userBean}");
                // Only if user information weren't loaded
                if (user != null && user.getUserPrincipalName() == null) {
                // Only if the users is really authenticated
                    if (ADFContext.getCurrent().getSecurityContext().isAuthenticated()) {
                        // Fill User attributes in the scoped variable
                        LDAPUtil ldapUtil = new LDAPUtil();
                        String userName = ADFContext.getCurrent().getSecurityContext().getUserName();
                        ldapUtil.getUserBasicAttributes(userName,user);
                    }
                }
            }
        }
    

    By running this code before PREPARE_MODEL_ID will mean that only will be implemented during the first page of loading time (not in the PPR requests).

    It does not affect performance.

    I hope this help you.

    Kind regards.

  • See the news feed from the University Complutense of MADRID to the Webcenter Portal

    Hello

    I'm new to AAU and Webcenter portal technology. I have a requirement to display the contents of RSS feeds which is kept at the Complutense University of MADRID and to display in a webcenter portal.
    Please guide me on how can I achieve this. What all the technology that I use.

    Sahar

    Hello Sahar,

    There are at least two options:

    (1) query metadata (UCM) and host content (PGC)
    (2) RSS feed component (UCM) and RSS task Flow (WCP)

    Ad 1) take a look at this tutorial: http://www.yonaweb.be/webcenter_tutorial/using_content_presenter_templates

    In a Word, your 'news' can be any content stored in the University Complutense of MADRID, defined by its metadata. To view it, you can create a template according to your needs.

    AD 2) could not work any longer.

    The idea is to use get news RSS FEEDS and display them. As part of the WCP, there will be no problem - for more details, see http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10149/rss.htm#WCSUG1384
    I don't know, however, for the part of the Complutense University of MADRID. There used to be a component that has enabled the sharing of content as RSS feeds. The component is available at http://www.oracle.com/technetwork/middleware/webcenter/content/rssfeeds-129386.zip
    Unfortunately, it seems in 11g were dropped (I could find no reference to this in the docs of 11g), however, it might still work - see the discussion in the activation of the RSS FEED at the Complutense University of MADRID

    If you want to go this way, you will need to test / fix it yourself.

    Jiri

  • role and user to the webcenter Portal

    Hi all

    How can I configure roles, groups and users of weblogic portal webcenter'?

    Well I'll tell if yoou have user from multiple sources, then user OVD + OAM architecture.

    serve OAM assertor identity in weblogic. Run the portal in the same weblogic domain. You will automatically get authenticated WebLogic nd you can connect to the portal. For the assignment

    Members for each portal, I say define groups of identity provider and create roles for Sami in PCM. Set access for weblogic for different portal. It should work...

    If you have any questions let me know

  • How to make http post in the Webcenter Portal Application?

    Hi all

    We have a requirement in which we must train to an external URL.

    We have created a Taskflow bounded with page fragment. Added a button on the page fragment and had to form POST to an external URL the button click. Expected features, the URL of the external site will open in the same tab.

    But we can not directly use html form tag in the page jspx because it cannot have two form elements.

    Example code snippet that we use:

    " < form id ="meetingPost"action =" http://XYZ/reg.aspx "

    method = "POST" >

    < input type = "hidden" name = "userId" value = "12345" / >

    < / make >


    We have tried to do this programmatically as below. But it does not work.

    JSPX code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

              xmlns:f=" http://Java.Sun.com/JSF/core "

              xmlns:h=" http://Java.Sun.com/JSF/HTML "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document id = "d1" >

    < af:form id = "f1" >

    < af:region value = "#{bindings." TestTF1.regionModel}"id ="r1"/ >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    JSFF code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "" "

              xmlns:f=" http://Java.Sun.com/JSF/core ">

    < af:resource type = "javascript" >

    function postToURL (url) {}

    var form = createElement ('form');

    form.setAttribute ("method", "POST");

    form.setAttribute ("action", url);

    Form._submit_function = form.submit;

    form.appendChild (document.createElement ("input", {type: "hidden", name: "userId", value: "12345"}));

    document.body.appendChild (form);

    Form._submit_function ();

    }

    < / af:resource >

    < af:panelGroupLayout id = "pgl1" layout = "horizontal" >

    < af:commandButton text = "Submit" id = "cb1".

    actionListener = "#{pageFlowScope.SampleBean.postToCvent}" > < / af:commandButton >

    < / af:panelGroupLayout >

    < / jsp:root >

    Managed Bean Code:

    {} public void postToCvent (ActionEvent actionEvent)
    FacesContext fctx = FacesContext.getCurrentInstance ();
    String url = " " http://XYZ/reg.aspx ";
    ExtendedRenderKitService service = Service.getRenderKitService (fctx, ExtendedRenderKitService.class);
    StringBuffer script = new StringBuffer();
    script. Append ("postToURL('");
    script. Append (URL);
    script. Append("')"); "
    service.addScript (fctx, script.toString ());

    }

    Thank you

    Bharat

    Abhijit salvation,

    sendRedirect don't GET, POST.

    in any case I solved the problem by substituting the attribute action for af:form using java script and adds input fields on the fly and able to reach the POST form to an external URL.

    JavaScript (test.js file):

    function postToCvent (event) {}

    If (event! = null) {}

    Get the source Customer attribute

    var url = event.getSource () .getProperty ('url');

    var userId = event.getSource () .getProperty ("userId");

    Get the form by Id element, it will be af:form Id

    var form = AdfPage.PAGE.findComponentByAbsoluteId ("mform");

    If (form! = null) {}

    formId var = form.getClientId ();

    document.getElementById (formId) .setAttribute ("method", "POST");

    document.getElementById (formId) .setAttribute ("action", url);

    Create and add the input field to your

    var hiddenField1 = document.createElement ("input");

    hiddenField1.setAttribute ("type", "hidden");

    hiddenField1.setAttribute ("name", "userId");

    hiddenField1.setAttribute ("value", username);

    document.getElementById (formId) .appendChild (hiddenField1);

    SubmitForm

    document.getElementById (formId) .submit ();

    }

    }

    JSFF code:


    http://XYZ/reg.aspx"/ >

    JSPX code:


    source="/resources/test.js"/ >

    Thank you

    Bharat

  • Multilingual support.

    I propose to introduce the multilingual support in the browser, because it is inconvenient to change the language of the interface to delete and reinstall.

    Hi, you could have a look at this addon that will make things easier:
    https://addons.Mozilla.org/firefox/addon/simple-Locale-Switcher/

  • Producer for the webcenter portlet application deployment

    I created a producer of portlet webcenter application. Can I deploy this project to a non-webcenter weblogic server instance portal?

    Hello.

    WebCenter Portal only works with the active WSRP Portlets because it consumes remote portlets.

    Yes, you can deploy your producers in a separate area, , but in a managed, server ready to be a producer of Portlet (WC_Portlet) created using the installer of WebCenter portal. You will need to take into account to set the security domain and other stuff to allow this architecture work.

    Summarize:

    -Domain A with WC_Spaces server with WebCenter managed portal

    -The domain B with WC_Portlet Server (created using the WebLogic Portlet from the HOUSE of the WebCenter Portal model) managed

    It answers your question? I think the thread has become confused.

    Kind regards.

  • How can I make a tab by default whenever I have connection to the portal of the webcenter spaces?

    Hello

    I have a single page in the portal of webcenter spaces, which is the default portal in the webcenter application. This single page has 6 or 7 like Home tab and the other tabs. Whenever I logged in the webcenter I can see the url redirects to my default portal but it doesnot get home tab made, instead, it shows the tab where I left just before disconnected tab.

    For example I have tabs A, B, C, D etc... I have logged in to the application portal and I did something in tab C and then I logged. After once again I re-login, I see this tab C shows, but I want to see that tab must be returned. Someone help me how to make a tab by default whenever I have connection to the webcenter portal.

    Thank you

    Ashok Laura.

    Hello

    This is an expected behavior as his persists the State of users. I did face this problem before and solved by setting the disclosed condition of showditailitem programmatically.

    Please check below the code for your reference.   Invoke the bean managed prior to the loading of the page to

    {} public void onPageLoad (PhaseEvent phaseEvent)

    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}

    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}

    If (this.newsPanelTab! = null) {}

    List childUIComponent = this.newsPanelTab.getChildren ();

    If (childUIComponent! = null & childUIComponent.size () > 0) {}

    for (int i = 0; i)< childuicomponent.size();="" i++)="">

    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}

    If (i == 0) {}

    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);

    } else {}

    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);

    }

    }

    }

    }

    Thank you
    Amey

  • Get the list Favorites WebCenter portals for a user

    Hello

    I have a requirement to show a page customized in my ADF application Favourited list or of recent WebCenter portals of the logged in user.

    WebCenter Portal version is 11.1.1.8.

    Anyone know how I can use the WebCenter portal API to get the list of Favorites/recent user portals?

    Kind regards

    Onkar

    or you can get it from database. Connection of a webcenter schema. You can also create the ADF BC and get access to database data.

    Second option, you can search for webcenter Portal rest api

    http://docs.Oracle.com/CD/E29542_01/WebCenter.1111/e27738/wcadm_rest.htm#WCADM6679

  • Can we use the new components and jdeveloper 12 c features in Jdeveloper 11.1.1.7 webcenter portal, if yes how?  I want to use Mulitaskflow link, Gantt, sunburst and another new feature of jdev 12 c in my webcenter portal, how

    Finally, I have checked that the latest version of the Webcenter portal comes with jdeveloper 11.1.1.7. Now, I think that 11.1.1.9 is available for webcenter... My test case is I want to use the binding of multitaskflow in my 11.1.1.7 jdeveloper, this feature is available in jdeveloper 12 c and other new components such as sunburst, Gantt and cards Control Panel diagram. those I want to use in my portal webcenter application.

    To use sunburst, side of gauge, thematic map, etc., you must use 12 c or 11.1.1.9

    multiTaskFlow binding introduced in 11 GR 2, Gantt chart is available in 11 GR 1 material

    Ashish

  • WebCenter portal with the custom identity assertion provider?

    Hi all

    I developed all the custom identity assertion provider that always fills a topic for weblogic without validating the token as a test.

    I moved the IdA provider at the top of the list of providers. and put the flag of control for the other provider of authentication as "SUFFICIENT."

    I was expecting when I access the WebCenter portal (http://webcenter.local, host: 7777 / webcenter), default login page jump the homepage appear automatically connected by the custom of IdA provider like weblogic.

    But there is no tracks from the custom of IdA WC_Spaces log file provider and the default login page has been demonstrated.

    Please let me know what the problem...

    Thank you and best regards,

    I used a phony. After that I changed the token as 'JSESSIONID', the custom of IdA provider worked well.

Maybe you are looking for