Kenneth Gonsalves wrote:

thanks, that worked, but a further problem arose. What i am trying to do is add a radio group with the value of id for each item. The code is like this:

   Costcentre Name
  <tr tal:repeat="result batch">
   <input type=radio name=chosen value = "string:${result/id}">
<a tal:attributes="href string ${portal_url}/avsapdemo?id=${result/id}"

i get a list with the radio buttons, but the value of the radio button is not the id but 'string:${result/id}'

i *did* check all the docs to the best of my ability - but no luck

<input type=radio name="chosen" tal:attributes="value result/id">

You should take a closer look at the ZPT documentation:


ZPT mailing list

Reply via email to