[Seaside] Datepicker question

Joachim Tuchel jtuchel at objektfabrik.de
Thu Feb 28 11:20:59 UTC 2013


Hi Sabine,

Don you mean you want the #date: method to be called immediately instead of when the form is being submitted? I guess you'd have to attach an onBlur: or better onInput: JavaScript handler to the text input.

Joachim

Sabine Knöfel <sabine.knoefel at gmail.com> schrieb:

>Hi,
>
>I use datepicker like this:
>
> html textInput
>        value: Date today;
>        callback: [ :value |
>                        self date: value  ] ;
>        script: (( html jQuery new datepicker) onSelect: html jQuery ajax
>serializeThis).
>
>In case of selecting the date within the datepicker popup (click at a date),
>it works fine ("self date:" is sent).
>But if I change the date within the textInput field, without using the
>datepicker popup, the callback is not fired.
>
>How can I set the date: also in case that the user types in the date in the
>text field?
>
>Sabine 
>
>
>
>--
>View this message in context: http://forum.world.st/Datepicker-question-tp4672655.html
>Sent from the Seaside General mailing list archive at Nabble.com.
>_______________________________________________
>seaside mailing list
>seaside at lists.squeakfoundation.org
>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list