Author: abelevich
Date: 2009-03-11 09:43:22 -0400 (Wed, 11 Mar 2009)
New Revision: 12919
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
Log:
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2009-03-11
13:06:02 UTC (rev 12918)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2009-03-11
13:43:22 UTC (rev 12919)
@@ -207,6 +207,7 @@
public void currectDateChangeListener(CurrentDateChangeEvent event) {
status = getStatus() + currentDateChangeListener;
+
}
public String testClientMode() {
@@ -226,18 +227,18 @@
public void reset() {
- mode = UICalendar.AJAX_MODE;
- status = "";
- selectedDate = new Date();
- isPopup = false;
- currentDate = new Date();
- locale = Locale.US;
- required = false;
- enableManualInput = false;
- NULLModel = false;
- firstWeekDay = 0;
- disabled = false;
- datePattern = DATE_PATTERN;
+ mode = UICalendar.AJAX_MODE;
+ status = "";
+ selectedDate = new Date();
+ isPopup = false;
+ currentDate = new Date();
+ locale = Locale.US;
+ required = false;
+ enableManualInput = false;
+ NULLModel = false;
+ firstWeekDay = 0;
+ disabled = false;
+ datePattern = DATE_PATTERN;
}
public void reset2() {
@@ -256,7 +257,22 @@
preloadDateRangeEnd = c.getTime(); // Set preloadEnd by the last day of the next
month
isPopup = true;
}
-
+
+ public void reset3() {
+ mode = UICalendar.CLIENT_MODE;
+ status = "";
+ selectedDate = new Date();
+ isPopup = false;
+ currentDate = new Date();
+ locale = Locale.US;
+ required = false;
+ enableManualInput = false;
+ NULLModel = true;
+ firstWeekDay = 0;
+ disabled = false;
+ datePattern = DATE_PATTERN;
+ }
+
public String resetAction() {
reset();
return null;
Show replies by date