Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-1105
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: sunf1re
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

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

Created: 29/May/12 01:42 PM   Updated: 08/Nov/13 09:15 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

JBoss AS 7
Tomcat 7

Issue Links:
Related
 

Tags: convertDateTime dataTable colum expression
Participants: sunf1re


 Description  « Hide

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



Sort Order: Ascending order - Click to sort in descending order
Manfred Riem made changes - 29/May/12 01:42 PM
Field Original Value New Value
Project javaserverfaces [ 10204 ] javaserverfaces-spec-public [ 10222 ]
Key JAVASERVERFACES-2433 JAVASERVERFACES_SPEC_PUBLIC-1105
Affects Version/s 2.1.7 [ 15380 ]
Component/s conversion/validation [ 10543 ]
Component/s facelets [ 10551 ]
Component/s expression language [ 10554 ]
Manfred Riem made changes - 29/May/12 01:43 PM
Link This issue is related to JAVASERVERFACES-2430 [ JAVASERVERFACES-2430 ]
Ed Burns made changes - 08/Nov/13 09:15 PM
Assignee Ed Burns [ edburns ]