[richfaces-issues] [JBoss JIRA] Updated: (RF-9779) Calendar: component broken when monthLabels evaluated to null
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Wed Nov 10 04:21:01 EST 2010
[ https://jira.jboss.org/browse/RF-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavol Pitonak updated RF-9779:
------------------------------
Summary: Calendar: component broken when monthLabels evaluated to null (was: Calendar: changing boundaryDatesMode breaks the component)
Description:
1. deploy Metamer
2. open http://localhost:8080/metamer/faces/components/richCalendar/simple.xhtml
3. verify that component looks ok
4. change boundaryDatesMode=select
5. click on calendar
result:
all months are "undefined" (see screenshot)
Problem is caused by following part of page:
monthLabels="#{richCalendarBean.attributes['monthLabels'].value}"
monthLabelsShort="#{richCalendarBean.attributes['monthLabelsShort'].value}"
When I change it to #{null}, everything works fine
monthLabels="#{null}"
monthLabelsShort="#{null}"
was:
1. deploy Metamer
2. open http://localhost:8080/metamer/faces/components/richCalendar/simple.xhtml
3. verify that component looks ok
4. change boundaryDatesMode=select
5. click on calendar
result:
all months are "undefined" (see screenshot)
> Calendar: component broken when monthLabels evaluated to null
> -------------------------------------------------------------
>
> Key: RF-9779
> URL: https://jira.jboss.org/browse/RF-9779
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.0.0.Milestone4
> Environment: RichFaces 4.0.0.20101107-M4 r.19981
> Metamer 4.0.0.20101107-M4 r.19986
> Mojarra 2.0.2-FCS
> JBoss AS 6.0.0.20100911-M5
> OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
> Firefox 3.6.12 @ Linux x86_64
> Chrome 7.0.517.44 @ Linux x86_64
> Reporter: Pavol Pitonak
> Attachments: calendar.png
>
>
> 1. deploy Metamer
> 2. open http://localhost:8080/metamer/faces/components/richCalendar/simple.xhtml
> 3. verify that component looks ok
> 4. change boundaryDatesMode=select
> 5. click on calendar
> result:
> all months are "undefined" (see screenshot)
> Problem is caused by following part of page:
> monthLabels="#{richCalendarBean.attributes['monthLabels'].value}"
> monthLabelsShort="#{richCalendarBean.attributes['monthLabelsShort'].value}"
> When I change it to #{null}, everything works fine
> monthLabels="#{null}"
> monthLabelsShort="#{null}"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list