Placeholder in properties bundle

I'm using the <f:loadBundle> and <h:outputText> tags to reference a property message with two placeholders - {0} {1}.
How do I make substitutions (backing bean properties) for the placeholders at run time? I tried adding two <attribute> tags as body elements to the <h:outputText> tags, but that didn't work. I also tried adding the JSF EL expressions directly to the message text and setting the <h:outputText> escape attribute to false. That didn't work ether.
Any thoughts?

Ah, I solved my own problem after wading through the TLD docs. The tag I want is <h:outputFormat> with child <f:param> elements. My properties text msg has embedded sinqle quotes. I found that I have to double those up before they will render.

Similar Messages

  • Resource bundle is not build

    Hi,
    I am creating a application in which i want to read some value from .properties file. But when i build my project (using right click project and select Rebuild) this properties file is not copied in the deployed war files in integrated weblogic server . So when running this application it shows error. java.util.MissingResourceException: Can't find bundle for base name
    Can anyone help me out how to include .properties file in build process.???

    Is your resource bundle registered in your project ?
    Go to Project Properties -> Resource Bundle -> Basic Configuration and check if the default Project Bundle name is populated alongwith Resource Bundle type as "Properties Bundle"
    Also another reason might be the following tag might be missing from your jspx/jsff page -
    <c:set var="viewcontrollerBundle"
             value="#{adfBundle['view.ViewControllerBundle']}"/>Edited by: Sudipto Desmukh on May 10, 2012 3:42 PM
    Edited by: Sudipto Desmukh on May 10, 2012 3:45 PM

  • What are Resource Bundle Best Practices techniques for Enterprise App?

    Regarding JDeveloper: 11.1.1.6.0, Studio Edition
    I was wondering if someone could provide advice on Best Practices for managing Resource Bundles for an international Enterprise Application.
    I have been reading textbooks and throughout the web, and I can find different options available. And I can find cautionary tales to get it right at the beginning of Development, but I cannot find Best Practices suggestions.
    For instance:
    - Should I use XLIFF Resource Bundle, Properties Bundle, or List Resource Bundle?
    - What are the benefits and disadvantages of storing the Key/Value pairs in the database?
    - It seems that storing in the db would make maintenance easier, because applications do not need to be redeployed, but would they be slower?
    - One textbook indicates that "One Bundle per Project" is preferred for ViewController Project, and "One Bundle Per File" is preferred for Model Project. However, I cannot help but think if the whole Enterprise used just one Resource Bundle, it would save typing cust_id/Customer Number in 10 different Bundles.
    - One text indicates how to maintain translated versions of Access Keys, if the Bundle is a Properties Bundle, but provides no assistance for other Resource Bundles.
    Advice regarding Best Practices would be quite helpful.
    Sincerely,
    Arie

    Anyone?

  • Internationalization using message.properties

    Hello, I have this inputText field, attached to a Long variable in the bean, whenever I type a non-number character and a command makes the page reloads... it shows:
    "codigo":Specified value is not a valid number
    <h:panelGroup>                    
        <h:inputText id="codigo" styleClass="formInputText" required="true"  value="#{cadastroAssessoresUI.codigo}"/>
        <h:message for="codigo" showdetail="true" />
    </h:panelGroup>I use a message.properties bundle, but I cant make the custom message I need.
    javax.faces.component.UIInput.CONVERSION = Erro convertendo campo
    javax.faces.component.UIInput.CONVERSION_detail = Wrong data type
    javax.faces.convert.LongConverter.CONVERSION_detail = Tipo de dado incoerenteAny clue??
    Thanx

    Hi Jan,
    Unfortunately at the moment, the answer is no, and attempts to fix it brough up some architectural issues that can not be resolved via a patch.
    However, there is a Tech Article and a compponent library in the works which will provide a workaround to this issue. New Technical articles get posted to the forum so keep an eye out or just check the Technical artical section of our web site.
    Lark
    Creator Team

  • [svn] 945: Added runtime resources for 13 additional locales.

    Revision: 945
    Author: [email protected]
    Date: 2008-03-26 16:37:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Added runtime resources for 13 additional locales.
    The additional locales were provided by the LCDS team. The 15 locales that we now have are:
    da_DK: Danish / Denmark
    de_DE: German / Germany
    en_US: English / United States
    es_ES: Spanish / Spain
    fi_FI: Finnish / Finland
    fr_FR: French / France
    it_IT: Italian / Italy
    ja_JP: Japanese / Japan
    ko_KR: Korean / South Korea
    nb_NO: Norwegian Bokmal / Norway
    nl_NL: Dutch / Netherlands
    pt_BR: Portuguese / Brazil
    sv_SE: Swedish / Sweden
    zh_CN: Simplified Chinese / China
    zh_TW: Traditional Chinese / Taiwan
    The LCDS team localized framework.swc and rpc.swc, but not airframework.swc. For the time being, there is a placeholder aircontrols.properties file for each additional locale, but it is a copy of the en_US one.
    Various Ant scripts, including the top-level one, now have an "other.locales" target which builds the new locales; the "main" target still builds only en_US and ja_JP.
    The new locales have not yet been tested by the Flex team and are not yet packaged into any ZIP deliverables.
    The setup.sh script now sets -XX:MaxPermSize=384m in ANT_OPTS as well as -Xmx384m, in order to avoid a PermGen type of OutOfMemoryError when building the "other.locales" target.
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/build.xml
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml
    flex/sdk/trunk/setup.sh
    Added Paths:
    flex/sdk/trunk/frameworks/projects/airframework/bundles/da_DK/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/da_DK/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/de_DE/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/de_DE/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/es_ES/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/es_ES/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/fi_FI/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/fi_FI/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/fr_FR/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/fr_FR/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/it_IT/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/it_IT/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/ko_KR/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/ko_KR/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/nb_NO/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/nb_NO/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/nl_NL/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/nl_NL/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/pt_BR/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/pt_BR/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/sv_SE/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/sv_SE/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/zh_CN/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/zh_CN/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/airframework/bundles/zh_TW/
    flex/sdk/trunk/frameworks/projects/airframework/bundles/zh_TW/aircontrols.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/validators.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/SharedResources.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/collections.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/containers.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/controls.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/core.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/effects.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/formatters.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/logging.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/skins.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/states.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/styles.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/utils.properties
    flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/validators.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/da_DK/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/da_DK/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/da_DK/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/de_DE/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/de_DE/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/de_DE/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/es_ES/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/es_ES/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/es_ES/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fi_FI/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fi_FI/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fi_FI/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fr_FR/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fr_FR/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/fr_FR/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/it_IT/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/it_IT/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/it_IT/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/ko_KR/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/ko_KR/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/ko_KR/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nb_NO/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nb_NO/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nb_NO/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nl_NL/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nl_NL/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/nl_NL/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/pt_BR/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/pt_BR/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/pt_BR/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/sv_SE/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/sv_SE/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/sv_SE/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_CN/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_CN/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_CN/rpc.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_TW/
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_TW/messaging.properties
    flex/sdk/trunk/frameworks/projects/rpc/bundles/zh_TW/rpc.properties

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • 10.1.3 bug using Tiles (but not Struts)

    We've been using the tiles TLDs in our JSPs (& JSF). However, since upgrading from 10.1.3 Early Access to the full version, the .jpr project file sees the struts jar and continually modifies itself to include the Struts Runtime Library, creating the struts-config.xml, ApplicationResources.properties bundle and modifying the web.xml file to include the Struts ActionServlet.
    Is there a way to turn off this 'smart' feature and prevent the project from modifying itself? I just want to use the TilesServlet of struts and not the whole library.

    There seems to be no way to get the jDev compiler to recognize the Struts.jar (and the TLDs therein) unless the Project includes the Struts Runtime library. When I include the Struts Runtime library, it automatically creates the unwanted files assuming I want to implement Struts. If I create a custom library with just the struts.jar file and add that to my project with NO Struts Runtime or struts JSP tags, all works fine until I shutdown and restart jDev, upon which it sees the struts.jar and promptly automatically creates the unwanted files and modifies the .JPR.

  • Patch scan process

    Hi,
    What is the process that scan a computer to know which patch need to be
    installed ? Is it the DAU process ?
    Since about a week, the JAVA 1.7.0 is released and for near 650 devices,
    only 85 need that update but that update is not installed anywhere.
    Why all deveices that don't have that update applied do not appear in the
    Not Patched list ? I'm supposed to have all my devices in that Not Patched
    list.
    Thanks.

    Hi Shaun,
    Concerning Java 1.7.0 for example, in the debug.og file, I see this:
    Filename : [Sun Java JRE 1.7.0_00 for Windows (Full Install) (All Languages)
    (See Notes) (64Bit).pls]
    OS Platform : [Microsoft Windows 7 Professional x64]
    Library Build : [5.2.1][Mar 3 2011 08:28:50]
    Finished Importing
    Detecting
    File [C:\Windows\system32\kernel32.dll]
    File Version Found: [6.1.7601.17617], Check Against: >= [6.1.7601.17514]
    File Version information within specified range
    Looking In: [HKEY_LOCAL_MACHINE][SOFTWARE\Wow6432Node\Microsoft\Windows
    NT\CurrentVersion]
    WOW64: ON
    Value [CurrentVersion] was found
    Data Found: [6.1], Check Against: [6.1]
    Data matched
    File [java.exe] NOT found
    Finished Detecting
    Opening file:
    Sun Java JRE 1.7.0_00 for Windows (Full Install) (All Languages) (See
    Notes).pls
    Importing
    In the ZPM directory, I also see "Sun Java JRE 1.7.0_00 for Windows (Full
    Install) (All Languages) (See Notes) (64Bit)" file but on the device, I
    can't see the Java 1.7.0 in the agent properties bundles assigned.
    The bundle is in the baseline.
    Can you help me about that ?
    Thanks.
    "Shaun Pond" a crit dans le message de groupe de discussion :
    [email protected]..
    Normand,
    it's the DAU (Discover Applicable Updates) - there's a log on each
    machine, debug.log in C:\Program Files (x86)\Novell\ZENworks\zpm that
    you can use...
    Shaun Pond

  • Displaying "Literal" ActionMessage in Struts 1.2.7

    Hi!
    Sorry, I have posted this topic before, but I haven't got an answer, so here's a second try.
    I need some help concerning a new feature in Struts 1.2.7.
    The ActionMessage class now has a new Constructor.
    ActionMessage(java.lang.String key, boolean resource)Setting the "resource" value to "false" allows you to define a "literal"
    Message without having to specify a key in the properties bundle. It will
    display exactly the string that is given in the 'key' argument.
    In my Action Class, I create two or more ActionMessages:
    ActionErrors errors = new ActionErrors();
    ActionMessage error1 = new ActionMessage("Literal Error 1", false);
    errors.add(ActionMessages.GLOBAL_MESSAGE, error1);
    ActionMessage error2 = new ActionMessage("Literal Error 2", false);
    errors.add(ActionMessages.GLOBAL_MESSAGE, error2);
    saveErrors(request, errors);In my JSP, I iterate over the ActionMessages in the follwing way:
    <table>
      <html:messages id="errors">
        <tr>
          <td>
            <bean:write name="errors"/>
          </td>
        </tr>
      </html:messages>
    </table>The poblem now is that in the HTML-Output, only the first Item in the Error
    list appears as a literal message, whereas Struts seems to interpret the next message as a resource key:
    - Literal Error 1
    - ???de.Literal Error 2???
    What could be the problem? Any help is appreciated!
    Thanks, Ren�

    Sorry, the same Message as above, now correctly formatted:
    I need some help concerning a new feature in Struts 1.2.7.
    The ActionMessage class now has a new Constructor
    ActionMessage(java.lang.String key, boolean resource)Setting the "resource" value to "false" allows you to define a "literal"
    Message without having to specify a key in the properties bundle.
    In my Action Class, I create two or more ActionMessages:
    ActionErrors errors = new ActionErrors();
    ActionMessage error1 = new ActionMessage("Literal Error 1", false);
    errors.add(ActionMessages.GLOBAL_MESSAGE, error1);
    ActionMessage error2 = new ActionMessage("Literal Error 2", false);
    errors.add(ActionMessages.GLOBAL_MESSAGE, error2);
    saveErrors(request, errors);In my JSP, I iterate over the ActionMessages in the follwing way:
    <table>
              <html:messages id="errors">
                   <tr>
                        <td>
                             <bean:write name="errors"/>
                        </td>
                   </tr>
              </html:messages>
    </table>The poblem now is that in the HTML-Output, only the first Item in the Error
    list appears as a literal message, whereas Struts seems to interpret the next message as a resource key:
    - Literal Error 1
    - ???de.Literal Error 2???
    What could be the problem? Any help is appreciated!
    Thanks, Ren�

  • Oc4j class-loading-heirarchy - enabling "search-local-classes-first" option

    Guys,
    I need some assistance with regards to oc4j class-loading hierarchy. Would appreciate some feedback on this...
    Let me give you a bit of context first.
    Basically we have 3 war modules which we initially were deployed separately on oc4j (transparently deployed by oc4j as ear). Now all of a sudden we have come to the need of instead bundling all the wars in one ear. The problem i started seeing is with respect to the output logs for the application, which was one per war modules initially (this was not clutter everything in one single log file and instead have one per deploy-able unit). The way this was implemented is that we had a log4j.properties bundled with each war with the output-file configuration, and since these 3 wars were deployed separately, the ear class-loader for each application would find one log4j.properties within each, and hence output-logs were generated as expected.
    BUT now all of a sudden as we have changed the whole deployment structure, i.e. one EAR, all the application log-outputs are going to one single log file (instead of one for each war). My immediate impression was setting the "search-local-classes-first" would resolve this issue, since then the "web-module-class-loader" (one for each war) would come into play (which i believe doesn't otherwise) and would load/search for the resources/classes first (log4j.properties in our case) from the web-module (both in WEB-INF/lib and WEB-INF/classes folder) and if not found, only then it would give the job to the parent class-loader, which would be the ear-class-loader. But it doesnt seem like its working like that, since even after enabling this option, all logs are going to one log-output file, based on whichever war-module/log4j.properties is loaded first.
    Thanks in advance and Regards,
    Farhan.
    Edited by: FarhanS on Nov 3, 2008 12:36 PM

    Guys, i need some input here....
    I turned on the class-loading trace and found out as to what is going on...but still wondering as to whats the reason for this behavior...
    So basically browsing through the trace, gave me the following important segments (as below with my comments)....
    1) Firstly, as the class-loading trace below, the log4j.jar is loaded up from the ear/lib directory (and hence by the ear-class-loader) and as it says the one in the web-inf/lib is ignored....Wonder why it picks up the one from ear/lib directory WHEN i have set the search-local-classes-first to "true", isn't the very purpose of the attribute to delegate the class-loading to the parent class-loader IFF the same is not found locally...
    Code-source /oracle_apps/j2ee/portal/applications/wes-ear/wes-wicket-1.3.X-SNAPSHOT/WEB-INF/lib/log4j-1.2.15.jar (from WEB-INF/lib/ directory in /oracle_apps/j2ee/portal/applications/wes-ear/wes-wicket-1.3.X-SNAPSHOT/WEB-INF/lib)
    has been ignored. It is a copy of /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib), which is already visible in the search path of
    loader wes-ear.web.wes-wicket-1.3.X-SNAPSHOT:0.0.0. 2) Now on the other hand as you would see from the log-excerpts below, the log4j.properties resource file (with the log-output-file-name and all) is picked up from the very web-module class-loader, but as you would notice further, the log4j classes are initialized by the ear-loader itself with which the log4j classes are visible to all the other war-modules and hence don't even require re-initializing the log4j.properties...
    ====== THE RESOURCE CORRECTLY LOCATED BY THE WEB-CLASS-LOADER ======
    Resource found: log4j.properties. Loader: wes-ear.web.wes-wicket-1.3.X-SNAPSHOT:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/wes-wicket-1.3.X-SNAPSHOT/WEB-INF/classes/
    (from WEB-INF/classes/ in /oracle_apps/j2ee/portal/applications/wes-ear/wes-wicket-1.3.X-SNAPSHOT/WEB-INF/classes)
    === ALL THE Log4j CLASSES BELOW ARE BEING INITIALIZED/LOADED BY THE EAR-CLASS-LOADER =====
    Class found: java.net.URL. Initiating loader: wes-ear.root:0.0.0. Defining loader: jre.bootstrap:1.5.0_06. Source: jre bootstrap
    Class to be defined: org.apache.log4j.PropertyConfigurator (12024 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class found: org.apache.log4j.PropertyConfigurator. Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class to be defined: org.apache.log4j.helpers.FileWatchdog (1875 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class found: org.apache.log4j.helpers.FileWatchdog. Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class to be defined: org.apache.log4j.PropertyWatchdog (753 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class found: org.apache.log4j.PropertyWatchdog. Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class found: java.io.InputStream. Initiating loader: wes-ear.root:0.0.0. Defining loader: jre.bootstrap:1.5.0_06. Source: jre bootstrap
    Class found: java.io.FileInputStream. Initiating loader: wes-ear.root:0.0.0. Defining loader: jre.bootstrap:1.5.0_06. Source: jre bootstrap
    Class found: java.util.Properties. Initiating loader: wes-ear.root:0.0.0. Defining loader: jre.bootstrap:1.5.0_06. Source: jre bootstrap
    Class found: java.util.StringTokenizer. Initiating loader: wes-ear.root:0.0.0. Defining loader: jre.bootstrap:1.5.0_06. Source: jre bootstrap
    Class to be defined: org.apache.log4j.Appender (676 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class found: org.apache.log4j.Appender. Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class to be defined: org.apache.log4j.DailyRollingFileAppender (5724 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)
    Class to be defined: org.apache.log4j.FileAppender (4764 bytes). Loader: wes-ear.root:0.0.0. Source: /oracle_apps/j2ee/portal/applications/wes-ear/lib/log4j-1.2.15.jar (from application.xml <library-directory> in /oracle_apps/j2ee/portal/applications/wes-ear/lib)Thanks in advance and Regards,
    Farhan.
    Edited by: FarhanS on Nov 4, 2008 2:43 PM
    Edited by: FarhanS on Nov 4, 2008 2:47 PM

  • Class-loading-heirarchy - enabling "search-local-classes-first" option

    Guys,
    I need some assistance with regards to oc4j class-loading hierarchy. Would appreciate some feedback on this...
    Let me give you a bit of context first.
    Basically we have 3 war modules which we initially were deployed separately on oc4j (transparently deployed by oc4j as ear). Now all of a sudden we have come to the need of instead bundling all the wars in one ear. The problem i started seeing is with respect to the output logs for the application, which was one per war modules initially (this was not clutter everything in one single log file and instead have one per deploy-able unit). The way this was implemented is that we had a log4j.properties bundled with each war with the output-file configuration, and since these 3 wars were deployed separately, the ear class-loader for each application would find one log4j.properties within each, and hence output-logs were generated as expected.
    BUT now all of a sudden as we have changed the whole deployment structure, i.e. one EAR, all the application log-outputs are going to one single log file (instead of one for each war). My immediate impression was setting the "search-local-classes-first" would resolve this issue, since then the "web-module-class-loader" (one for each war) would come into play (which i believe doesn't otherwise) and would load/search for the resources/classes first (log4j.properties in our case) from the web-module (both in WEB-INF/lib and WEB-INF/classes folder) and if not found, only then it would give the job to the parent class-loader, which would be the ear-class-loader. But it doesnt seem like its working like that, since even after enabling this option, all logs are going to one log-output file, based on whichever war-module/log4j.properties is loaded first.
    Thanks in advance and Regards,
    Farhan.
    Edited by: FarhanS on Nov 3, 2008 12:33 PM

    Guys,
    I need some assistance with regards to oc4j class-loading hierarchy. Would appreciate some feedback on this...
    Let me give you a bit of context first.
    Basically we have 3 war modules which we initially were deployed separately on oc4j (transparently deployed by oc4j as ear). Now all of a sudden we have come to the need of instead bundling all the wars in one ear. The problem i started seeing is with respect to the output logs for the application, which was one per war modules initially (this was not clutter everything in one single log file and instead have one per deploy-able unit). The way this was implemented is that we had a log4j.properties bundled with each war with the output-file configuration, and since these 3 wars were deployed separately, the ear class-loader for each application would find one log4j.properties within each, and hence output-logs were generated as expected.
    BUT now all of a sudden as we have changed the whole deployment structure, i.e. one EAR, all the application log-outputs are going to one single log file (instead of one for each war). My immediate impression was setting the "search-local-classes-first" would resolve this issue, since then the "web-module-class-loader" (one for each war) would come into play (which i believe doesn't otherwise) and would load/search for the resources/classes first (log4j.properties in our case) from the web-module (both in WEB-INF/lib and WEB-INF/classes folder) and if not found, only then it would give the job to the parent class-loader, which would be the ear-class-loader. But it doesnt seem like its working like that, since even after enabling this option, all logs are going to one log-output file, based on whichever war-module/log4j.properties is loaded first.
    Thanks in advance and Regards,
    Farhan.
    Edited by: FarhanS on Nov 3, 2008 12:33 PM

  • Override attribute label values?

    Hi!
    I want to override view attribute label default values and replace them with translations that I get from a database table.
    I've made custom classes TranslateViewDefImpl (overriden function 'getAttributeDefImpls') which extends ViewDefImpl, TranslateViewObjectImpl (overriden 'getViewAttributeDefImpls') extends ViewObjectImpl, TranslateViewRowImpl (overriden 'createViewRowAttrHints' following this post) extends ViewRowImpl where I try to override attribute definitions.
    I used 'setProperty' method on attribute definitions to set 'AttributeHints.ATTRIBUTE_LABEL' and at first everything seemed fine - the right attribute translation appeared. But the problem is when we have two or more clients with different locale using the same page. In overriden methods using 'adi.setProperty(AttributeHints.ATTRIBUTE_LABEL, labelTranslation)', label gets set to the right client's (A) locale translation, but the problem is when another client B with different locale accesses the same page. At first he sees the right translations, but when the first client A refreshes the page, all attribute label translations are in the wrong locale (using client B's locale). When client A refreshes the page again, labels are in the right locale again, but when client B refreshes, he sees client A's locale translations.
    It looks like these overriden classes are all static for the whole application and when a property gets set, all clients are using the same property, adi.getProperty(AttributeHints.ATTRIBUTE_LABEL) returns the same value for all clients using the application.
    Then I stumbled accross this next post. At first I thought I've found the solution, but when I tried this approach it didn't work. This is the code:
    AttributeDefImpl at = (AttributeDefImpl) vo.getAttributeDef(0); 
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",  
                        "VEmployees.Id_LABEL"); 
         at = (AttributeDefImpl) vo.getAttributeDef(1); 
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",  
                        "VEmployees.LastName_LABEL"); 
         ViewDefImpl viewDef = (ViewDefImpl) ((ViewObjectImpl) vo).getDef(); 
         //Create custom properties bundle definition 
         PropertiesBundleDef rb = new PropertiesBundleDef(viewDef); 
         rb.setPropertiesFile("com.cs.blog.dynamicbundle.model.VEmployeesBundle"); 
         viewDef.setResourceBundleDef(rb); 
    I can't find anywhere documentation using "_ResId" with AttributeDefImpl.ATTRIBUTE_LABEL and setting my own resource bundle (that gets all translations from a database source). When I use this approach, attribute label values are not changed and have their default value.
    Please help. Is my approach way off? How did you translate view attribute labels using database translations?
    I'm using JDevelper 11.1.2.3.0

    Marko,
    All you need is:
    1. Your EO to point towards a ListResourceBundle class, instead of the default property bundle, as I described above.
    2. Each EO attribute to have the right name for the label:
        <Attribute
              Name="CountryNo"
              Precision="22"
              ColumnName="CountryNo"
              SQLType="NUMBER"
              Type="java.math.BigDecimal"
              ColumnType="NUMBER"
              IsPersistent="false"
              IsUpdateable="false">
            <Properties>
                <SchemaBasedProperties>
                    <LABEL
                          ResId="COUNTRY_NO_LABEL"/>
                    <FMT_FORMATTER
                          ResId="DefaultNumberFormatter_FMT_FORMATTER"/>
                    <FMT_FORMAT
                          ResId="MASK_NUMBER_1"/>
                </SchemaBasedProperties>
            </Properties>
        </Attribute>
    Here, you will need COUNTRY_NO_LABEL to be a key in your  dynamic resource bundle .
    As for my last comments, I am just pointing out that if you will add your labels through JDeveloper UI (through UI Hints tab), JDeveloper might try to change your code from ListResource class. Is why is better to do it manually, I think.
    Hope this helps,
    Florin

  • [STRUTS] Html:errors , little confused !?!

    Hello
    I've 2 login forms (UserForm, CompanyForm)
    In the resource bundle I've setted the "header,footer,..."
    errors.prefix=<li>
    errors.suffix=</li>
    errors.header=<h4><font color="red">Attenzione si sono commessi errori</font></h4><ul>
    errors.footer=</ul>Now I want to display the appropriate error message under the specific form that have done the mistake. So the errors of the "UserForm" must be displayed in a place of my html and the "CompanyForm" in another place.
    I try to put this under my UserForm
    <html:errors property="usernameUser"/>
    <html:errors property="passwordUser"/>and this under my CompanyForm
    <html:errors property="usernameCompany"/>
    <html:errors property="passwordCompany"/>this works wrong because if the user(or company) don't insert the username and the password the 2 html:errors display 2 times the "errors.header" key value of the resource bundle.
    How can I display all the errors of a specific form in a unique "errors.header" (a unique html:errors tag)?
    How can I solve this problem?
    thanks in advance
    SARA

    Rather than the <html:errors> tag, try <html:messages>
    <logic:messagesPresent>
    <h4><font color="red"><bean:message key="errors.header"/></font></h4><ul>
    <html:messages id="error" property="usernameUser">
       <bean:write name="error"/>
    </html:messages>
    <html:messages id="error" property="passwordUser">
       <bean:write name="error"/>
    </html:messages>
    </logic:messagesPresent>Yes the code is quite a bit longer, but I think it should work.
    It also means you don't have to encode the html into the properties bundle.

  • [E2013][EWS][Windows] retreive outlook userproperties in web client.

    Hi,
    We've built an outlook plugin that requires setting user properties to associate client & custom information with a particular mailItem. Currently we are creating an email web client and want to transfer and access those user properties on the web client.
     Are these properties bundled into the message header or stored on exchange and retrieved through a saved key. How can I access these properties, on another mail server, do I have to transfer these to MAPI fields? 
    Thanks,
    Milton C.
    Milton Cody

    You can access any user properties you create in your Outlook plugin in EWS using the Extended property interfaces see
    https://msdn.microsoft.com/en-us/library/office/dn467898%28v=exchg.150%29.aspx . The only thing you can't do with EWS is read or write the userproperty definition blob (which just means you can't enumerate what properties a user has created). That should
    really be issue however all you need to do is use a MAPI editor like MFCMapi or Outlook Spy to look at an existing item where the properties have set you should then be able to use them like
    ExtendedPropertyDefinition UserProperty = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "MyCustomProperty", MapiPropertyType.String);
    Cheers
    Glen

  • [svn:fx-trunk] 11169: Adding placeholder ASDoc for release engineering to build a resource bundle to accompany playerglobal .swc.

    Revision: 11169
    Author:   [email protected]
    Date:     2009-10-26 15:22:16 -0700 (Mon, 26 Oct 2009)
    Log Message:
    Adding placeholder ASDoc for release engineering to build a resource bundle to accompany playerglobal.swc.
    QE notes: N/A
    Doc notes: N/A
    Bugs: N/A
    Reviewer: David Z
    Tests run: N/A
    Is noteworthy for integration: No
    Added Paths:
        flex/sdk/trunk/frameworks/projects/playerglobal/
        flex/sdk/trunk/frameworks/projects/playerglobal/build.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/de_DE/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/de_DE/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/__Global__.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/air.net.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/air.update.events.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/air.update.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.accessibility.xm l
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.data.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.desktop.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.display.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.errors.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.events.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.external.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.filesystem.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.filters.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.geom.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.html.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.media.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.net.drm.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.net.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.printing.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.profiler.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.sampler.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.security.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.system.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.text.engine.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.text.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.ui.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.utils.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/flash.xml.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/docs/packages.dita.xml
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/en_US/empty.properties
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/fr_FR/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/fr_FR/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ja_JP/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ja_JP/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ru_RU/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ru_RU/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/zh_CN/
        flex/sdk/trunk/frameworks/projects/playerglobal/bundles/zh_CN/docs/
        flex/sdk/trunk/frameworks/projects/playerglobal/src/
        flex/sdk/trunk/frameworks/projects/playerglobal/src/Empty.as

    Thats good news.

  • Help loading non-jre bundled locale basic_*.properties

    Hello All,
    I have an app where the user can change the language dynamically. Whenever the language (locale) is changed I call UIManager.setLookAndFeel(UIManager.getLookAndFeel()); to reinitilise the values in the OptionPane/FileChooser etc. Basically everything defined in the following files.
    com\sun\swing\internal\plaf\basic\resources\basic.properties (English)
    com\sun\swing\internal\plaf\basic\resources\basic_de.properties (German)
    com\sun\swing\internal\plaf\basic\resources\basic_es.properties (Spanish)
    com\sun\swing\internal\plaf\basic\resources\basic_fr.properties (French)
    com\sun\swing\internal\plaf\basic\resources\basic_it.properties (Italian)
    com\sun\swing\internal\plaf\basic\resources\basic_ja.properties (Japanese)
    com\sun\swing\internal\plaf\basic\resources\basic_ko.properties (Korean)
    com\sun\swing\internal\plaf\basic\resources\basic_sv.properties (Slovakian ??)
    com\sun\swing\internal\plaf\basic\resources\basic_zh_CN.properties (Chinese)
    com\sun\swing\internal\plaf\basic\resources\basic_zh_TW.properties (Taiwanese??)
    The problem I have is that I also want to provide other languages to the user than those defined above.
    Therefore I defined my own basic_*.properties files in my classpath.
    However, when I call UIManager.setLookAndFeel(UIManager.getLookAndFeel()); they are not picked up.
    I suppose I could read my file every time the locale is changed and call UIManager.put(key,value) for each entry in the basic_*.properties file but I would rather not.
    Does anybody know how to read these files automatically when the locale is changed. Which class is responsible for loading the property files bundled with the JRE?
    dollars are waiting to be awarded.....
    N35 (j2sdk1.4.1_01)

    So you defined your own basic_*.properties file then?
    The problem I have is the application is started from within an already running application (various checks performed before starting app2). Application 1 may be in a different locale to application 2.
    Application 1 initialises Swing to English, but application 2 wants to run in Finnish (for example). Therefore application 2 needs to reset swing based on the Locale Finnish. Therefore it needs to load the properties defined in the basic_fn.properties which I have defined in my class path.
    How can I do this?

Maybe you are looking for

  • SQL Sever Management Studio intellisense issue in SQL Server 2008 R2 and in SQL Sever 2012

    Hi Team, Intellisense in sql server management studio is working fine when i am accessing the databases in my  local server. But Intellisense is not working when ever i am trying to connect to the remote servers with the client I tried different blog

  • How to set up remote access to my old Powerbook?

    Hello. I would like to access some files from my old Powerbook from my new Macbook, as I always forget files I wind up needing later (I just recently bought the Macbook) , and don;t want to load everythign which was on my Powerbbok onto my new comput

  • "Solarize" not working - simple mistake? (I'm using CS3, btw)

    I'm following the tutorial "Light Burst" with PhotoShop Essentials (http://www.photoshopessentials.com/) and am on page 3, Step 8 where I am supposed to go to Filters> Stylize>Solarize and I can't get it to work.  I have started over at least a dozen

  • HT1270 How do I know what year my computer is?

    I was trying to find out how to add memory, but it ask for the year of the computer.  I don't remember.  How can I find out?

  • Event 2000. hpsa_servi​ce.exe

    HP Error ID: -2146233088   at HP.ActiveCheckLocalMode.SessionManager.ActiveCheck​Manager.InitRegItem()    at HP.ActiveCheckLocalMode.SessionManager.ActiveCheck​Manager..ctor()    at HP.SupportFramework.Service.ACLM.AssetAgent.Execut​eAssetAgent(Boole