You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/12/12 17:40:51 UTC

svn commit: r603668 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java

Author: skitching
Date: Wed Dec 12 08:40:50 2007
New Revision: 603668

URL: http://svn.apache.org/viewvc?rev=603668&view=rev
Log:
Save and restore new popupSelectMode inputCalendar property.

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java?rev=603668&r1=603667&r2=603668&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlInputCalendar.java Wed Dec 12 08:40:50 2007
@@ -402,7 +402,7 @@
 
     public Object saveState(FacesContext context)
     {
-        Object values[] = new Object[27];
+        Object values[] = new Object[28];
         values[0] = super.saveState(context);
         values[1] = _monthYearRowClass;
         values[2] = _weekRowClass;
@@ -430,6 +430,7 @@
         values[24] = _helpText;
         values[25] = _popupLeft;
         values[26] = _popupTodayDateFormat;
+        values[27] = _popupSelectMode;
         return ((Object) (values));
     }
 
@@ -463,6 +464,7 @@
         _helpText = (String)values[24];
         _popupLeft = (Boolean)values[25];
         _popupTodayDateFormat = (String)values[26];
+        _popupSelectMode = (String)values[27];
     }
     //------------------ GENERATED CODE END ---------------------------------------