webwork/src/main/webwork/util BeanUtil.java,1.18,1.19
[email protected] Sun, 23 Jun 2002 16:50:03 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/util
In directory usw-pr-cvs1:/tmp/cvs-serv29425
Modified Files:
BeanUtil.java
Log Message:
added property editor for DateFormat
Index: BeanUtil.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/util/BeanUtil.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- BeanUtil.java 17 May 2002 03:32:21 -0000 1.18
+++ BeanUtil.java 23 Jun 2002 23:50:01 -0000 1.19
@@ -13,6 +13,7 @@
import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
import java.util.*;
+import java.text.DateFormat;
import org.apache.log4j.Category;
@@ -41,6 +42,7 @@
PropertyEditorManager.registerEditor(Float.class, FloatEditor.class);
PropertyEditorManager.registerEditor(Date.class, DateEditor.class);
PropertyEditorManager.registerEditor(Boolean.class, BooleanEditor.class);
+ PropertyEditorManager.registerEditor(DateFormat.class, DateFormatEditor.class);
}
/**
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/