Je dois afficher 2 lignes de tableau vides lorsqu'elles ne contiennent aucune donnée et lorsqu'elles ont des données, ces 2 lignes de tableau vides doivent être masquées. Maintenant, je peux écrire le code pour les données d'affichage dans les lignes du tableau, mais il n'affiche pas 2 lignes de tableau vides quand il n'a pas de données, alors s'il vous plaît aidez-moi à résoudre ce problème. Je vous remercie.Masquer/afficher 2 lignes de tableau lors de la saisie de données
<table class="message_table" width="1025" border="0" cellspacing="1" cellpadding="5" align="center" bgcolor="#c9c9c9">
\t \t <tr style="background-color:#797a7b;">
\t \t <td style="color:#fff;">序号</td>
\t \t <td style="color:#fff;">模式</td>
\t \t <td style="color:#fff;">时时彩返点</td>
\t \t <td style="color:#fff;">11选5返点</td>
\t \t <td style="color:#fff;">低频返点</td>
\t \t <td style="color:#fff;">操作</td>
\t \t </tr>
\t \t <a4j:repeat value="#{AgentAutoRegBean.reslist}" var="list"
\t \t \t \t \t \t id="dblist" rowKeyVar="keys">
\t \t \t \t \t \t <tr style="background:#{keys%2==1?'#EEEEDD':'#f4f4f4'}">
\t \t \t \t \t \t \t <td>#{keys+1}</td>
\t \t \t \t \t \t \t <td>#{list.model}</td>
\t \t \t \t \t \t \t <td>
\t \t \t \t \t \t \t \t <h:outputText value="#{list.pointssc}" converter="PercentConverter"/>
\t \t \t \t \t \t \t </td>
\t \t \t \t \t \t \t <td>
\t \t \t \t \t \t \t \t <h:outputText value="#{list.point115}" converter="PercentConverter"/>
\t \t \t \t \t \t \t </td>
\t \t \t \t \t \t \t <td>
\t \t \t \t \t \t \t \t <h:outputText value="#{list.pointdp}" converter="PercentConverter"/>
\t \t \t \t \t \t \t </td>
\t \t \t \t \t \t \t <td>
\t \t \t \t \t \t \t \t <font color="#5a5a5a">
\t \t \t \t \t \t \t \t \t <a4j:commandLink value="编辑" status="normalStatus" action="#{AgentAutoRegBean.edit}" data="#{AgentAutoRegBean.msg}" oncomplete="edit01(data)">
\t \t \t \t \t \t \t \t \t \t <f:param name="sign" value="#{list.sign}"/>
\t \t \t \t \t \t \t \t \t </a4j:commandLink>
\t \t \t \t \t \t \t \t \t <rich:spacer width="8"></rich:spacer>
\t \t \t \t \t \t \t \t \t <a4j:commandLink value="网址" onclick="winopen('#{list.sign}');return false;">
\t \t \t \t \t \t \t \t \t </a4j:commandLink>
\t \t \t \t \t \t \t \t </font>
\t \t \t \t \t \t \t </td>
\t \t \t \t \t \t </tr>
\t \t \t \t \t </a4j:repeat>
\t \t </table>