Martin, thanks for your help. Igor's hint helped me. After some
investigation I realized that I have a visitor in my button's submit handler
that visits all form components and adds them to the ajax target. That meant
it was visiting the inner fields of the DateTimeField, also, which was not
necess
I don't see any problem.
Put a break point in AjaxRequestTarget.addComponent() and see what is
registered. If you see component with id "hours" then investigate the
stacktrace.
As last resort you can create a quickstart with plain Wicket
components and if it still fails with this error send it to u
Hi Martin
Thanks for looking at this. It's a bit complicated because we've built a
form framework around Wicket, but here goes:
In the page:
HtFormPanel.DateFormField startField = new
HtFormPanel.DateFormField("startField",
new StringResourceModel("start", this, null), new PropertyModel(this,
"
Show some code.
On Thu, Jul 21, 2011 at 10:09 PM, Julian Sinai wrote:
> Nothing is adding it, we add the DateTimeField itself to the target.
>
> Julian
> On Thu, Jul 21, 2011 at 12:08 PM, Igor Vaynberg
> wrote:
>
>> what is adding that to the target?
>>
>> -igor
>>
>> On Thu, Jul 21, 2011 at 12:
Nothing is adding it, we add the DateTimeField itself to the target.
Julian
On Thu, Jul 21, 2011 at 12:08 PM, Igor Vaynberg wrote:
> what is adding that to the target?
>
> -igor
>
> On Thu, Jul 21, 2011 at 12:07 PM, Julian Sinai wrote:
> > It is the hours component of the DateTimeField. From Dat
what is adding that to the target?
-igor
On Thu, Jul 21, 2011 at 12:07 PM, Julian Sinai wrote:
> It is the hours component of the DateTimeField. From DateTimeField.html:
>
> :
>
> Julian
> On Thu, Jul 21, 2011 at 11:24 AM, Igor Vaynberg
> wrote:
>>
>> what is "hours" ?
>>
>> -igor
>>
>> On
It is the hours component of the DateTimeField. From DateTimeField.html:
:
Julian
On Thu, Jul 21, 2011 at 11:24 AM, Igor Vaynberg wrote:
> what is "hours" ?
>
> -igor
>
> On Thu, Jul 21, 2011 at 11:17 AM, Julian Sinai wrote:
> > Igor,
> > We do update the DateTimeField itself, and this is
what is "hours" ?
-igor
On Thu, Jul 21, 2011 at 11:17 AM, Julian Sinai wrote:
> 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 = hour
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 setO
cant update the DateTimeField itself?
-igor
On Thu, Jul 21, 2011 at 10:57 AM, Julian Sinai 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 so
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.
11 matches
Mail list logo