we probably shoul rename DateField to DateFieldPanel, as this name has misled at least two other guys too.
wdyt, eelco? On 8/9/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Ok, thanks anyway :) So.. Markup modification isn't needed, but if I'm > not mistaken attaching the behavior directly to the DateField doesn't yield > what I'm looking for..? > > Nope. That is because the DateField itself is a panel, while you need > to attach it to the text field it embeds. In your case, just do: > > TextField t = new TextField(... > t.add(new DatePicker()); > t.add(myAjaxBehavior) > > Eelco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
