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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment