myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphael A BEREHOUDOUGOU (JIRA)" <>
Subject [jira] Created: (MYFACES-1172) convertDateTime does not work with EL
Date Mon, 13 Mar 2006 17:19:48 GMT
convertDateTime does not work with EL

         Key: MYFACES-1172
     Project: MyFaces Core
        Type: Bug
 Environment: Weblogic 8.1 SP4 myfaces 1.1.1
    Reporter: Raphael A BEREHOUDOUGOU

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>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message