The source for TabbedPanel.html (wicket 2.0 svn checkout today) reads

        <wicket:panel>
        <div class="tab-row">
        <ul>
                <li wicket:id="tabs">
                        <a href="#" wicket:id="link"><span
wicket:id="title">[[tabtitle]]</span></a>
                </li>
        </ul>
        </div>
        <span wicket:id="panel" class="tab-panel">[panel]</span>
        </wicket:panel>

As you see, the content of the panel is enclosed in "<span
wicket:id=...>" and "</span>".
As span is an inline tag and it should not surround e.g. a "<table>"
tag. I think a "<div>" tag would be correct here. This means

        <wicket:panel>
        <div class="tab-row">
        <ul>
                <li wicket:id="tabs">
                        <a href="#" wicket:id="link"><span
wicket:id="title">[[tabtitle]]</span></a>
                </li>
        </ul>
        </div>
        <div wicket:id="panel" class="tab-panel">[panel]</div>
        </wicket:panel>

Stefan Lindner

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to