Re: [Wicket-user] DatePicker for a label

2007-05-04 Thread Dragos Bobes
Thanks Igor, I had already tried that route but I ran into problems finding a way to capture the select event. But after you confirmed that this is the route to go, I discovered 'appendToInit' in DatePicker that allowed me to insert my custom javascript. Cheers, Dragos Igor Vaynberg wrote:

[Wicket-user] DatePicker for a label

2007-05-03 Thread Dragos Bobes
Is there a way to use the DatePicker with a label component? I would like to be able to select a date from the DatePicker and change the value of the label and also to be able to capture the new value to persist it. Does anybody have any ideea on how can I do id? Thanks, Dragos

Re: [Wicket-user] DatePicker for a label

2007-05-03 Thread Igor Vaynberg
you will have to create a panel that contains a hiddeninputfield to capture the input, the label, and the datepicker. then create javascript that wires all these together. -igor On 5/3/07, Dragos Bobes [EMAIL PROTECTED] wrote: Is there a way to use the DatePicker with a label component? I