Haven't done this, but I think you would need to override renderChild to get access to the component and setRenderBodyOnly.
best, jim On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > Hello, > > ive come to a problem I dont know how to solve. I use a BasePage in wich i > have 2 RepeatingViews in wich i then put components (dynamic way at runtime > - i dont know what component will be in) > > <div wicket:id="header"> > wicket:header container > </div> > > <div wicket:id="content"> > wicket:content container > </div> > > and they work alright - however, i allways get the <div> spans around > > <div>HeaderComponent1</div><div>HeaderComponent2</div> > > - I tried to get rid of them by using > header = new RepeatingView("header"); > header.setRenderBodyOnly(true); > add(header); > > but the setRenderBodyOnly(true) seems to be ignored... I then thought i > could use a WebMarkupcontainer but this then has no .newChildId function and > would require me to know the ID of a component, wich i dont know as its > dynamic; > > So how can i get rid of these <div>s while having the rest of the > RepeatingView behaviour? > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user