On 11/8/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
> Two questons:
> 1) Can I initalized value of the datapicker according to what
> properties of javabean specificed?
Some basic configuration options are supported through DatePickerSettings.
> 2) Look like the return of the javascript of date picket is localized,
> which is hard to parse at server side. Can I specific a custom output
> of date picker which is more easy to parse like "2006-11-09"?
That would be:
/**
* The format string that will be used to enter the date in the input
field.
* This format will be honored even if the input field is hidden. Use
* Javascript notation, like '%m/%d/%Y'.
*/
private String ifFormat = null;
Use DatePicker#setDateConverter to align the two.
Eelco
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user