Bonjour,
Je criiiiiiiiise..... c'est a rien y comprendre.......
bon, je fais simple, voici un morceau de code :
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5" valign="middle" nowrap="nowrap" class="lintop"><form id="form1" name="form1" method="get" action="index.html">
<img src="../rsc/imgs/txtbullet.png" width="10" height="22" hspace="5" align="absmiddle" />rechercher
<input name="word" type="text" id="word" size="32" maxlength="32" />
<input type="submit" name="search" id="search" value="Ok" />
<img src="../rsc/imgs/txtbullet.png" width="10" height="22" hspace="5" align="absmiddle" />
</form></td>
</tr>
<span tal:condition="exists:word"><span tal:define="search here/SQL/testSearch"><span tal:repeat="row search">
<tr class="linpair">
<td width="50" class="linpair"><span tal:replace="row/civ"></span></td>
<td width="250" class="linpair"><span tal:replace="row/nom"></span></td>
<!-- td width="250" class="linpair"><span tal:replace="row/pr\xe9nom"></span></td -->
</tr>
</span></span></span> </table>
mon fichier s'appelleindex.html
je veux qu'au chargement de ma page au démarrage, vu que 'word' n'existe pas le bloc en gras soit ignoré. MAIS aprés si je rentre une valeur dans mon champs de recherche je veux que ma recherche se fasse et crée mon tableau de résultat.
Je pense pas avoir fait d'erreur dans mon code, mais rien a faire. rien ne s'affiche en résultat, alors que je suis sur que ma sqlMethod me retourne bien un résultat!
A L'AIDEEEEEEEEE