[Zope] Value of radio button
Phil Harris
phil@harris-family.info
Wed, 26 Jun 2002 09:17:05 +0100
Change this line:
<input type="radio" name="release" value=foldersName>
to:
<input type="radio" name="release" value="" tal:attributes="value foldersName">
hth
Phil
On Tue, 25 Jun 2002 13:55:22 -0500
Rebecca.R.Hepper@seagate.com wrote:
> 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> </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>
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>