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. 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

          Manuel Blechschmidt made changes -
          Link This issue is duplicated by TRINIDAD-1960 [ TRINIDAD-1960 ]
          Matthias Weßendorf made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Yee-Wah Lee made changes -
          Attachment trin12_797_deferredRenderers.patch [ 12385461 ]
          Yee-Wah Lee made changes -
          Attachment trin11_797_deferredRenderers.patch [ 12375620 ]
          Gabrielle Crawford made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 1.0.5-core [ 12312858 ]
          Yee-Wah Lee made changes -
          Field Original Value New Value
          Attachment Trinidad11_797.patch [ 12369552 ]
          Yee-Wah Lee created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development