[
https://jira.jboss.org/jira/browse/RF-5913?page=com.atlassian.jira.plugin...
]
Michael Heinen commented on RF-5913:
------------------------------------
Is following issue also caused by this item?
DateTimeConverters with EL-Expressions do not work in combination with message bundles.
I have following construct:
<a4j:loadBundle basename="messages" var="msgs"/>
...
<t:outputText id="frtd"
value="#{MyController.attributes[filter.name].end}">
<f:convertDateTime type="date"
pattern="#{msgs['dateNormalInput']}"/>
/t:outputText>
The converter is NOT working if I reference a msg bundle in the pattern attribute:
The converter is created and the pattern is set before the bundle is loaded. Therefore the
pattern is null.
Everything works fine if I use a custom bean to access the bundle:
<f:convertDateTime type="date"
pattern="#{ELUtilController.dateNormalInputPattern}"/>
ELUtilController.getDateNormalInputPattern is called and return the correct string.
loadBundle: values from bundle are present on 2nd-6th phases of JSF
lifecycle
-----------------------------------------------------------------------------
Key: RF-5913
URL:
https://jira.jboss.org/jira/browse/RF-5913
Project: RichFaces
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: planning_all
Affects Versions: 3.3.1
Reporter: Anton Belevich
Assignee: Anton Belevich
Fix For: Future
Original Estimate: 4 hours
Remaining Estimate: 4 hours
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira