Multilingual using oracle adf

Hello world
I am beginner in the adf and according to the requirement of my project I need to use the multilingual features in an application.
Multilingual is basically that an i.e.(a_dropdown_showing_various_country_languages_and_as_per_user_selection_the_desired_page_language_changes).i feature uses the adf 10.1.3.5.0 version.
It would be helpful if someone can tell me its solution.
Thanks in advance.

Published by: user11858462 on September 3, 2009 05:41

Hello

Useful links:

[Location of the JSF, and ADF Faces applications | http://www.oracle.com/technology/products/jdev/101/howtos/jsfinter/index.html]
[21 internationalization and localization of Pages | http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_global.htm] Fusion Middleware User Interface Guide for Oracle Application Development Framework Web Developer
11g Release 1 (11.1.1)

Kind regards
Patrik

Tags: Java

Similar Questions

  • Clustered using Oracle ADF - CHECK_STATE_SERIALIZATION = all

    We use Oracle ADF 11.1.1.6. We have started to test our Oracle ADF application for cluster compatibility and used according to the document. We coded all recommendations figure in the document including allowing all classes of java there is place of serialization and also configure adf_config.xml < adfc:adf - scope-ha-support > true < / adfc:adf - scope-ha-support > and < adf:adf - scope-ha-support > true < / adf:adf - scope-ha-support > exactly as in in the document.

    http://docs.Oracle.com/CD/E12839_01/core.1111/e10106/ADF.htm

    Now, to verify the high availability on a stand-alone server of web logic for debugging use we have configured the Java Option '-Dorg.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION = all "in accordance with the recommendation.

    After the definition of this indicator system started throwing loads of mistakes similar to the below given error.

    [2012 07-26 T 14: 17:43.602 - 04:00] [OPERA_ADF1] [ERROR] [] [org.apache.myfaces.trinidadinternal.config.CheckSerializationConfigurator$ MutatedBeanChecker] [tid: [ASSETS].] [ExecuteThread: '17' for queue: "(self-adjusting) weblogic.kernel.Default"] [userId: edozer] [ecid: 64915ee7c1860d85:40a983d1:138bf4550b2:-7ffd - 0000000000005fcb, 0] [APP: OperaApplications_o90_smoke #V9.0.0] failover error: attribute: Serialization of the Session data is increased from oracle.adf.model.servlet.HttpBindingContext@365f8709 to oracle.adf.model.servlet.HttpBindingContext@36b6565b without the attribute being dirtied

    The question here is what are we missing?

    Please note that our application is still missing ControllerContext.getInstance () .markScopeDirty (pageFlowScope); but when I tried to create a sample application and deliberately left the 'markScopeDirty' using code below the above error was not reproducible.

    public class myBackingBean
    {
    public void changeValueButton (ActionEvent ae)
    {
    Map < String, Object > pageFlowScope = AdfFacesContext.getCurrentInstance () .getPageFlowScope ();
    pageFlowTestBean obj = (pageFlowTestBean) pageFlowScope.get ('pageFlowTestBean');
    System.out.println ("Old value" + obj.getYVar ());
    obj.setYVar ("new value");
    / * ControllerContext.getInstance () .markScopeDirty (pageFlowScope); */
    }
    }

    Anyone can shade more light on this subject?

    Also, I would like to know that someone can guide me what is the best practice to perform a ControllerContext.getInstance () .markScopeDirty (pageFlowScope); Because developers can easily miss this statement and I have not found any easy way to find code that is missing from this statement (I've already tried the Audit of Jdeveloper feature and it works for very rare cases).

    Hello

    Only when you do a Session.put (), the framework will know something has changed in the session Object and mark its scope as dirty and and he will try to replicate this object in another server...

    If change you it by reference. He won't try to reproduce the object in another server.
    For example, if you make below by changing something by reference, you must explicitly mark scopedirty. otherwise, the framework will not replicate the object to the failover server.

    In your code

    Card pageFlowScope = AdfFacesContext.getCurrentInstance () .getPageFlowScope ();
    pageFlowTestBean obj = (pageFlowTestBean) pageFlowScope.get ('pageFlowTestBean');
    System.out.println ("Old value" + obj.getYVar ());
    obj.setYVar ("new value");
    you change the value above by reference. So, unless you set the dirty scope this change in the PageFlowscope will not be replicated to another server.
    At this stage when a failover occurs, obj.getYVar () in the new server will always be the old value.

  • Public Web site using Oracle ADF and Web Logic

    Hi Experts,

    We intend to develop a new web application using ADF (11.1.1.5.0) and a Web of logic 11 g server. Please share some tips to the public of sites web/web applications developed using ADF. In addition, please share details of technical challenges, issues of performance, scalability and capacity planning of creating public web/web sites with ADF and logical server applications.

    Thanks in advance
    Rouhaud

    Roudier,

    Can I use the old app on a managed server deployed with libs ADF 11.1.1.5.0 and the new app on another managed server

    In theory Yes, but so far I see you can't. The reason is that you install the adf by WLS home runtime. During installation normally install you the libraries in an oracle_common folder that gets wired up more late to run it the servers that you specify. Never tested whether you can install (not on existing day) two different sets of adf runtime in a single server. My hunch is that you may not like the wiring of the libs deep inside the wls server iis.

    In addition, ADF libs have no dependency on the WLS version (currently our WLS East of 10.3.5.0) as I can run any version ADF (11 GR 1 material, 11 2 GR) on WLS 10.3.5.0?

    There are some dependencies since the libs a WLS version. In the bookstores of adf later this are minimal as you use WLS 10.3.5 to run JDev 11.1.1.5, JDev 11.1.1.6, JDev 11.1.2.0, JDev 11.1.2.1. 11.1.2.2 JDev can be UN on WLS 10.3.5 (JDev 11.1.2.20 internal server is actually a WLS 10.3.5) but I would so do as I'm not sure you get patches for this combination.

    Timo

  • Use of Oracle ADF by fortune 500

    I'll put together a business case to use Oracle ADF in my business. Can anyone provide me with information or documents on

    a list of the fortune 500 companies that use Oracle ADF development. Is there such a search on?

    Thank you

    Hello

    don't think that we have a book on Fortune 500. You will find testimonials from customers here reference:Oracle JDeveloper / ADF Customer Success Stories

    Frank

  • Oracle ADF: How to develop a web application to adf with a team of 10 members

    Hello, we need to develop a web application using Oracle ADF and jdeveloper 12 c. It is a great project as we develop this application with a team of members of dimension 10. Our doubts, this is how we can develop a web application using a team.

    Suppose we have 10 modules. Each module was developed by each Member (each Member is using a different system with the same environment. JDeveloper 12 c). Finally to develop all 10 modules how we can combine all 10 modules in a single application. How we can change the links, the page flow and connection details.

    Help, please.

    Thanks in advance.

    ADF is built for the development team. Features such as the ADF libraries, bounded task flows and nested application modules allow developers to work on separate parts of the project and then merge them into a single application.

    Follow the video that Timo has pointed out and read the section of the documentation on reusable components: https://docs.oracle.com/middleware/1213/adf/develop/adf-web-component-reuse.htm#ADFFD1846

    Regarding version control (and track tasks, make automated etc generations) - an option to consider is the Cloud Oracle Developer Service.

    Here is a demonstration of how you team management version on that app JDev/ADF: by using the Service of Cloud Oracle Developer for Git version for JDeveloper/ADF apps management

  • Oracle ADF: Could not validate database transactions

    Hi all

    I'm trying to update the oracle database using Oracle ADF command line. The following is an extract from my code

    final String amName1 = "taxreturn.AM_Taxreturn";
    final String connStr = "JDBC: thin: o9ias / [email protected]:1521:t1fdbo;
    Hashtable env = new Hashtable (2);
    env.put (Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put (JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);

    ApplicationModule appMod1 = null;
    try {}
    javax.naming.Context ic = new InitialContext (env);
    Home1 ApplicationModuleHome = (ApplicationModuleHome) ic.lookup (amName1);
    appMod1 = home1.create ();
    appMod1.getTransaction () .connect (connStr);
    } catch (Exception e) {}
    e.printStackTrace ();
    }

    ViewObject t1xvVO = appMod1.createViewObject ("t1xvVO", "taxreturn. T1XrefVView");
    t1xvVO.setWhereClause ("T1X_T1FU_USERID =" "+" testlin2 "+" ' and T1X_T1_TAXYEAR ='"+" 2012"+"' T1X_INVOICE_T1_150 is null and T1X_DELETED is null "");
    t1xvVO.executeQuery ();

    Line rowT1xv = null;
    int count = 0;
    While (t1xvVO.hasNext ()) {}
    Count ++;
    rowT1xv = t1xvVO.next ();
    }
    System.out.println ("number of discs:" + count);

    t1xvVO.executeQuery ();
    If (t1xvVO.hasNext ()) {}
    rowT1xv = t1xvVO.last ();
    System.out.println ("name:" + rowT1xv.getAttribute ("T1FirstName"));
    System.out.println ("T1xInvoiceT1150: front:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));

    rowT1xv.setAttribute ("T1xInvoiceT1150", "250");
    appMod1.getTransaction () .postChanges ();
    System.out.println ("T1xInvoiceT1150: after:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));
    }

    System.out.println ("Dirty is:" + t1xvVO.getApplicationModule () .getTransaction () .isDirty ());
    try {}
    appMod1.getTransaction () .commit ();
    System.out.println ("Commit succeeded.");
    } catch (oracle.jbo.JboException e) {}
    System.out.println ("Validation failed." + e);
    }

    I can see ago total 3 records retrieved. I run the query object view again, and then replace the last record. But after the statement commit, the database is not updated. What's not here? Thanks in advance

    Sheet



    For LeafWoods I think the key is to know that you need a British Colombia ADF entity to perform database updates because there is no doDML on the display objects

    Frank

  • Oracle ADF and Oracle Applications

    Hi all

    Can we use Oracle ADF with the latest version of Oracle E-business suite (R11i 2 in my case)? Or we need to use only the OFA and ADF can only be used for the future release of Oracle ERP?

    It will be great if anyone can list the advantages of the OFA on ADF for Oracle EBS 11i 2. I want to convince the customer that the ADF is not safe or not a good platform for customizations in the current version (2 R11i) and even for the next immediate release (R12).

    Thanks in advance,

    CAH

    Hello

    I don't think that ADF can be used with 11i applications, it may be user in R12 (it is my understanding), if you want to run in pages ADF of Apps then these pages should be located on the external server and you can access it as an external Application.

    Customization is concrened, it cannot be done using only new Applications developed in ADF ADF and if you plan to develop an application, custom Apps then ADf will be a good choice as to 11g migration will be easier (but it will not support the features Apps like KFF, FDF, accessories etc.).

    Please check Metalink Note 563047.1 on metalink for that and you can see a few articles on this www.apps2fusion.com and the Blog of Mukul.

    I hope that you will get a clear picture on it.

    Kind regards
    Out Sharma

  • How to download a file using af: inputFile in Oracle ADF

    Can someone tell me please how to download the file to the server using af: inputFile in Oracel ADF. I searched for this topic and found, we can use the following

    <af:form usesUpload="true">

         <af:inputFile columns="10" valueChangeListener="#{backing.fileUploaded}"/>

    </af:form>

    using the above code, I can define a method that runs when some people choose some files in the form. So now, I need to know in fileUploaded method what should be the java code to download the file on the server.

    Please help me. How can I achieve this.

    Thanks in advance.

    You searched for but do not read messages completely

    Now, you gotta read this post completely to do your job

    Check - Blog of Ashish Awasthi (Jdev/ADF): downloading files path absolute server in Oracle ADF (12.1.3)

    You can also download and check the sample adf application attached with blog post

    Ashish

  • &lt; oracle.adf.view &gt; &lt; UnifiedPopupTag &gt; &lt; setVisible &gt; &lt; 'visible' accessor property Set uses a no-op implementation.

    Jdev Version: JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3

    Click and cancel popup, we see the following in the console:

    < oracle.adf.view > < UnifiedPopupTag > < setVisible > < 'visible' accessor property Set uses a no-op implementation. Used in the extreme cases, when the value of the property, beyond the default value, leads to undesirable behaviors. >

    Is this a problem? If so, suggestions on how to fix?

    Thank you

    R

    This message is a warning that you somehow try to use the setVisible of a popup that does not work as it does nothing. The setVisible() method is obsolete and does nothing but write the message in the log.

    There is not that you can do about it, but to avoid calling setVisible on the popup.

    Do you have somewhere in your code call setVisible on the popup (or use the visible property of the popup on the page?

    Timo

  • Want to make a form of seizure of ADF using Oracle DB

    Dear friends,

    I am a developer of forms and developer of the APEX. Now, I want to learn Jdeveloper/ADF. I am completely unaware of the ADF. but eager to learn it.

    In this regard, I installed Jdeveloper 12 c. but won't start. if some1 help me I would be grateful.

    I want to create a data entry form using oracle database PL/SQL where I can use it. How to do?

    Help, please.

    Kind regards

    First you must create the entity object and view your DB Table required object.

    Add this point of view in AppModule. It will be published under the control of data.

    Drag and drop this point of view on your page. then select the shape-> shape of the ADF.

    Now to insert the new value of this view page

    go to the control of data, in this view, select operations "Create insert" and drop it on the page as a button.

    She.

  • The getCurrent method on the oracle.adf.share.ADFContext class is not allowed

    Hi all

    I've migrated my old project i.e 12.1.3 to new version 12.2.1.

    After the migration of the project where ever, we use ADFContext.getCurrent () .getSessionScope () .put ("dummy", 1);

    put the variable in the session. We receive the exception as Houston-25150: the getCurrent method on the oracle.adf.share.ADFContext class is not allowed. In the earlier version, but its works very well.

    What will be the question. Please can someone let me know.

    Thank you

    Amar

    This error except for security, so try to use the expression adf.context.current.sessionScope.get ("dummy") (or attempt to use this as a groovy adf.context.sessionScope.dummy expression) attribute EO and trustMode = "true" for this attribute set.

    For more details check this url

    Tarek Fathy: oracle.jbo.ExprSecurityException Houston-25150

  • JET license check: is it possible to build the customer facing app using JET + ADF on weblogic today?

    Hello, our company uses under license server Weblogic 12 c and we use now ADF 12 c. We are allowed to use the JET to build a small client demand on top of Weblogic + ADF? (This is not an internal app; we have not begun to use Oracle cloud)

    I know that this is not allowed today. She is permitted after JET is accessible to the public. I want to double confirm my interpretation, thanks a lot!

    Hello

    You are correct in your assumptions.  Today, you need an Oracle Cloud license to distribute a production application using Oracle JET.

    We'll be open sourcing Oracle JET very soon however.

    Do you have a rough idea of when you want to go production with your application?

  • How to convert a number in bar code format in oracle ADF?

    Hello

    In oracle adf application I want to convert the format of a column in my view object is displayed as a barcode without changing its data type in the database table?

    Thank you

    Check this URL:

    Blog of Ashish Awasthi (Jdev/ADF): generate the barcode Image in Oracle ADF using the OnBarcode API

  • Multilingual in oracle

    Dear Experts,

    11.2.0.4.0 Production NLSRTL

    Oracle Database 11g Enterprise Edition 11.2.0.4.0 64 bit Production

    PL/SQL 11.2.0.4.0 Production

    Our application are used by some countries, so that our customers want to see the data in their own language (French, German, Swedish,... etc)

    Please suggest how to manage multilingual in oracle?

    Now, should I create separate database to support Unicode?

    How to store Unicode characters in an Oracle database?

    Mine desired requirement

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

    create product table

    (

    number of product_id,

    product_name varchar2 (20)

    );

    Insert into the product values (1, 'Mobile');

    Select * from product;

    product_name, product_id

    1 mobile (Mobile In French language)

    Now, please help how my database identifies this value unicode is for French or German. ?

    It takes a column to indicate that the information for the current line or separate columns.

    Does run in Frontend?

    Yes. The ways are another discussion in another forum.

    Horizontal model who got a product line but is language dependent data in separate columns.

    create table t_product
    (
      product_id      number not null primary key,
      product_name_en nvarchar2(20) not null,
      product_name_s  nvarchar2(20) not null,
      product_name_f  nvarchar2(20) not null
    )
    ;
    create or replace view product
    as
      with lang as (
        select sys_context('userenv','lang') code from dual
      )
      select
        product_id,
        lang.code as product_lang,
        case lang.code
          when 'GB' then product_name_en
          when 'S' then product_name_s
          when 'F' then product_name_f
        end product_name
      from t_product, lang
    ;
    
    insert into t_product(product_id, product_name_en, product_name_s, product_name_f) values(1, 'Product 1 name GB','Product 1 name S','Product 1 name F')
    ;
    insert into t_product(product_id, product_name_en, product_name_s, product_name_f) values(2, 'Product 2 name GB','Product 2 name S','Product 2 name F')
    ;
    alter session set nls_language=english
    ;
    select product_id, product_name from product
    ;
    alter session set nls_language=swedish
    ;
    select product_id, product_name from product
    ;
    alter session set nls_language=french
    ;
    select product_id, product_name from product
    ;
    
    select * from t_product
    ;
    drop table t_product purge
    ;
    drop view product
    ;
    
    Table T_PRODUCT created.
    View PRODUCT created.
    1 row inserted.
    1 row inserted.
    Session altered.
    
    PRODUCT_ID PRODUCT_NAME
    ---------- --------------------
             1 Product 1 name GB
             2 Product 2 name GB   
    
    Session altered.
    
    PRODUCT_ID PRODUCT_NAME
    ---------- --------------------
             1 Product 1 name S
             2 Product 2 name S    
    
    Session altered.
    
    PRODUCT_ID PRODUCT_NAME
    ---------- --------------------
             1 Product 1 name F
             2 Product 2 name F    
    
    PRODUCT_ID PRODUCT_NAME_EN      PRODUCT_NAME_S       PRODUCT_NAME_F
    ---------- -------------------- -------------------- --------------------
             1 Product 1 name GB    Product 1 name S     Product 1 name F
             2 Product 2 name GB    Product 2 name S     Product 2 name F    
    
    Table T_PRODUCT dropped.
    View PRODUCT dropped.
    
  • Maven error: could not solve addiction com.oracle.adf:junit:jar: [12.1.3,12.1.4)

    Hello everyone.

    Using Jdeveloper 12.1.3 with extensions "Integration of JUnit BC4J" and "Integration of JUnit.

    I created a maven project using JUnit to create unit tests. This is dependency added to my pom.xml file in JDeveloper after configuration created the first unit test:

    <dependency>
         <groupId>com.oracle.adf.library</groupId>
         <artifactId>JUnit-4-Runtime</artifactId>
         <version>12.1.3-0-0</version>
         <type>pom</type>
         <scope>test</scope>
    </dependency>
    
    

    If I compile and run my tests from JDeveloper whatever it works but once I order my source code and build the project Hudson (Continuous Integration server), it fails. The error shown in the console of Hudson's (CommonCode is the name of the project I'm building):

    [ERROR] Cannot run the goal on the CommonCode project: could not resolve the project com.company.project.common:CommonCode:jar:1.0 - SNAPSHOT dependencies: could not collect the dependencies to com.oracle.adf.library:JUnit - 4 - Runtime:pom:12.1.3 - 0-0-> com.oracle.adf:junit:jar: [12.1.3,12.1.4): no version available for com.oracle.adf:junit:jar: [12.1.3,12.1.4) in this range-> [help 1]]]

    I have already installed the plugin maven-oracle-sync and completing my private repository (Artifactory) as described in this document. However, when I browse my private repository I can't find the artifact com.oracle.adf:junit:jar: [12.1.3,12.1.4) and I guess that's why my build has failed.]

    Why JDeveloper add a dependency that is not included when the maven-oracle-sync plugin is pushed on the maven repository?

    I forgot to mention that, when you use the following dependency for JUnit instead of one provided by Jdeveloper, the project compiles in my continuous integration server:

    <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.11</version>
         <scope>test</scope>
         <type>jar</type>
    </dependency>
    
    

    Clues about why Jdeveloper adds a dependency that cannot be met by the maven-oracle-sync plugin?

    Thank you.

    Alexis

    Hello

    Please check below blog.

    https://blogs.Oracle.com/Groundside/entry/maven_and_adfbc_unit_tests

    A question which has developed recently turned around to configure your Maven POM in 12.1.3, such that you can run the JUnit Tests ADF BC successfully interactively in the IDE and headless via Maven perhaps in your work of Hudson.  Out of the box, the default value that you will end up with POM will be missing two vital pieces of information and need a little extra configuration.

    Once you have created some unit tests JDeveloper will have added dependencies for JUnit extensions JDeveloper JUnit, something like this:

    com Oracle.ADF.Library

    JUnit-4-LIFE

    12.1.3 - 0-0

    POM

    test

    com Oracle.ADF.Library

    JUnit-Runtime

    12.1.3 - 0-0

    POM

    test

    Thank you

    Amey

Maybe you are looking for

  • Double black arrows as the mouse cursor

    I changed the batteries on my wireless mouse and now my cursor has changed to a black arrow with two ends. I can move it arrow the screen but it doesn't do anything when I click it.  Is not not able to click makes it more difficult to turn on for me,

  • How can I disable auto iPhoto download

    Simple really, I use Adobe Bridge to import all my photos, how can I stop automatically looking for my sd and the iPhone for photos in iPhoto?  I searched the preferences and preferences also searched in the dashboard of the captains.  If it's a Wind

  • My Satellite P300 is stolen

    Hi all Maybe this will be a silly question, but is worth a try...I had a P300 Satellite which was stolen...I was wondering if there is any chance to locate or block on the web (I still series...).Thanks in advance for any help :) DR5S.

  • Work 6 GB/s hard drive IDE oucederomsurlesecondport 3 Gbit/s of the motherboard?

    Hi-I have HP Compaq DC7700 Convertible Minitowers desktop for home use.http://h20565.www2.HP.com/portal/site/hpsc/template.page/public/KB/docDisplay/?sp4ts.Oid=3232028 & SPF...I would like to repalce the HDD (Seagate 160 GB, SATA 3 GB/s) as its probl

  • How to use the modem on WRT54GS port

    Hi, I have a network like this: ADSL-> THOMSON wired modem-> switch wired LinkSys SR2016 -> wired router / wireless LinkSys WRT54GS My problem is with the connecction between the SR2016-> WRT54GS.  As you probably know the WRT54GS has 5 ports, is cal