What ist i and the String "toDate" in your code?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport & Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 - 209
email: christoph.ma...@t-systems.com
-Ursprüngliche Nachricht-
Von: Dr. Britta Landgraf [mailto:b.landg...@fz-juelich.de]
Gesendet: Freitag, 14. Juni 2013 09:39
An: users@wicket.apache.org
Betreff: Re: DatePicker and DateTextField
I use it in tho following way:
new DateTextField("ToDay", new PropertyModel(ti, "dateTo"), "HH:mm:ss
dd.MM.");
best regards
Britta Landgraf
Am 14.06.2013 09:20, schrieb christoph.ma...@t-systems.com:
> Do you mean it like this:
> DateTextField txtDatumVon = new DateTextField("txtDatumVon", new
> PatternDateConverter("HH:mm:ss dd.MM.",true)); String date =
> "HH:mm:ss dd.MM."; try {
> txtDatumVon.setModelObject(new SimpleDateFormat("00:00:00
> dd.MM.").parse(date)); } catch (ParseException e) {
> e.printStackTrace(); //To change body of catch statement use File |
> Settings | File Templates.
> }
>
> This didn't work :( Did I do something wrong? Can you give me an example?
>
>
> Mit freundlichen Grüßen
> Christoph Manig
> Systems Engineer
>
> T-Systems International GmbH
> Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer
> Str. 18
> 01099 Dresden
> tel.: +49 (0) 351 / 8152 - 188
> fax: +49 (0) 351 / 8152 - 209
> email: christoph.ma...@t-systems.com
>
> -Ursprüngliche Nachricht-
> Von: Francois Meillet [mailto:francois.meil...@gmail.com]
> Gesendet: Freitag, 14. Juni 2013 08:41
> An: users@wicket.apache.org
> Betreff: Re: DatePicker and DateTextField
>
> Set the model object (the date) behind the DateTextField to 00:00:00
> JJ.MM..
>
> François Meillet
> Formation Wicket - Développement Wicket
>
>
>
>
>
> Le 14 juin 2013 à 07:37, a écrit :
>
>> Hello,
>>
>> how is the DatePicker binded tot he DateTextfield? How is the picked date
>> written in the Textfield? Is there a possiblilty to change this?
>>
>> When the DatePicker have the pattern dd.MM. there is no problem. But I
>> want the full timestamp with this pattern HH:mm:ss dd.MM. because the
>> User should be able to change the time. I need one DateTextField because the
>> Client and the server are in different timezones. This works fine. The only
>> problem is when I pick a day the DatePicker writes HH:mm:ss 14.06.2013. But
>> it should be 00:00:00 14.06.2013 for default.
>>
>> Is there anyone who could help?
>>
>>
>> Mit freundlichen Grüßen
>> Christoph Manig
>> Systems Engineer
>>
>> T-Systems International GmbH
>> Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer
>> Str. 18
>> 01099 Dresden
>> tel.: +49 (0) 351 / 8152 - 188
>> fax:+49 (0) 351 / 8152 - 209
>> email: christoph.ma...@t-systems.com
>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
--
Dr. Britta Landgraf phone: +49 2461 61 5647
IEK-4 fax: +49 2461 61 5452
email: b.landg...@fz-juelich.de
WWW: www.fz-juelich.de/iek/iek-4/
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke
(stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M.
Schmidt
-
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