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.

Similar Messages

  • 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

  • Resource bundle in content repository

    Hi,
    We have a weblogic portal application. Client wants the flexibility to be able to change the text (labels, paragraphs) without any help from IT i.e no releases or redeployment should be required.
    For static pages htmls have been moved to content repository and that helps.
    However for multilingual jsp labels, headers etc. should we add the resource bundle files(.properties files) to content repository?
    Please suggest. We are using netui tags in UI.

    What are you using to show the message i18n or JSTL? i18n tag libraries have a timed technique of reload. ResourceBundles cant be reloaded (directly). search for a snippet on the web which shows how to reload ResourceBundles.
    should we add the resource bundle files(.properties files) to content repository?So long as you have a way to push the files to all managed servers , store it wherever you want.
    While this is an idealistic scenario of business can update all content consider what happens when a business user changes the key by mistake, makes a formatting error etc that can potentially break your page.

  • How to set text resources avoiding automatic page update with c:set tag

    Hello everyone,
    I'm developing my web application with JDeveloper 11.1.2.3.0 in order to support two language locales (en and de). Following this guide I've performed the following steps:
    Creation of two property files (Resources.properties and Resources_de.properties) with the key-value entries;
    Modify of faces-config.xml file adding these lines:
    <locale-config>
            <default-locale>en</default-locale>
            <supported-locale>de</supported-locale>
      </locale-config>
      <resource-bundle>
          <base-name>view.Resources</base-name>
          <var>res</var>
       </resource-bundle>
    In the project properties > Resources Bundle I've checked:
    Automatically Synchronize Bundle;
    Warn about Hard-coed Translatable Strings;
    Always Prompt for Description.
    In the same place I've set the default project bundle name to view.Resources.
    In a test JSP page I've a outputText with the value #{res['HELLOWORLD']} where HELLOWORLD is the key in the property files. All works fine, and the correct string is shown based on locale browser settings.
    Anyway, when I use the "Select Text Resources..." menu in any text value choosing a value from the default property file, JDev automatically adds the following tag:
    <c:set var="customuiBundle" value="#{adfBundle['view.ViewControllerBundle']}"/>
    setting the value of the text in #{ViewControllerBundle.HELLOWORLD}.
    There is a way to avoid this behavior? Can I manage the resources in a different way? I would to choose a value from the list in order to get the res.KEY value instead of ViewControllerBundle.KEY value.
    Thanks in advance for your help.
    Manuel

    don't select from menu - go to source and write it . The problem with the tools is they have a certain way of doing things and don't think we should spend time customizing jdeveloper rather concentrate on the work in hand.

  • 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

  • Add a resource provider to application.xml

    I am trying to setup Oracle AQ integration to BAM
    This requires adding the following resource provider to the file application.xml
    <resource-provider name="BAMTTT" class="oracle.jms.OjmsContext">
    <description>BAM for Generic</description>
    <property name="datasource" value="jdbc/OracleTTTDS"/>
    </resource-provider>
    It seems to give an error if I add it to either the beginning or end of this file.
    What is the proper way to add this resource to application.xml?

    As long as I add this text before the last line it works ok.

  • User visible text in Database or Resource Bundle?

    What is the right approach to store user visible text (UI Lables) in a J2EE web application?
    a. Database
    b. Resource bundle
    The criteria here is the scalability, ease of maintainance.
    Thanks for your help!

    Just to add to the above.
    The choice can also depend on how static are these UI Labels and at what frequency are the updates. If your application allows the administrator or end users to edit the UI Label text, then storing them in the database will give you a lot more flexibility.
    As Justin mentioned, database allows for centralized storage; hence if your application includes other programming technologies like PHP, C/C++, Perl, and PLSQL etc., then the database can act as a single repository that capture all your application translation needs; it also means that you can share the translations between these modules or other applications.
    There is no doubt that resource bundle offers the better performance. If that is a concern, you can consider a hybrid approach, where the resource bundle is generated based on the translations maintained inside the database.
    Nat

  • Text Resource

    Hello,
    I have a quick question concerning Text Resource.
    For example, after creating a notification we can edit and modify its content. However is there a way to modify the name of the notification ?
    Or only solution is to copy and create a new notification ?
    Regards,
    Raph

    i don't think so... however you MAY be able to pull off your config XML file and find the appropriate tags in there, alter their values, and reload the file.
    i vote for copying the stuff to a new resource, however. having staging profiles and policies and such that you can test with is.a.good.habit!
    andrew

  • [svn] 2597: Bug: BLZ-217 - Should add a resources/ lib directory to BlazeDS turnkey with messaging jars

    Revision: 2597
    Author: [email protected]
    Date: 2008-07-23 12:40:08 -0700 (Wed, 23 Jul 2008)
    Log Message:
    Bug: BLZ-217 - Should add a resources/lib directory to BlazeDS turnkey with messaging jars
    QA: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-217
    Modified Paths:
    blazeds/branches/3.0.x/build.xml

    Hi,
    Can you mention the eclipse version you are using? And the platform in which you are trying to build?
    I feel its always better to be platform specific when you go in for headless build. I can see that the configs value in your properties file is "configs=*,*,*". Try changing it to appropriate value and build your product. For example, I use "configs=win32, win32, x86" for building my product in 32-bit windows machine.

  • WPC: unable to add different resources with the same name into a WPC page

    Hi,
    I got a WPC problem when adding different KM resources with the same name into a WPC page.  Only one KM resource is able to be added in WPC.
    For example:
    There two "article.html" with different content and RID:
    1. /company_a/article.html
    2. /company_b/article.html
    when adding these two html pages into a WPC page, only one page will be shown.
    This means that a WPC page is not able to contain resources with same file names.  I think the problem might lie on the resource-linking mechanism of WPC. WPC will add a resource link in the page folder, when a new resource is drag&dropped into WPC.
    Anyone has some good ideas to solve my problem? Thanks a lot.
    Regards
    Lei NING
    Edited by: Lei NING on Apr 15, 2008 4:16 PM

    As this is not possible and double entries cause this problem, why not just pu both napes in the contact details on the same number. IE John Smith & Peter Jones all in the first name, by doing this if you search your contacts either by searching for john, peter, smith or jones the number will show up and if either calls the number will show John Smith & Peter Jones, it may not be perfect but will work. As the phone only recognises a number if two seperate entries of the number exist with different names it cannot possibly know who is calling ?
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • The import sun.text.resources.LocaleData can't be resolved

    I'm in the process of upgrading WAS6.1 to WAS7.0
    FOr that I'm upgrading JSF1.1 to JSF 1.2. suddenly I started seeing 'The import sun.text.resources.LocaleData' can't be resolved..
    any ideas around that would be appreciated..

    Please post your question only once. Posting multiple times is rude, as it leads people to waste their time duplicating each others' answers.
    'The import sun.text.resources.LocaleData' can't be resolved..
    The import sun.text.resources.LocaleData can't be resolved

  • How to Add/Concatenate to a text field, values selected in a combo box

    I have a combo box form field that allows the user to select a value from a list and click on an Add button. The Add button should add/concatenate the vaue selected to a text field in order to create a list of values selected. I'm not sure how to do this using Javascript in Acrobat? I know I need to add the javascript to the Add button's Mouse Up action. Any help would be greatly appreciated. Thanks!

    Thanks so much - it works!
    >>> "Gilad D (try67)" <[email protected]> 9/25/2013 9:16 AM >>>
    Re: How to Add/Concatenate to a text field, values selected in a combo box created by Gilad D (try67) ( http://forums.adobe.com/people/try67 ) in JavaScript - View the full discussion ( http://forums.adobe.com/message/5712118#5712118 )
    Let's say the text field's name is "Text1", and the combo is called "Combo1". You can then use this code as the MouseUp script of the Add button:
    var f1 = this.getField("Text1");
    var f2 = this.getField("Combo1");
    if (f1.value=="") f1.value = f2.value;
    else f1.value = f1.value + ", " + f2.value;
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5712118#5712118
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5712118#5712118
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5712118#5712118. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in JavaScript by email ( mailto:[email protected].com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=3286 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to merge two resource bundle values ?

    Hi All,
    JDev ver : 11.1.1.7
    I want to merge two resource bundle values.. How to do it ?
    like this #{expr ? str1 : str1 + str2}
    I tried like the one below and used some jstl fuctions... but no use not worked.. got some parse exception, compilation exception,etc..
      <af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_WELC'] : resource['LBL_WELC'] + resource['LBL_HOME'] }"/>
    Let me know how to do this ?
    Regards,
    Gopi

    The above outputtext is an example, I may use diff bundle keys like below,
    <af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_TEST'] : resource['LBL_KEY1'] + resource['LBL_KEY2'] }"/>
    The principle is the same
    <af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_TEST'] : '' }#{ row.accountName eq 'AccountName9' ? '' : resource['LBL_KEY1'] }#{ row.accountName eq 'AccountName9' ? '' : resource['LBL_KEY2'] }"/>
    Dario

  • Failed to add the resource due to error in the resource

    Mi problema es el siguiente:
    Tenemos el ORA 10G Release 2 (10.1.2.0.2), versión LITE, y a la hora de hacer ciertas operaciones se produce el siguiente error:
    avax.transaction.SystemException: Failed to add the resource due to error in the resource
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:260)
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:183)
    at com.hphis.corp.Transaccion.conectaBD(Transaccion.java:255)
    at com.hphis.corp.Transaccion.iniciarTransaccion(Transaccion.java:141)
    at com.hphis.edoctor.anotaciones.DocAnotacionBean.createNote(DocAnotacionBean.java:211)
    at edoctor.anotaciones._crearAnotacion._jspService(_crearAnotacion.java:211)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:66)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    El contenido de mi data-sources.xml es el siguiente:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd">
    <data-sources>
         <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="ibasededatos"
    location="jdbc/ibasededatos"
    xa-location="jdbc/xa/ibasededatosXA"
              ejb-location="jdbc/ibasededatos"
    pooled-location="jdbc/ibasededatos"
              connection-driver="com.informix.jdbc.IfxDriver"
    username="informix"
    password="informix"
    url=""
    max-connections="100"
    min-connections="2"
    inactivity-timeout="600"
    schema="database-schemas/informix.xml"
         </data-source>
    </data-sources>
    No pongo la url por motivos justificados, sale la IP de la BD a la que conecto.
    No consigo saber por qué, pero con un servidor Orion no pasa.

    Mi problema es el siguiente:
    Tenemos el ORA 10G Release 2 (10.1.2.0.2), versión LITE, y a la hora de hacer ciertas operaciones se produce el siguiente error:
    avax.transaction.SystemException: Failed to add the resource due to error in the resource
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:260)
    at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:183)
    at com.hphis.corp.Transaccion.conectaBD(Transaccion.java:255)
    at com.hphis.corp.Transaccion.iniciarTransaccion(Transaccion.java:141)
    at com.hphis.edoctor.anotaciones.DocAnotacionBean.createNote(DocAnotacionBean.java:211)
    at edoctor.anotaciones._crearAnotacion._jspService(_crearAnotacion.java:211)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:66)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    El contenido de mi data-sources.xml es el siguiente:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd">
    <data-sources>
         <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="ibasededatos"
    location="jdbc/ibasededatos"
    xa-location="jdbc/xa/ibasededatosXA"
              ejb-location="jdbc/ibasededatos"
    pooled-location="jdbc/ibasededatos"
              connection-driver="com.informix.jdbc.IfxDriver"
    username="informix"
    password="informix"
    url=""
    max-connections="100"
    min-connections="2"
    inactivity-timeout="600"
    schema="database-schemas/informix.xml"
         </data-source>
    </data-sources>
    No pongo la url por motivos justificados, sale la IP de la BD a la que conecto.
    No consigo saber por qué, pero con un servidor Orion no pasa.

  • Add a resource to an existing resource group

    Hi,
    I configure two resources(AD, LDAP) as a resource group.
    After assigning the resource group to some users, I add a resource (oracle) to the resource group.
    How does IdM create users to an additional new resource?
    By default, IdM does not create users automatically by detecting addition of resource.
    Thanks in advance.

    Hi,
    I configure two resources(AD, LDAP) as a resource
    group.
    After assigning the resource group to some users, I
    add a resource (oracle) to the resource group.
    How does IdM create users to an additional new
    resource?
    By default, IdM does not create users automatically
    by detecting addition of resource.
    Thanks in advance.if i am not wrong....i assume u want to accomplish the following things
    1)create a group of resources
    2)assign users to that group
    3)add additional resources to the group in point 1.
    what u expect to see here is, that the users who were assigned to the group shud have their accounts created automatically on the new resource
    if this is what u expect ...
    i suggest that u create a ROLE ....and add the resources there...
    ASSIGN this role to ur users...
    henceforth whenever u add a new resource to the ROLE the already existing users assigned to the role will get their accounts automatically created on the new resources...
    HOPE THIS HELPS

Maybe you are looking for

  • SLD error after LDAP integration

    Hello All, I integrated Corporate LDAP with EP 7.0 ,after that I have SLD error when I click on the ESS tab which says: Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_SelfService

  • Ricoh Aficio MP C5000 FIERY

    We'er about to purchase a Ricoh Aficio MP C5000 with the FIERY RIP accessory, finisher and collate/staple options. I've looked at the Ricoh site, and to my dismay, they only have a PPD for this copier/printer that does not address the options that we

  • Missing Downloadable Apps After Cloud Subscription

    Only about half the applications advertised as part of Creative Cloud are showing up as downloads. In particular I was hoping to download Premiere and After Effects today. Where are they?

  • HT201210 iphone keeps saying no service

    iphone keeps go to no service

  • After changing yahoo mail pswd i cannot access mail on my iPhone

    After changing my yahoo mail pswd I cannot access mail on my iphone.  All other apps work and I can get mail on my macbook and ipad.  For my iphone I get an error message "cannot connect to server".  What is wrong?