[Zope] Value of radio button

Rebecca.R.Hepper@seagate.com Rebecca.R.Hepper@seagate.com
Tue, 25 Jun 2002 13:55:22 -0500


Hello All,

I have the following bit of code that loops through and creates a radio
button for every folder.  I would like the value of the radio button to be
the title of the folder.  How do I do that?  That code below does not work
-- it uses the actual name 'foldersName' as the value of the radiobutton
not the title of the folder.

Thanks!!


<table class="normal">
  <tr>&nbsp;</tr>
  <tr valign="top" align="left"  tal:repeat="folders
python:here.objectValues('Folder')">
     <th tal:define="foldersName folders/title" tal:content
="foldersName">Title</th>
      <td><input type="radio" name="release" value=foldersName></td>
    </tr>
</table>