Thank you for helping, Bas!

So it is one of the known issues with Wicket's enclosures. There are
several tickets in JIRA with similar problems.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Feb 4, 2016 at 10:51 AM, Bas Gooren <[email protected]> wrote:

> Hi Christopher, Martin,
>
> I just did a quick debug, and it’s caused by the inline enclosure. When I
> replace that with a WebMarkupContainer, and manage the visibility of that
> element, everything works as expected.
>
> See my gist here: https://gist.github.com/bgooren/11602fa0d786548bfd70
>
> We’ve had some unexpected issues with inline enclosures in the past, which
> is why I usually use explicit containers.
>
> In any case: the DatePicker behavior does not get it’s renderHead() method
> called once the second DateTimeField becomes visible, and it is inside the
> inline enclosure. Why that is the case requires more debugging. My gist
> provides a solution in the meantime.
>
> Met vriendelijke groet,
> Kind regards,
>
> Bas Gooren
>
> Op 3 februari 2016 bij 23:41:21, Martin Grigorov ([email protected])
> schreef:
>
> Hi,
>
> I don't have time to debug this problem now but I'll try to do it early
> next week.
> Please create a ticket in JIRA so it won't get forgotten! Thanks!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Feb 2, 2016 at 2:02 PM, Christopher Auth <[email protected]> wrote:
>
> > Hi,
> > I have some problems with the
> > org.apache.wicket.extensions.yui.calendar.DateTimeField. In the
> > constructor I set the visibility to false. Ajax redraw, when a checkbox
> > is clicked, the DateTimeField is marked as visible. As far as everything
> > works. Only then I can't open the DatePicker of the second DateTimeField.
> >
> > An example is below https://github.com/ChrAu/wickettest
> > to find.
> >
> > I have test it with Wicket 6.19/6.22/7.2
> >
> > Regards
> > Christopher
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

Reply via email to