which DateTextField are you using?
The one in Wicket Extensions or the one in Wicket-datetime API using JODA
time API underneath?
ensure you are using the one in wicket-datetime API then Study the date
converter class of the wicket-datetime API. it seems to work well for me
On Sun, Jul 6, 2008
meanwhile, you can also do this easily in wicket:
import org.apache.wicket.extensions.yui.calendar.DatePicker; Textfield
dateField = new TextField(birthday, Date.class);
dateField.add(new DatePicker());
your binding bean
private Date birthday;
getter, setter
users can navigate with a
Hi -
Just curious if there is a Calendar control / class associated with
Wicket. Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
are you talking about a DatePicker?
On Sun, Jul 6, 2008 at 4:11 AM, Rakesh Sinha [EMAIL PROTECTED]
wrote:
Hi -
Just curious if there is a Calendar control / class associated with
Wicket. Thanks.
-
To unsubscribe, e-mail:
Thanks Ayodeji.
import org.apache.wicket.extensions.yui.calendar.DateField;
This does the trick.
But a clarification though - I am using the default version as
specified in the javadoc.
java: dateField = new DateField(birthday);
html: div wicket:id=birthday/div
I need a couple of