I need to redo that DateSelector and TimeSelector component to use Models.  Don't use it yet! :)

On 3/6/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
Thanks for your contribution!

There is also a patch/ proposal in our RFE's. My plan is to make that
part of wicket-examples, but not to have such a component as a
standard delivered one. The problem with the three dropdowns solution
is that that'll be a hard one to implement fully localized. And I
think any component that we ship with wicket or wicket-extensions
should be localizable. But putting such a component in wicket-examples
would be a nice example of how to make custom components, and would
give people the option of just copy 'n paste it for their own needs.

Eelco


On 3/6/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
>
> Well this is no datepicker, its just a simple implementation of the 3
> DropDown boxes.
>
> it's here... i made it for one application i am working on so you can share
> it with me pending the time the Wicket team releases one
>
> To use it is like:
>
>
>
> (Java)
>
>  form.add(dateHidden = new HiddenField("dateField"));
>    form.add(dateSelect = new DateSelectorPanel("datePanel", dateHidden));
>
> (html)
>
> <input wicket:id="dateField" type="hidden"></input>
>  <div wicket:id="datePanel"></div>
>
> The idea i used is simply to inject a Date Object into a HiddenField.
>
>
> And Ensure that dateField is a java.util.Date property in your Form Model.
> Leave the rest to the Wicket magic.
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to