your hierarchy was fine the problem was that wicket was inserting a webmarkup container automatically - but was not making it transparent so it was messing up the hierarchy.
-igor On 8/30/07, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > Thanks a lot Igor, > > With the trunk snapshot it is working. Does this mean that a > not-matching-hierarchy is not a problem after all? Or should I fix my > hierarchy anyway? > > -Kees > > On 8/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > hi kees, i believe i just checked in a fix for this into trunk, mind > giving > > it a go? > > > > the error means that the hierarchy between html and java is not in sync > > > > for example > > > > > > webmarkupcontainer foo=new webmarkupcontainer(); > > foo.add(new label("bar")); > > > > <div wicket:id="foo"></div><div wicket:id="bar"></div> > > > > as you can see the hierarchies are not in sync, html should be > > > > <div wicket:id="foo"><div wicket:id="bar"></div></div> > > > > -igor > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >