You can use the parameter "translator".

On 9/5/07, Norman Franke <[EMAIL PROTECTED]> wrote:
>
> I'm attempting to convert my application from Tapestry 4.0.2 to 4.1.2
> and I've run into a problem with the DropdownDatePicker component.
> Previously, I used a dojo version and then used an onFocus event to
> parse the data field as needed. This allowed me to take dates in
> almost any format, including "3/13" or "3/13/07" or "31 jul 07", etc.
> This worked rather well.
>
> How can this be done in using the DropdownDatePicker in 4.1.2? I
> tried adding a dojo onValueChanged, but it gets the value after it
> was parsed (typically ending up "12/31/1969". No javascript events
> are called on the DropdownDatePicker itself, e.g. onChange or onBlur,
> since the control ends up as a <div> block that Tapestry then does
> some magic with behind the scenes.
>
> Any ideas?
> Norman
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to