[Zope] Dynamic hyperlink with parameter

srikanth srikanth.m at monsterfirst.com
Sun Apr 10 13:33:15 EDT 2005


Hi,

  I am trying to execute something like:
   
     <tr tal:repeat="recordset">
        <td tal:replace="recordset/fname"><a
href="eachrecordresult.html?fname='recordset/fname'"> First Name
</a></td>
        <td tal:replace="recordset/lname"> Last Name </td>
    </tr>


   Everything works fine but the hyperlink. What I want it to look in
the hyperlink is something like:
             eachrecordresult.html?fname='chris' 
         where eachrecord is separe ZPT which retrieves each persons
record and displays it.


    But how it interprets it is (each looks the same):
               eachrecordresult.html?fname='recordset/fname'


  How can I solve this problem.

Thanks in advance.
Srikanth.




More information about the Zope mailing list