Mini-bug : JDeveloper 10.1.3 resource bundles

Hello,
Here's a mini-bug in the resource bundles for JDeveloper 10.1.3. In the Dynamic List binding wizard (the one that you use to make a list of value from databindings), in the list binding section there's a typo : "soruce" instead of "source".
This evil bug has no workaround ! Run around screaming
Seriously, this little typo won't hurt anything or anyone, but I just wanted to report it nonetheless.
Regards,
Simon Lessard
Message was edited by:
Simon Lessard
Edit: Had a typo in the subject, was a tad annoying considering what this post is about.

Hello,
Here's a mini-bug in the resource bundles for JDeveloper 10.1.3. In the Dynamic List binding wizard (the one that you use to make a list of value from databindings), in the list binding section there's a typo : "soruce" instead of "source".
This evil bug has no workaround ! Run around screaming
Seriously, this little typo won't hurt anything or anyone, but I just wanted to report it nonetheless.
Regards,
Simon Lessard
Message was edited by:
Simon Lessard
Edit: Had a typo in the subject, was a tad annoying considering what this post is about.

Similar Messages

  • BUG-JDev 11G 5407-Project level resource bundle usage messes the page

    When you define a resource bundle on the project properties and if you are using templates the page is not properly rendered in the design view but it runs fine.
    What happens is , JDev adds a JSTL set tag just before the *<af:pageTemplate>* tag and this confuses the designer. To workaround I defined the bundle variable in faces-config, it worked fine for the existing texts but when you add a new text to the page JDev keeps adding this set tag at the beginning of the page and you need delete it each time.
    It looks like a bug to me ..
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="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"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:mcc="http://com.micros.adf.controls"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="abcdmainBundle"
             value="#{adfBundle['com.abcd.view.zzzz.messages.AbcdMain']}"/>
      <af:pageTemplate viewId="/tmpl/abcdMainFgTmpl.jspx" id="pt1">
        <f:facet name="main">
     

    Hi,
    we have the same issue and therefore do not use the feature of the property inspector.
    Instead we open the *.properties file in jdev and edit it manually.
    There is bug 7537379 around this c:set tag which MAY BE fixed in the next release (11.1.1.2.0) but I don't know if this bug also covers exactly your problem.
    regards
    Peter

  • Avoid automatic resource bundle creation in JDeveloper?

    Hi! I have a question.
    My application consists of few modules - jar files. One module "Translations" is designed to supply the application with translations that are extracted from a database. So that module contains List resource bundle as a java class, let's call it DBbundle.java. The problem is when I try to use this bundle in other modules. When I set that DBbundle should be the label translations supplier for view objects in some other module, JDeveloper automatically creates that DBbundle in that same workspace, though I import "Translations" module in that workspace. I also set Project properties -> Resource bundle on a project to use DBbundle (from "Translations" module) and uncheck "Automatically Synchronize Bundle", "Warn About Hard-coded Translatable Strings" and "Always Prompt for Description" checkboxes.
    So every time I edit a view, JDeveloper automatically creates DBbundle in that project. This is very annoying "feature". Does anyone know how to avoid this kind of behaviour?
    This is how I set bundle on view objects
    <ResourceBundle>
            <JavaResourceBundle
                MsgBundleClass="framework.translations.resources.DBbundle"/>
    </ResourceBundle>
    The same goes for Project properties -> Resource bundle
    Please, anyone?
    I use JDeveloper 11.1.2.3.0.

    Please, no one knows?

  • I18n - Resource Bundle Bugs ??

    I have a string in a resource bundle containing HTML tags such as <BR> etc.
    The string is displayed in a static text component. The escape property of this component is set. Nevertheless all HTML tags are displayed as text!
    Is this a bug??
    Tom

    Got it! Escape must NOT be checked to let the browser
    correctly display it.
    TomCan you elaborate and give example of your resoruce bundle
    related to this posting, and so we can see if the resource
    bundle handling or features might be improved or providing addtional
    information on how to use them ?
    Thanks

  • 11g Add Text  Resource Values in a Resource Bundle (Bug? - minor)

    Hi,
    When you are adding a new Text Resource Value in a Resource Bundle the "Save and Select" button becomes active only when you enter a value for "Description". I believe we should be able to input text resources having no Description if we would like so.
    Notice that the "Project Properties/ Resource Bundle / Always Prompt for Description" check box is not selected.
    Best Regards,
    Elias.

    I have made a small mistake in the post above as the line
    *<c:set var="viewBundle" value="#{adfBundle}"/>*
    should be read as
    *<c:set var="viewBundle" value="#{adfBundle\['nsi.isbs.uicli.bundles.ResponsesBundle'\]}"/>*
    The forum application removed the content inside square brackets because I had not escaped the brackets in the text.

  • How to deal with resource bundle in multiple applications system

    Hi all,
    I'm building new system depend on the method of
    one common model with multiple applications for the view objects
    my JDeveloper version 11.1.2.3
    my Question
    How can i merge the resource bundle for these applications
    as in the common model exists file for resouce bundle
    and each other applications contains resource bundle files how can i merge all these file in one Resource bundle file ?
    Edited by: 985756 on Apr 2, 2013 12:39 AM

    Hi,
    Please check anerjusb blog for your answer
    Hoping this will help you.
    http://andrejusb.blogspot.in/2009/12/reusing-resource-bundles-from-different.html
    Thanks & Regards,
    Vikas

  • How to display Image as Error instead of Error Message from Resource Bundle

    hi,
    I want to display images as error instead of error message from Application Properties in struts1.1
    Ex:
    I want to prompt a user to type password length min. of 6 char. If failed, need to show simple image as error rather
    "Length should be min. 6".
    reagrds
    parthiban.

    BalusC wrote:
    RahulSharna wrote:
    in the respective resource bundle modify the value by something was below
    error.password.length=<img src="/images/password-Length.gif" alt="Password Length Issue" align="center"/>
    OK, it apparently allows HTML in error messages.Yes struts allows it :)

  • Resource bundle is not refreshed from DB table as expected

    Does anybody implement this approach successfully http://technology.amis.nl/2012/08/14/refresh-resource-bundle-from-within-the-adf-application-to-absorb-changes-in-database-backed-bundles to refresh bundle text on BC level (for EOs, VOs, validation texts, ...) in runtime from DB table (where we have stored bundle texts).
    Texts for VC level are refreshed nice, texts (control hints) for BC level are refreshed only first time after application is (re)installed, but after that not any more.
    We create SR for that and Oracle development say this is not a bug, but behaviour.
    But what is the point of having Bundle class for let say EO (http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcentities.htm#ADFFD183 - Example 4-5 Localized Entity Object Component Message Bundle for Italian), if we can't perform runtime proccessing to refresh sMessageStrings.
    Any idea?
    Regards,
    Sašo

    Hi,
    +"But what is the point of having Bundle class for let say EO"+
    The point is to allow applications to be translated into multiple languages so that - based on the user language setting - the application runs with native labels. This works well with the default properties or Java resource bundle in ADF BC. So what doesn't work is the solution you copied from the AMIS blog and you may want to reach out to them if this works for them and if not why. Oracle support is correct in that they cannot support 3rd party samples and demos
    Frank

  • Resource bundle naming issue across platforms

    Sorry, but there's no issue anymore. After a complete restart of the windows server it now accepts lowercase "da".
    We're using resource bundles to internationalize our app for English and Danish users. The default resource bundle is named "ViewControllerBundle" and the Danish bundle is named "ViewControllerBundle_DA" (on windows at least).
    Our problem occurs, when we deploy the application on different platforms. At the moment we have Weblogic 10.3.5 running on Linux and on Windows. Our development environment (JDeveloper 11.1.2) is running on Windows.
    When we deploy the application on Weblogic/Linux we need to rename the Danish resource bundle to lowercase "da", like "ViewControllerBundle_da".
    When we deploy on Windows or runs the application from JDeveloper we need to name the Danish resource bundle with uppercase "DA", like "ViewControllerBundle_DA".
    If we don't rename the bundles we're not able to display danish labels etc.
    I would like to know, whether we are naming the bundle the right way or whether it is possible to avoid this manual renaming before deploy. We would like to use the same EAR file for all the servers, if possible.
    From faces-config:
    <locale-config>
    <default-locale>da_DK</default-locale>
    <supported-locale>da_DK</supported-locale>
    <supported-locale>en_GB</supported-locale>
    </locale-config>
    Edited by: wmjaboj on 2011-08-30 02:45

    b) In some parts on our website, we need to show data, depending on an attribute in a user's profile. So, for instance, if the user is not an administrator, the address shouldn't be shown when his profile is shown to a regular user. Is there an elegant way to solve this? I'm a Struts programmer (first JSF project) and normally you do <c:if test="${}">, but that's not possible in JSF :-).You can certainly use JSTL in JSF. You need at least JSF 1.2 at a JSP 2.1 environment and JSTL 1.2. Google for "unified EL" in Sun.com. But if you want to use a JSF-only solution, then make use of the 'rendered' attribute which is supported by every JSF HTML component and a few JSF core components. It accepts a boolean expression and when it evaluates to true, then the component will be rendered in the view.
    E.g.<h:panelGroup rendered="#{user.admin}">
        <h:outputText value="I am an admin." />
    </h:panelGroup>where the User bean look likepublic class User {
        public boolean isAdmin() {
            return admin;
    }Here are some more EL examples which you can use in the 'rendered' attribute:<h:someComponent rendered="#{myBean.booleanValue}" />
    <h:someComponent rendered="#{!myBean.booleanValue}" />
    <h:someComponent rendered="#{myBean.intValue > 10}" />
    <h:someComponent rendered="#{myBean.objectValue == null}" />
    <h:someComponent rendered="#{myBean.stringValue != 'someValue'}" />
    <h:someComponent rendered="#{!empty myBean.collectionValue}" />
    <h:someComponent rendered="#{!myBean.booleanValue && myBean.intValue != 0}" />
    <h:someComponent rendered="#{myBean.stringValue == 'oneValue' || myBean.stringValue == 'anotherValue'}" />

  • ADF:  Translated XLIFF Resource Bundle not Selected at Runtime

    Issue: When I run my ADF app in a web browser where French is selected as the default language, the labels on the form are still populated with English text from the default resource bundle, even though an XLIFF resource bundle for French exists.
    Details: I have created a default XLIFF resource bundle containing the text for all labels on my form in English, called labels.xlf. I have also created two translated XLIFF bundles for French and German and named them labels_fr.xlf and labels_de.xlf, respectively.
    On my form, I have used value expressions to retrieve the text for each component's label, like label="#{res.language}. JDeveloper added '<c:set var="res" value="#{adfBundle['oracle.fosxliff.uitest.labels']}"/>' to the top of my page, so I could access the resource bundle text. Identifying the resource bundle in the faces-config.xml file does not work. However, I did define which locales are supported by my application in this config file.
    *NOTE:* When I access these sames resource bundles in a managed bean by utilizing the locale of the UIViewRoot, the correct XLIFF file is retrieved and the translated text is correctly assigned to my components on the form.
    Is there some other configuration that I am missing? I was expecting XLIFF files to work similarly to properties files, which do work correctly regardless of whether the text is accessed using value expressions or managed beans.

    Ok, I've found the answer.
    I've added translatable custom properties on the view implemention
    and access these in the code...

  • Jheadstart oes not generate NLS key in resource bundle for Static domains

    Hello
    according to jhsdevguide1013 on section 6.5.2 about "Translation of static domains" when I check "Generate NLS-enabled prompts and tabs" and run application generator , Jheadstart oes not generate NLS key in resource bundle for Static domains.
    Does anybody can help us for this problem?

    Thank you for reporting this, I have logged it as a bug.
    As a workaround, you can customize the Generator Template default/item/staticDomainOptions.vm
    See http://blogs.oracle.com/jheadstart/2006/11/30#a108 for an example how to let a template generate extra resource bundle keys.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • [svn:fx-trunk] 12663: Adding the resource bundle and fat-swc targets for osmf and textlayout.

    Revision: 12663
    Revision: 12663
    Author:   [email protected]
    Date:     2009-12-08 12:22:31 -0800 (Tue, 08 Dec 2009)
    Log Message:
    Adding the resource bundle and fat-swc targets for osmf and textlayout.  Also for osmf adding the doc target.  This new format that I added to the two project build files will be what we will use going forward for all projects.  I have all the other projects modified and plan on checking them in soon.  The format change will make adding new locales easier as well as adding the fat-swc target when needed.
    QE notes: no
    Doc notes: no
    Bugs: no
    Reviewer: gaurav
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/build.xml
        flex/sdk/trunk/frameworks/projects/osmf/build.xml
        flex/sdk/trunk/frameworks/projects/textLayout/build.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/osmf/bundles/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/en_US/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/en_US/osmf.properties
        flex/sdk/trunk/frameworks/projects/textLayout/bundles/en_US/textLayout.properties
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/osmf/src/OSMFDocClasses.as
        flex/sdk/trunk/frameworks/projects/textLayout/bundles/en_US/empty.properties

    Thats good news.

  • [svn:fx-trunk] 10599: -fix spark doc target so the docs are put into the resource bundle swc.

    Revision: 10599
    Author:   [email protected]
    Date:     2009-09-25 13:07:56 -0700 (Fri, 25 Sep 2009)
    Log Message:
    -fix spark doc target so the docs are put into the resource bundle swc.
    -added building of all spark localized _rb.swcs
    QE notes: localization team should look at the spark swcs
    Doc notes:
    Bugs: sdk-23256
    Reviewer:
    Tests run: yes
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23256
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/build.xml

    Thats good news.

  • Skin resource bundle

    Hi,
    I'm using a paged af:table and getting in the logs "<RenderingContext> <getTranslatedString> Could not fetch resource key Page from the skin myskin.desktop" (roughly translated).
    Solution in non-portal application is to specify resource bundle with specified key in trinidad-skins.xml/skins/skin/bundle-name but what is the proper solution in a portal application if I still want to allow for runtime selection of skin?
    The "update portal resource" dialog does not provide input of resource bundle name.
    The generated generic-site-resources.xml contains a reference resourceBundle="oracle.webcenter.framework.translations.TranslationsMDSResourceBundle" that indicates there might be some proper place to put skin bundle resources. (I tried editing the xml manually testing changing resourceBundle="MyBundle" and also adding <customAttribute name="skinBundleName" seeded="false" value="MyBundle" visible="ALWAYS"/> but to no avail).
    Best bet, if it is indeed possible to translate the "???Page???" in an af:table in a portal application, would be to add something to ResourceLibraryBundle but I don't know what trans-unit id.
    There's a handful of this exact question (e.g. https://forums.oracle.com/message/10620083) but no answers, either the solution is very obvious or there is no solution other than hard-coding the skin (which would not be that much of a problem).
    Any ideas?

    Thank you again!
    I'm using JDeveloper 10g.
    First, I've created a custom resource bundle (com.ieci.mugeju.view.resource.MugejuResourceBundle) and overrided the default resource string values.
    Second, I've created the file adf-faces-skins.xml like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>MugejuSkin</id>
    <family>MugejuSkin</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <bundle-name>
    com.ieci.mugeju.view.resource.MugejuResourceBundle
    </bundle-name>
    </skin>
    </skins>
    Third, I set the skin-family property of the file adf-faces-config.xml to 'MugejuSkin'.
    If I follow all these steps, I achieve to change the text in ADF Faces components, as I wanted, but I lost the oracle styles (skin-family = oracle) that I had before following these steps.
    I must be doing someting wrong. I would like both, to mantain the oracle styles and to change the text in ADF Faces components.
    Thank you very much.

  • Resource Bundle var names

    After I do the necessary steps in the project properties to set up the resource bundle, when I start using the resource bundle in my JSF, JDeveloper adds the following line into the JSF.
    <c:set var="viewcontrollerBundle1"
    value="#{adfBundle['resb.view.untitled1Bundle']}"/>
    If I have multiple bundles, Jdeveloper adds one entry per resource bundles that I use within my JSF. But the name that is used is different in different JSF pages for the same bundle. I need to manually edit them. Is there a better way of handling this? Can we define the var that it has to be used for each bundle some where?
    Thanks,
    Manoj

    Hi Manoj,
    You dont need to declare it in the pages but configure them in faces-config.xml like below:
    <resource-bundle>
          <base-name>YourBaseResourceBundle</base-name>
          <var>res</var>
        </resource-bundle>Regards,
    Pino

Maybe you are looking for

  • My macbook pro is running a little bit slow. It's just 1 year old. What should i do?

    It's taking time to load certain programs and to start-up compared to how it was before.

  • JSP doesn't display Oracle varchar2 Items on screen

    I recently bought new laptop with windows XP professional with service pack 2. Loaded Oracle 10g Client on it. I have a Dell server with Linux and Oracle database 9i. Accessed the this database through new laptop using SQL plus window and works OK. (

  • Dual 2.0 G5 Failed today- Anyone have ideas on this?

    So today my G5 worked great, as always. Running multiple apps, running fast, blasting through my work. Nothing unusual. Then Photoshop decided not to open a file. So, I force quit, went to re-open, but the dock icon would just bounce once. After a re

  • Align. finish date of components

    Hi Experts, Now, our system is setting the components scheduling aligned with activity start date as default ( Components , General data tab , indicator : Algn. startdate.Comp ) Is that possible to set the default on Align. finish date ? and how ? Th

  • Fields-symbols

    Hi How can i use the fields-symbols in Abap Object (class)?: The program <b>SAPLMIGO</b> have a table <b>oref_detail->t_goserial</b>. I would get this table in my program (not object) by using field-symbol What can i do? it's urgent thanks a lot