Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-797

Date-picker does not use the converter's locale attribute if it differs from page locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.5-core
    • Components
    • None

    Description

      1. Suppose the page locale is en_us. Add an inputDate to the jspx with a converter of a different locale, e.g.
      <tr:inputDate id="mdf6" value="#

      {date.date4}

      "
      label="attached converter">
      <tr:convertDateTime type="date" dateStyle="full" locale="fr_FR"/>
      </tr:inputDate>

      2. Run the page - the inputDate shows up with the text in french, as expected.
      3. Open the picker, and pick a different date.
      4. When the picker closes, the inputDate has been updated with the Date in English.

      Attachments

        1. trin11_797_deferredRenderers.patch
          4 kB
          Yee-Wah Lee
        2. trin12_797_deferredRenderers.patch
          4 kB
          Yee-Wah Lee
        3. Trinidad11_797.patch
          18 kB
          Yee-Wah Lee

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yeelee Yee-Wah Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: