Hi Peter

Just use it the ordinary way add a field containing a date, and ADD the datepicker to it...

Like this:

       add(dateField = new DateTextField("date", new PropertyModel(this,
               "date")));
       dateField.add(new DatePicker());


Peter Neubauer wrote:
Hi there,
since Nino left the Jayway train, I am forced to work my way through
wicketstuff :)

Now, I want to pick a date, and am wondering what the current
incarnation of a datepicker is that works with Wicket 1.3? I found the
org.wicketstuff.yui.markup.html.calendar.Calendar and can insert it
into a page but I am not sure how to get out the chosen date in the
widget from the component. Are there any examples of the usage or am I
on the wrong track here?

Cheers and Happy Christmas to all the Wicket folks!

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org     - New Energy for Data - the Graph Database.
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org        - New Energy for Java - Domain Driven Development.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to