[richfaces-svn-commits] JBoss Rich Faces SVN: r15282 - branches/community/3.3.X/ui/calendar/src/main/java/org/richfaces/renderkit.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Aug 24 12:24:55 EDT 2009
Author: Alex.Kolonitsky
Date: 2009-08-24 12:24:55 -0400 (Mon, 24 Aug 2009)
New Revision: 15282
Modified:
branches/community/3.3.X/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
Log:
Demo: Calendar cannot be opened
https://jira.jboss.org/jira/browse/RF-7666
Modified: branches/community/3.3.X/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- branches/community/3.3.X/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2009-08-24 15:52:18 UTC (rev 15281)
+++ branches/community/3.3.X/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2009-08-24 16:24:55 UTC (rev 15282)
@@ -361,23 +361,23 @@
}
- public JSFunction getIsDayEnabled(FacesContext context, UIComponent component) {
+ public JSReference getIsDayEnabled(FacesContext context, UIComponent component) {
UICalendar calendar = (UICalendar) component;
String isDayEnabled = (String) calendar.getAttributes().get(
"isDayEnabled");
if (isDayEnabled != null && isDayEnabled.length() != 0) {
- return new JSFunction(isDayEnabled);
+ return new JSReference(isDayEnabled); //new JSFunction(isDayEnabled);
}
return null;
}
- public JSFunction getDayStyleClass(FacesContext context, UIComponent component) {
+ public JSReference getDayStyleClass(FacesContext context, UIComponent component) {
UICalendar calendar = (UICalendar) component;
String dayStyleClass = (String) calendar.getAttributes().get(
"dayStyleClass");
if (dayStyleClass != null && dayStyleClass.length() != 0) {
- return new JSFunction(dayStyleClass);
+ return new JSReference(dayStyleClass);
}
return null;
More information about the richfaces-svn-commits
mailing list