Uploaded image for project: 'Click'
  1. Click
  2. CLK-271

Properties file not working correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux, JBoss

      Description

      I am trying to use a properties file to display messages on the HTML file, I get the following error

      java.util.MissingResourceException: Message "message" not found in bundle "xxx.xxx..page.Login" for locale "en_US"

      I have added the properties file in the package location - xxx.xxx..page.

      The properties files that were added are Login.properties, Login_en.properties and Login_en_US.properties. I still keep getting the error.

      Do I need to add it to a different location in the package or does the en_US file have to be named a certain way?

      Shouldn't the Login.properties be the default?

      Thanks
      Vik

        Activity

        Hide
        medgar Malcolm Edgar added a comment -

        Hi Vik,

        If you have the default Login.properties is should resolve to this file. What locale are you using, and what version of Click are you using.

        regards Malcolm Edgar

        Show
        medgar Malcolm Edgar added a comment - Hi Vik, If you have the default Login.properties is should resolve to this file. What locale are you using, and what version of Click are you using. regards Malcolm Edgar
        Hide
        medgar Malcolm Edgar added a comment -

        Fixed in 1.4RC2

        Show
        medgar Malcolm Edgar added a comment - Fixed in 1.4RC2

          People

          • Assignee:
            medgar Malcolm Edgar
            Reporter:
            viksman Vikram Rajan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development