I think I need to modify the actual datepicker components js to trigger the
onchange event as well.
----- Original Message -----
From: Boris Horvat
To: Tapestry users
Sent: Saturday, July 13, 2013 11:29 AM
Subject: Re: zoneUpdate on datefield
This is what I use
<t:datefield t:id="datefield" t:mixins="jquery/customdatepicker"
t:value="dateValue" onchange="$(this).closest('form').submit();"/>
On Sat, Jul 13, 2013 at 12:29 PM, John <[email protected]> wrote:
> thanks, I'll look into your suggestions I am using jquery
>
> the onchange event only seems to trigger when the input receives focus, is
> keyed and then loses focus (the date picker popup does none of these, maybe
> it should!?)
>
> John
> ----- Original Message -----
> From: Boris Horvat
> To: Tapestry users
> Sent: Saturday, July 13, 2013 11:18 AM
> Subject: Re: zoneUpdate on datefield
>
>
> You dont have to use zoneUpdater, just use normal form and submit it
> when a
> user changes a value. or you can use bind mixin (assuming that you are
> using tapestry5-jquery)
>
>
> On Sat, Jul 13, 2013 at 11:51 AM, John <[email protected]> wrote:
>
> > I tried that first, it does nothing - not what I expected?
> > ----- Original Message -----
> > From: Boris Horvat
> > To: Tapestry users
> > Sent: Saturday, July 13, 2013 10:43 AM
> > Subject: Re: zoneUpdate on datefield
> >
> >
> > try using onchange event
> >
> >
> > On Sat, Jul 13, 2013 at 11:44 AM, John <[email protected]> wrote:
> >
> > > I am trying to catch changes to a datefield using the zoneUpdater
> > mixin.
> > >
> > > The keyup event is fine for typing, but is there a way to capture
> the
> > > value change when it's done using the date pickup popup?
> > >
> > > John
> >
> >
> >
> >
> > --
> > Sincerely
> > *Boris Horvat*
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
--
Sincerely
*Boris Horvat*