Hi Eelco,

tried it, but this seems to go more buggy than before:

if I use 
<wicket:container wicket:id="header">

he complains about no end-tag, if i do 

<wicket:container wicket:id="header" /> he renders, but puts out:

        panelcontent
      </wicket:container>

(yes , he doesnt print out the <wicket:container> open tag but a close tag
afterwards !)

which seems even bader than an empty <div></div> set as </wicket:container>
is completely invalid :(



> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag 
> von Eelco Hillenius
> Gesendet: Montag, 28. Mai 2007 15:58
> An: [email protected]
> Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
> 
> What about using:
> 
> <wicket:container wicket:id="header">
> 
> Eelco
> 
> 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