[JAVASERVERFACES_SPEC_PUBLIC-1105] f:convertDateTime within h:dataTable/h:colum is not resolving EL expression referencing dataTable var Created: 29/May/12  Updated: 01/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: sunf1re Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

JBoss AS 7
Tomcat 7

Issue Links:
is related to JAVASERVERFACES-2430 f:convertDateTime within h:dataTable/... Closed
Tags: colum, convertDateTime, dataTable, expression


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.


Comment by Ed Burns [ 01/Aug/14 ]

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

Comment by Manfred Riem [ 01/Aug/14 ]

Setting priority to Minor

Generated at Thu Dec 08 22:36:09 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.