There is a Wicket core DatePicker now:
1.4:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
1.3:
http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/



On Tue, Dec 23, 2008 at 4:42 PM, Nino Martinez <[email protected]
> wrote:

> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to