convertDateTime does not work with EL
-------------------------------------

         Key: MYFACES-1172
         URL: http://issues.apache.org/jira/browse/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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to