click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r776473 - in /incubator/click/trunk/click/examples/src/org/apache/click/examples/page: form/ExtraControlsForm.java table/FormTablePage.java
Date Tue, 19 May 2009 21:29:59 GMT
Author: sabob
Date: Tue May 19 21:29:58 2009
New Revision: 776473

URL: http://svn.apache.org/viewvc?rev=776473&view=rev
Log:
updated DateField examples

Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java?rev=776473&r1=776472&r2=776473&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
Tue May 19 21:29:58 2009
@@ -46,7 +46,6 @@
 import org.apache.click.extras.control.RegexField;
 import org.apache.click.extras.control.TelephoneField;
 import org.apache.click.extras.control.VirtualKeyboard;
-import org.apache.click.extras.prototype.CalendarField;
 import org.apache.click.util.ClickUtils;
 import org.springframework.stereotype.Component;
 
@@ -86,7 +85,6 @@
         form.add(new CreditCardField("creditCardField"));
         form.add(new ColorPicker("colorPicker"));
         form.add(new DateField("dateField"));
-        form.add(new CalendarField("calendarField"));
         form.add(new DoubleField("doubleField"));
         form.add(new EmailField("emailField"));
         form.add(new IntegerField("integerField"));

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java?rev=776473&r1=776472&r2=776473&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
Tue May 19 21:29:58 2009
@@ -36,7 +36,7 @@
 import org.apache.click.extras.control.FieldColumn;
 import org.apache.click.extras.control.FormTable;
 import org.apache.click.extras.control.NumberField;
-import org.apache.click.extras.prototype.CalendarField;
+import org.apache.click.extras.control.DateField;
 import org.springframework.stereotype.Component;
 
 /**
@@ -85,7 +85,7 @@
         column.setTextAlign("right");
         table.addColumn(column);
 
-        CalendarField field = new CalendarField();
+        DateField field = new DateField();
         column = new FieldColumn("dateJoined", field);
         column.setDataStyle("white-space", "nowrap");
         table.addColumn(column);



Mime
View raw message