> The one which was mentioned is
> org.apache.wicket.extensions.markup.html.form.DateTextField
> Here is some code from 1.3 beta 1:
>
> public DateTextField(String id, String datePattern)
>     {
>         super(id, Date.class);
>         this.dateFormat = new SimpleDateFormat(datePattern);
>         this.converter = new DateConverter()
>         {
>             private static final long serialVersionUID = 1L;
>
>             /**
>              * @see
> org.apache.wicket.util.convert.converters.DateConverter#getDateFormat(java.util.Locale)
>              */
>             public DateFormat getDateFormat(Locale locale)
>             {
>                 return dateFormat;
>             }
>         };
>     }
>

Yeah, that's a bit expensive. I'm sure someone can optimize that if
there's a JIRA issue for it :)

> >> BTW I've created class which
> >> can dump http session contents into a file in the form of object tree,
> >> in fact it's modified org.apache.wicket.util.io.SerializableChecker.

Cool, thanks. You are probably right they might benefit from a common
base class, but I haven't looked into it yet.

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to