MissingResourceException for xliff bundle, same configuration works for the bundle properties

Hello

It is seems very little problem but I am not able to understand.

If I use the resource bundle file properties, I do following:

1. create the PortalBundle.properties file in the portal package

2. in the Project Properties, specify the resource bundle properties file as type

3. in faces - config.xml, add after the entry:

<>resources-bundle

Portal base < name >. PortalBundle < / base-name >

portalBundle < var > < / var >

< / resource-bundle >

<>regional-config settings

en < default locale > - < / default locale >

< / regional-config settings >

4. in jspx, I can now use this set of resources:

< f: loadBundle basename = 'portal. PortalBundle"var ="portalBundle"/ >

< af:goLink text = "#{portalBundle.YOUR_COMPANY}" id = "pt_ot4" destination = ' / ' "

inlineStyle = "do-size: x-large;" color: white; "/ >

everything works very well.

but I want to use the resource of type xliff (xlf file) group, I made a similar setup:

1. create the PortalBundle.xlf file in the portal package. It contained the following:

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

< xliff version = "1.1" xmlns = "urn: oasis: names: tc: xliff: " document: 1.1 ">

< file = 'in' original source language = 'portal. PortalBundle ".

DataType = "x-oracle-adf" >

< body >

< trans-unite id = "Helpdesk" >

< source > your business < / source >

< target / >

< / trans-unit >

< / body >

< / file >

< / xliff >

2. in the properties for the project, specified type bundle as xliff.

3rd and 4th stages are same as above.

However, I'm surprisingly lack of resource exception:

java.util.MissingResourceException: can't find bundle for base name portal. PortalBundle, in local

at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)

at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)

I'm confused what else is necessary for xliff bundle?

Thank you.

Check if you have performed the steps below or not?

Properties-> select Resource Bundle Type of project: like 'Xliff Resource Bundle.

And the location of Bundle on 'by default the name of the Bundle of project'.

In my application it works fine.

Here are the following details:

In JSPX

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"

xmlns ="http://java.sun.com/jsp/jstl/core" >. "

value = "#{adfBundle ['hoque.]}" {[View.ViewControllerBundle']} "/ >"

In faces-config. XML

The reference-

hoque.view.ViewControllerBundle

var

For your case, the location is important. is not find the file you want.

Hope that will solve your problem.

Kind regards

Hoque.

Tags: Fusion Middleware

Similar Questions

  • In the world, change the password for the connection properties?

    I use developer SQL to connect to several work areas and need to change the password for each of these months.

    Have a script that iterates through each of the database and changes the password.

    My problem is that I have to update all of my properties login for SQL Developer and have each connection updated to a new password.

    Short of manually changing each connection is possible for the global changes the password for these connections?

    Thank you very much

    No, but.

    There are password there lockers that allow you password auto - magically. The password is defined by the title of the window asking for the password. So if you held your passwords in 'the cloud', she would never put need up-to-date with SQL Developer.

    Is this really the same problem?

  • Try to install Adobe Flash player on my MacBook Pro, but it does not recognize my password, and yet the same password works on the adobe web site

    password problem when you try to install Adobe Flash player.  my password works on the site of Adobe, but not when I get it on the installer...

    you are be prompted for a password for your mac.  using his password.

  • Download to improve your LV 2009: button "Apply icon to screw" for the library properties dialog box

    Users submitted an application for the Exchange of ideas of LabVIEW to add a button to the Properties dialog box of the library that would apply the library icon Member screws without having to edit the icons in the library. Rather than wait for the 2010 version of LabVIEW, you can do this now. Download the attached .zip file. Unzip and place the files in this directory:

    • labVIEW 2009\resource\Framework\Providers\VILibrary

    replace the files that already exist.

    Hi AQ

    Thanks for writing/posting this code (and to ThSa for pointing it out to me).

    I did in a package to easily share using VIPM (and I can easily upgrade a new installation of 2009 it too much).

    It can be downloaded through LAVA CR

    See you soon

    -JG

  • The "Reply address" field does not work under the account properties in Windows Live Mail

    I use Windows Live Mail on Windows Vista Home Premium system to access three e-mail accounts that I administer.  I would like to change the default reply address in the accounts to use my address E-mail UKU (that is, when I send a message to any of the accounts, the beneficiaries of the default response is sent to my account UKU).

    All of my system messages via a different service provider (Virgin) and I discovered that the "Reply To" address in the header is always to my Virgin account.  I entered all my account settings and entered the UKU address that must seek answers (accounts-properties-reply address), but this setting doesn't seem to work.

    Please advise...

    Kind regards

    Skipper Mike

    E-mail: * address email is removed from the privacy *

    Hello Mike-TVEng,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Bindings.Select does not work with the primitive properties like string etc?

    My code works when I use a < String > ObjectProperty, this however does not work when I use a string instead.

    Don't know if this Bindings.select behavior is a bug or expected.

    The NBS are:

    The impression is:

    ObjectProperty < String >--> < String > ObjectProperty: abc

    String-> string: null

    String-> < String > ObjectProperty: null

    I expect all cases to print 'abc' good

    import javafx.beans.binding.Bindings;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    
    public class SelectBindingTest {
    
        public static class A {
    
            private StringProperty comment = new SimpleStringProperty(this, "comment");
            private ObjectProperty<String> commentObj = new SimpleObjectProperty<>(this, "commentObj");
    
            String getComment() {
                return comment.get();
            }
    
            StringProperty commentProperty() {
                return comment;
            }
    
            void setComment(String comment) {
                this.comment.set(comment);
            }
    
            public String getCommentObj() {
                return commentObj.get();
            }
    
            public ObjectProperty<String> commentObjProperty() {
                return commentObj;
            }
    
            public void setCommentObj(String commentObj) {
                this.commentObj.set(commentObj);
            }
        }
    
        public static class B {
            private ObjectProperty<A> member = new SimpleObjectProperty<>(this, "member");
    
            A getMember() {
                return member.get();
            }
    
            ObjectProperty<A> memberProperty() {
                return member;
            }
    
            void setMember(A member) {
                this.member.set(member);
            }
        }
    
        public static void main(String[] args) {
            B b = new B();
            A member = new A();
            b.setMember(member);
    
            final String expectedString = "abc";
    
    // this works
            SimpleObjectProperty<String> targetStringObjProperty = new SimpleObjectProperty<>("initialTargetText");
            member.setCommentObj("initialSourceText");
            targetStringObjProperty.bind(Bindings.<String>select(b.memberProperty(), "commentObj"));
            member.setCommentObj(expectedString);
            System.out.println("ObjectProperty<String> -> ObjectProperty<String>: " + targetStringObjProperty.get());
    
    // this doesn't work
            SimpleStringProperty targetStringProperty = new SimpleStringProperty("initialTargetText");
            member.setComment("initialSourceText");
            targetStringProperty.bind(Bindings.selectString(b.memberProperty(), "comment"));
            member.setComment(expectedString);
            System.out.println("StringProperty -> StringProperty: " + targetStringProperty.get());
    
    // this doesn't work either
            targetStringObjProperty = new SimpleObjectProperty<>("initialTargetText");
            member.setComment("initialSourceText");
            targetStringObjProperty.bind(Bindings.<String>select(b.memberProperty(), "comment"));
            member.setComment(expectedString);
            System.out.println("StringProperty -> ObjectProperty<String>: " + targetStringObjProperty.get());
        }
    
    }
    
    
    
    

    EDIT: Sorry for the horrible formatting. Can't seem to understand how to properly insert empty lines.

    Read the fine print in http://docs.oracle.com/javafx/2/api/javafx/beans/binding/Bindings.html#select(javafx.beans.value.ObservableValue, java.lang.String...)

    All classes and properties used in an affair of selection must be public.

    If you do your commentProperty, getProperty (and setProperty, although I suppose it doesn't matter) methods in public class has, it works as expected.

    Post edited by: James_D (link fixed javadoc)

  • Site content Web support not in Web mode, but the same website works in the mobile browser

    Hi all

    I try to open this site in https://m.freelancer.com/ webview but conent does not not in Web mode. But same website that I opened in mobile webbrowser then it works fine.

    So can I know what property I need to configure Web layout?

    Waiting for your comments and suggestion.

    Hi BojanKogoj,

    I attached the source code please look at and let me know what I need to make changes.

    I use the SDK 10.2.

  • generate a digital triggering out CH1 (low and high) for the USB-5133

    Hello

    I would like to generate a digital triggering on the USB 5133 CH1, is this possible?  I tried with the PFI 1 successfully but the output is only 3.5 v and I need to 5V, because this trigger signal goes to a box of pulse generates a signal, which is received by the CH0 on the USB-5133. This configuration works on the 5102 OR but because of the treatment, I am obliged to try a new device.

    Channel 0 and 1 are only entries then you will not be able to use them to generate a signal.  All of our products current digitizer that are recommended for new designs use 3.3V CMOS logic levels for PFI lines in output mode.  Your best bet to generate a digital triggering 5V would be to use an external buffer that can accept 3.3V CMOS levels as an input, but is under voltage of 5V.  Here are some that might work for you, but there are many others: http://www.onsemi.com/PowerSolutions/product.do?id=M74VHC1GT126DT1G adding a buffer in line with the trigger signal will add delay, so you will need to ensure that it is acceptable for your application.

    Hope this helps,

    -Matt

  • That must make the password stored in the JAGENT portfolio, and what JAVA_HOME should I use for the pw_agent_util.sh command?

    I configure the GoldenGate Plugin for OEM. There is a step to create the portfolio. The documentation is not clear on the role of the provided password. If I run the JAGENT as user oracle, it must match the password for the oracle user, or is this separate password? Also, should I use the jdk to OEM agent to set JAVA_HOME?

    ./pw_agent_util.sh - jagentonly

    Pat,

    Morning.  Good to see that someone is working on the use of the plug-in for GoldenGate in OEM12c.

    If you use the plugin 12.1.0.2, you will be much better with the preparation of reports on the processes of GoldenGate.  In order to get the 12.1.0.2 plugin to work, the 12.1.3.0 JAgent is necessary and can be downloaded in the distribution of the Oracle GoldenGate monitor (Agent Monitor configuration Oracle #GoldenGate |) DBASolved).  If you use the old plug-in 12.1.0.1, the JAgent is integrated with the GoldenGate Software (Oracle GoldenGAte(11.2.1.0.1 and later) and Oracle Enterprise Manager 12 c |) DBASolved).  I recommend you take the new plug-in!

    Now to the address that ask you the password. The password is stored in the portfolio under the House of GoldenGate ($OGG_HOME/dirwlt) and is used directly for the JAgent to connect to the EMAgent and connect with OEM.  The password associated with user name is configured in the $JAGENT_HOME (different depending on version, look for the Config.properties).  Then in OEM, the user name defined in the Config.properties and the password in the portfolio must be provided before OEM GoldenGate targets will come.

    The $JAVA_HOME parameter is dependent on the version of JAgent you want to run.  The JAgent 12.1.3.0 to using the JDK 1.7 or higher.  The JAgent shipped using JDK 1.6.

    Thank you

    Bobby

  • Work on the project of creation simultaneously

    My English is not very good, please excuse that.

    I would like to work with a friend on a Premiere Pro project. I've already implemented the project as a team project.

    Now my question is - is it possible that my friend and I at the same time work on the file and make changes different?

    The project also has scenes that have been modified using according to Efects.
    I work with a Mac and my friend with a PC.


    Thanks for the help.

    Merchant CC wrote:

    Laughing out loud

    In fact... YES it is possible, but you must have Adobe Anywhere that is not yet available for individual users unless you are part of a team or company installation that has already required for necessary server environment there. Until it is available to independent subscribers, you might be able to use and workflow of EDL (Edit Decision List) to a limited, sharing you will need to coordinate back on it but it detects the collisions or changes of fusion, etc...

    More information:

    Adobe anywhere for video

    Decision using Edit lists in Adobe Premiere Pro 6.0 and CC 7 - YouTube

  • User passwords do not work at the level of the application after updating of the database

    Hello

    Working on the updating of the database user passwords do not work for front end users but the same passwords work at the db level.

    We backup before refresh and restraint after the update, but if the user tries to connect to db, they receive the error invalid password/username.

    but passwords are working at the level of the DB if reset us the password then it works fine, but we cannot do this for all users of all time. can someone share the knowledge or solution for this problem.

    DB version: 11.2.0.3

    operating system: AIX

    Thank you

    892574 wrote:

    Yes, the process is correct.

    We are capture passwords user via display SYS. USER$

    I didn't see any errors in the logs I see only out put modified user.

    Thank you

    Do you mean that you update the column SPARE4 of $ USER (which is a table, not a view)? I don't think it will work, because the password is salted with a random string that will be different in the two databases. It might work if you return to the use of passwords for 10g, which are salty with the user name. See here, the 10 GB hash stored in the PASSWORD column is the same in the two databases, but the 11g in SPARE4 hash is different:

    orclz >

    orclz > conn sys/oracle@orclz as sysdba

    Connected.

    orclz > create user fred identified by Ginger;

    Created by the user.

    orclz > select password, spare4 of user$ where name = 'FRED ';

    PASSWORD

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

    SPARE4

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

    9C592D45D54D1FB2

    S:DF5BEC6914DFF48B39261EAA4DCF5746A309E50E791F6F90FBF2F33A8CD5; H:22E34131E43CC3DF07440A0DC2A45F22

    orclz > conn sys/oracle@orcla as sysdba

    Connected.

    orcla > create user fred identified by Ginger;

    Created by the user.

    orcla > select password, spare4 of user$ where name = 'FRED ';

    PASSWORD

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

    SPARE4

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

    9C592D45D54D1FB2

    S:4FE5925E671719B9CA5904C42AAD965753CAC4891C31F1BA9B9DA83D3255; H:22E34131E43CC3DF07440A0DC2A45F22

    orcla >

  • All your existing data transfers for win8 win7? The same thing happens to the settings and configuration of the printer?

    Original title: fact of data transfers

    All your existing data transfer of win7 for win8 and do o all your settings and printer configurations do the same thing

    The upgrade to Windows 7 or later will preserve my personal files, applications, and settings?

    Yes, the upgrade to Windows 7 or a later version will preserve your personal files (documents, music, pictures, videos, downloads, Favorites, contacts, etc., applications (IE.) Microsoft Office, Adobe applications etc), games and settings (ie. passwords, dictionary, the application settings).

    My programs, equipment and existing drivers will work on Windows 8?

    Most of the applications and designed for Windows 7, hardware drivers or later should work with Windows 8. Of course, with significant changes expected in Windows 8, it is preferable to that contact the software developer and supplier of equipment for the support for Windows 8. Windows 8setup will be keep, update, replace, and may require that you install new drivers via Windows Update or the manufacturer's Web site.

    Backing up your computer:
    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7.

    Also check:

    How to back up and restore your files manually

    To learn more.

    The upgrade from Windows 7 to Windows 8

    Please note that if you migrate to and not 8.0 Windows 8.1, you must perform a custom installation.

  • Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Hello

    Also try a Ctrl + F5 refresh. This allows to bring the content of the page again.

  • Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    I suggest you only begin by taking the measures recommended in this support article.

  • Microsoft is working on the lower graph Windows for low configure PC running on P4 processors?

    Original title: Microsoft Windows XP updates

    International news that I listen to Microsoft is Shutting Down Windows XP support! In my opinion, good decision but it is a problem here!

    Problem is that half of the poor Nations currently work on old systems of the world (Pentium 4) as demand for the latest Version of Microsoft Windows (Win 7 Vista) Pentium 4 is not reliable...

    Is that Microsoft is working on low graphics Windows for this Type of low PC configuration?

    Hello

    We have no information on this version of Windows. RT 8.1 8.1/windows platform is the most recent Microsoft and we will see the updated versions of these systems in the future.

    In my opinion, Intel Pentium 4 series of processors can run Windows 7 quite well, provided a sufficient amount of memory living and disk space are available. You can have a look at system requirements of Windows 7 for more information on this.

    Information on this link might be useful as well:

    http://www.Microsoft.com/en-us/Windows/enterprise/end-of-support.aspx

    Thank you and have a nice day!

Maybe you are looking for