ordered repeating view lets its children use its markup but doesnt render anything itself. so you should setrenderbodyonly(true) on the panel you are adding to the view not the view itself

-Igor


On 1/5/06, Caghan Ozbek <[EMAIL PROTECTED]> wrote:
Hi,

I am trying to remove <span></span> tags and using
setRenderBodyOnly(true) method. But it doesn't work for
OrderedRepeatingView.

Is there anything that I should implement, or is it a bug?

thanks in advance,
embryo

***************************************************************************************
TestPage.java:
***************************************************************************************
public class TestPage extends WebPage {

    /** Creates a new instance of TestPage */
    public TestPage() {

        OrderedRepeatingView region = new OrderedRepeatingView("region");
         region.setRenderBodyOnly(true);
        region.add( (Panel) new HelloFormBrick(region.newChildId()));
        add(region);
    }
}
***************************************************************************************
TestPage.html:
***************************************************************************************
<span wicket:id="region">The Bricks get laid here.</span>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to