Igor,

We do update  the DateTimeField itself, and this is what we see:

SEVERE: cannot update component that does not have setOutputMarkupId
property set to true. Component: [MarkupContainer [Component id = hours]]
java.lang.IllegalArgumentException: cannot update component that does not
have setOutputMarkupId property set to true. Component: [MarkupContainer
[Component id = hours]]
        at
org.apache.wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:346)

Julian
On Thu, Jul 21, 2011 at 11:02 AM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote:

> cant update the DateTimeField itself?
>
> -igor
>
> On Thu, Jul 21, 2011 at 10:57 AM, Julian Sinai <jsi...@gmail.com> wrote:
> > We have a need to update a DateTimeField via Ajax, but its fields are
> > private, and they don't have setOutputMarkupId() set on them. The result
> is
> > an exception upon Ajax update. Is there any solution other than cloning
> and
> > owning DateTimeField?
> >
> > We are using Wicket 1.4.17 (and we can't upgrade to 1.5 just yet).
> >
> > Any help is appreciated.
> > Julian
> >
>

Reply via email to