Re: wicketstuff.org down?

2009-11-07 Thread Matthieu Labour
I have the same issue

On Sat, Nov 7, 2009 at 4:39 PM, Ilja Pavkovic 
ilja.pavko...@binaere-bauten.de wrote:

 Hi,

 I cannot reach wicketstuff.org anymore. Anyone else experiencing this
 problem?

 Best Regards,
Ilja Pavkovic

 --
 binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin

   +49 · 171 · 9342 465

 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg
 Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker

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




How to set a Date dynamically

2009-05-12 Thread Matthieu Labour
Hi

I am new to Wicket. I did some research on the mailing list but didn't come
accross a solutioin for the following issue.

I need to set dynamically the Date in a DateTextField

Here

final StyleDateConverter styleDateConverter = new StyleDateConverter(S-,
true);
final IModel model = new PropertyModel(getModel(), startDate);
final Component component = new DateTextField(startDate, model,
styleDateConverter);
final IBehavior datePicker = new DatePicker();
component.add(datePicker);

DateTime now = new DateTime();
DateTime startDate = now.minusDays(20);

and now I would like to do the following pseudo code
(DateTextField)component.setDate(startDate.toDate())

I would appreciate any help

Thank you !