Author Topic

Fabien Audin

Monday 12 April 2010 2:34:01 am

Comment58349

{def $users=fetch('extension', 'liste_annuaire', hash('nom', ezhttp('nom', 'get'), 'prenom', ezhttp('prenom', 'get'), 'societe', ezhttp('societe', 'get'), 'ville', ezhttp('ville', 'get')))}
        
<div class="contenu_fd">
    <div class="titre_bloc_id">
        <h2 class="puce_bleue_annuaire">{$node.name|wash()}</h2>
    </div>
    
    <div class="text_contenu">
        <div class="ss_titrebleu">Rechercher un membre :</div>
        <form name='formulaire'>
            <table>
                <tr><td><div class="libelé_id">Nom : </div></td><td valign="top"><input style="margin-left:10px" name='nom' class="halfbox1" type='text' size='30' value="{ezhttp('nom', 'get')}" /></td></tr>
                <tr><td><div class="libelé_id">Prénom : </div></td><td valign="top"><input style="margin-left:10px" class="halfbox1" name='prenom' type='text' size='30' value="{ezhttp('prenom', 'get')}" /></td></tr>
                <tr><td><div class="libelé_id">Société : </div></td><td valign="top"><input style="margin-left:10px" class="halfbox1" name='societe' type='text' size='30' value="{ezhttp('societe', 'get')}" /></td></tr>
                <tr><td><div class="libelé_id">Ville : </div></td><td valign="top"><input style="margin-left:10px" class="halfbox1" name='ville' type='text' size='30' value="{ezhttp('ville', 'get')}" /></td></tr>
                <tr><td> </td><td><input name='soumettre' class="btn_rechercher" src={"rechercher.jpg"|ezimage} type="image" value="submit" /></td></tr>
            </table>
        </form>
        <br />
        <div class="ss_titrebleu">Rechercher par nom :</div>
        <div id="myList-nav"></div>
        
        <div class="ss_titrebleu">Résultats de votre recherche :</div>
        <ul id="myList">

Sometime the first search works I have the searched member but sometime no. I show the get variables values in my page but ezhttp don't get the write values. In the url I have "nom=Audin&prenom=Fabien" but when I show the values with these lines :

Nom:     {ezhttp('nom', 'get')} <br />
 Prénom:  {ezhttp('prenom', 'get'} <br />

Nothing is printed on my page.