Did you add onchange in the markup as well, you need to add it in the markup
as well
<input wicket:id="yourDate" id="yourDate" type="text" name="yourDate"
onchange="blah"  />

Regards
Dipu


On 8/9/07, Federico Fanton <[EMAIL PROTECTED]> wrote:
>
> Hi everyone!
> I'd like to add an AJAX behavior to a DateField, so that when the value of
> the textfield changes an event gets fired.. I went with something like
>
> field.get("date").add(new Mybehavior("onchange"))
>
> to attach the event to the textfield, but (comprehensibly) it doesn't get
> fired when I change the date via the calendar.. Any hint? ^^;
>
> Many thanks for your attention
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to