javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1105

f:convertDateTime within h:dataTable/h:colum is not resolving EL expression referencing dataTable var

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JBoss AS 7
      Tomcat 7

      Description

      I have a scenario where every row in a data table has a date and also a different timeZone spec.
      I wanted to use f:convertDateTime and set the timeZone parameter from the var element to format it. But this is not working as expected. Instead of the per-row timezone it is allways using the default timeZone to format the output since the EL expression for timeZone resolvs to null for all rows.

      Attached is a minimal sample class and jsf file to demonstrate the issue. The expected output would be the time for 3 different timezones. But instead all 3 rows are rendered in the default TZ.

      There are several workarounds for this but handling it like this would be the preffered one.

      Thanks

        Issue Links

          Activity

          Hide
          Manfred Riem added a comment -

          Setting priority to Minor

          Show
          Manfred Riem added a comment - Setting priority to Minor
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

            People

            • Assignee:
              Unassigned
              Reporter:
              sunf1re
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: