I meant do that on the label you are adding to the listitem ;)
-Igor

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of Igor Vaynberg
> Sent: Saturday, September 10, 2005 1:27 PM
> To: [email protected]
> Subject: RE: [Wicket-user] Label and span elements
> 
> Try calling listItem.setRenderBodyOnly(true);
> -Igor
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:wicket-user-
> > [EMAIL PROTECTED] On Behalf Of Dariusz Wojtas
> > Sent: Saturday, September 10, 2005 1:07 PM
> > To: [email protected]
> > Subject: [Wicket-user] Label and span elements
> >
> > Hi,
> >
> > I have a table with definition:
> >
> >   <tr wicket:id="rows" id="rows">
> >     <td><span wicket:id="myCell">My dummy data</span></td>
> >     [more cells]
> >   </tr>
> >
> > and Java code:
> >   listItem.add(new Label("myCell", "some value"));
> >
> > which is nice, readable, etc, etc
> > The rendered code is:
> >
> >   <tr id="rows">
> >     <td><span>Some data</span></td>
> >     [more cells]
> >   </tr>
> >
> > How do I get rid of these 'span' elements inside generated cells?
> > I only want to see my Label content in the result.
> > 'span' itself makes no problems, but having it added so many times in
> > a bigger table is not what I could expect.
> > Any hint?
> >
> > Darek
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to