flobro30101
2014-03-21 13:13:35 UTC
Trying to generate a list of files by passing a simple list into this
template (it fails):
<html py:strip="True" xmlns:py="http://genshi.edgewall.org/">
<select multiple name="files" id="files" >
<py:for each="file in flist">
<option value="${file}">${file}</option>
</py:for>
</select>
</html>
If I remove the "multiple" from the "select" line (line 2) it works, but I
do not have the correct control.
What am I doing wrong?
Thanks
Floyd
template (it fails):
<html py:strip="True" xmlns:py="http://genshi.edgewall.org/">
<select multiple name="files" id="files" >
<py:for each="file in flist">
<option value="${file}">${file}</option>
</py:for>
</select>
</html>
If I remove the "multiple" from the "select" line (line 2) it works, but I
do not have the correct control.
What am I doing wrong?
Thanks
Floyd
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi.
For more options, visit https://groups.google.com/d/optout.