Re: [Wicket-user] DatePicker for a label
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: 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] mailto:[EMAIL PROTECTED] wrote: 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] DatePicker for a label
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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DatePicker for a label
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 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user