Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1172

convertDateTime does not work with EL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Weblogic 8.1 SP4 myfaces 1.1.1

    Description

      When used with el <f: convertDateTime > does not seem to be able to resolve the EL.
      <f:convertDateTime type="date" dateStyle="#

      {attr.patternStyle}

      " pattern="#

      {attr.patternFormat}

      " />

      Typically parttern in ConvertDateTime when you debug the code is null. Yet a system.out displays the right pattern.
      Beacsuse the pattern cannot be resolved a convertion error is thrown. When the value of pattern is change to be a static string line "dd-MM-yyyy", everything works fine.

      In the case above attr is the Object in the current row of a <x:dataTable>

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              rberehoudougou Raphael A BEREHOUDOUGOU
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: