Would Johan's idea that you can have different 'root' components other than only page solve this? (So Panel and Border could e.g. be such root components).
Eelco On 9/6/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > I'm working on MarkupFragment and finding the markup as well as the > markup fragment for the component. Remember in v2 this is done in the > Component's constructor. The problem I have is with the Border > component. The Border component has an associated markup file and this > markup can have child components. These components are added to Border > in the standard way e.g. new Label(border, ...). Now lets say the > border has been added to a Page and the markup within Page for the > border looks like > <span wicket:id="border>...<span wicket:id="label">..</span></span> > The "label" component is also added to Border like new Label(border, > ...). In 1.x this doesn't cause any problems, as at render time we of > course know which markup we are currently rendering. But in 2.0 and in > the constructor of Component (of the Label) we do not know which > Markup to choose and I don't know how to solve this ambiguity. IMO > first trying Markup A and than Markup B is not a proper solution but > actually I have no other idea. Any thoughts? > > Juergen > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop