Jim,

thanks for your post - unfortunately i dont understand what you mean
exactly: where should I overrrode renderChild and put what for? - the
trouble for me is the base-tag of the RepeatingView, not the outputs of any
of its childs...

  
 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag 
> von James McLaughlin
> Gesendet: Montag, 28. Mai 2007 14:40
> An: [email protected]
> Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
> 
> 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
> > [email protected]
> > 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to