MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-797

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.5-core
    • Component/s: Components
    • Labels:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Yee-Wah Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development