Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Chris Colman
On 13/09/2021 5:19 pm, Martin Grigorov wrote: On Mon, Sep 13, 2021 at 9:44 AM Martin Grigorov wrote: On Mon, Sep 13, 2021 at 9:27 AM Chris Colman wrote: You shouldn't use if you use EnclosureContainer. Use a instead. It's weird how it's worked perfectly for many years for us in

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 10:19 AM Martin Grigorov wrote: > > > On Mon, Sep 13, 2021 at 9:44 AM Martin Grigorov > wrote: > >> >> >> On Mon, Sep 13, 2021 at 9:27 AM Chris Colman >> wrote: >> >>> >>> > You shouldn't use if you use EnclosureContainer. >>> > Use a instead. >>> >>> It's weird how

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 9:44 AM Martin Grigorov wrote: > > > On Mon, Sep 13, 2021 at 9:27 AM Chris Colman > wrote: > >> >> > You shouldn't use if you use EnclosureContainer. >> > Use a instead. >> >> It's weird how it's worked perfectly for many years for us in Wicket 6.x. >> >> Maybe an

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Martin Grigorov
On Mon, Sep 13, 2021 at 9:27 AM Chris Colman wrote: > > > You shouldn't use if you use EnclosureContainer. > > Use a instead. > > It's weird how it's worked perfectly for many years for us in Wicket 6.x. > > Maybe an extra note could be added to the 6.x -> 7.x migration guide in > case others

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-13 Thread Chris Colman
You shouldn't use if you use EnclosureContainer. Use a instead. It's weird how it's worked perfectly for many years for us in Wicket 6.x. Maybe an extra note could be added to the 6.x -> 7.x migration guide in case others experience this in their migration efforts. Regards, Chris

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-11 Thread Martin Grigorov
On Sun, Sep 12, 2021, 08:03 Chris Colman wrote: > We're in the middle of migrating a large enterprise content management > system (>1000 UI classes) from 6.x to 7.x. > > We've finally got it compiling with Wicket 7.x but we're having an issue > with an EnclosureContainer that worked fine in

Re: Wicket EnclosureContainer - any changes to behaviour from 6.x -> 7.x?

2021-09-11 Thread Chris Colman
I found a workaround (which may be the intended usage but the API docs don't seem very explicit in regard to EnclosureContainer) When using an EnclosureContainer don't use the wicket:enclosure tag like you do when not using an EnclosureContainer! Use some standard HTML e.g. div or span