[
https://issues.apache.org/jira/browse/TOMAHAWK-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606967#action_12606967
]
Leonardo Uribe commented on TOMAHAWK-1280:
------------------------------------------
The problem is that f:loadBundle code is executed on render response phase, so
msg is only available on this time.
The sandbox component s:loadBundle solve this issue, making msg var available.
This issue will be closed as invalid
Thanks for pointing this.
> t:inputCalendar bug on localized popupDateFormat
> ------------------------------------------------
>
> Key: TOMAHAWK-1280
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1280
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Affects Versions: 1.1.5
> Environment: Windows XP Professional, Tomcat 5.5.25, Java 1.5.09,
> Facelets
> Reporter: Danny Tramnitzke
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> <f:loadBundle basename="my.messageresource.MessageResources" var="msg"/>
> <h:form>
> <t:inputCalendar value="#{mybean.date}"
> popupDateFormat="#{msg.localizedDateFormat}" renderAsPopup="true"/>
> <h:commandButton actionListener="#{mybean.saveDate}" value="Submit"/>
> </h:form>
> The request from the submit button doesn't reach the saveDate( ActionEvent e
> ) - method of mybean . A debug message is printed after pressing the submit
> button:
> VariableResolverImpl:344 - Variable 'msg' could not be resolved.
> and after this :
> LifecycleImpl:164 - exiting from lifecycle.execute in PROCESS_VALIDATIONS(3)
> because getRenderResponse is true from one of the after listeners
> The action listener method was never accessed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.