Ok,
first, I should take DateTimeField, that gives the desired setup.
Anyway, now I am having JS YUI initialization errors when using the
component within my pages, so I guess I will have to disable JS
related stuff one by one and see what the offending other components
are.

Thanks for the help!

/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.




On Mon, Dec 29, 2008 at 4:27 PM, Jeremy Thomerson
<[email protected]> wrote:
> Any JS errors?
>
> Jeremy Thomerson
> http://www.wickettraining.com
> -- sent from a wireless device
>
>
> -----Original Message-----
> From: Peter Neubauer <[email protected]>
> Sent: Monday, December 29, 2008 8:10 AM
> To: [email protected]
> Subject: Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar
>
> Hi there,
> thanks for the fast answers, got around to try it first now. So, the
> DateTextField works great with
> dateField= new DateTextField("date", new Model(new Date()), new
> StyleDateConverter(false));
> dateField.add(new DatePicker());
> form.add(dateField);
>
> However, if I click on the datepicker icon in my page, absolutely
> nothing happens, though it seems there is YUI headers and the yui.js
> at 
> resources/org.apache.wicket.extensions.yui.calendar.DatePicker/wicket-date.js
> available (URL taken from the source of my page).
>
> No reaction i both FF3 and Safari. Any idea why this could be?
>
> /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.
>
>
>
>
> On Tue, Dec 23, 2008 at 11:52 PM, Jeremy Thomerson
> <[email protected]> wrote:
>> 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
>>
>
> ---------------------------------------------------------------------
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to