You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Izaias Miguel <iz...@visagio.com.br> on 2006/12/14 22:24:01 UTC

AjaxTabbedPanel and AjaxFallbackDefaultDataTable together problem

Hi all,

I'm using AjaxFallbackDefaultDataTable in a Panel used in an AjaxTabbedPanel. When I click on any tab, the table appears twice. Watching the ajax debug, I can see that the table is rendered twice, it renders the wicket markup and the actual html markup of the table. The code is showed below.

Can anybody help me? Thanks.


Code fragment of the ajax response:

 <table wicket:id="membros" cellspacing="0" id="abas_panel_membros"><wicket:panel>
<thead>
    
        
    
        <wicket:panel>
    <tr class="headers">
        
            <th class="wicket_orderUp" wicket:id="header"><wicket:border><a href="/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:1:header:orderByLink::ILinkListener" class="wicket_orderUp" wicket:id="orderByLink" onclick="var wcall=wicketAjaxGet('/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:1:header:orderByLink::IBehaviorListener&wicket:behaviorId=1', function() { }, function() { });return !wcall;" id="abas_panel_membros_topToolbars_2_toolbar_headers_1_header_orderByLink"><wicket:body><span wicket:id="label">Nome</span></wicket:body></a></wicket:border></th>
        
            <th class="wicket_orderNone" wicket:id="header"><wicket:border><a href="/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:2:header:orderByLink::ILinkListener" class="wicket_orderNone" wicket:id="orderByLink" onclick="var wcall=wicketAjaxGet('/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:2:header:orderByLink::IBehaviorListener&wicket:behaviorId=1', function() { }, function() { });return !wcall;" id="abas_panel_membros_topToolbars_2_toolbar_headers_2_header_orderByLink"><wicket:body><span wicket:id="label">E-mail</span></wicket:body></a></wicket:border></th>
        
            <th class="wicket_orderNone" wicket:id="header"><wicket:border><a href="/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:3:header:orderByLink::ILinkListener" class="wicket_orderNone" wicket:id="orderByLink" onclick="var wcall=wicketAjaxGet('/intranet/intranet?wicket:interface=:6:abas:panel:membros:topToolbars:2:toolbar:headers:3:header:orderByLink::IBehaviorListener&wicket:behaviorId=1', function() { }, function() { });return !wcall;" id="abas_panel_membros_topToolbars_2_toolbar_headers_3_header_orderByLink"><wicket:body><span wicket:id="label">CPF</span></wicket:body></a></wicket:border></th>
        
    </tr>
</wicket:panel>
    
</thead>
<tbody>
    
</tbody>
<tfoot>
    
        <wicket:panel>
    <tr class="norecords-tr">
        <td wicket:id="td" class="norecords-td" colspan="3">
            <span wicket:id="msg" class="norecords">No Records Found</span>
        </td>
    </tr>
</wicket:panel>