4 Jan
2004
4 Jan
'04
7:17 a.m.
On Sat, Jan 03, 2004 at 03:47:01PM -0500, kittonian wrote:
I can't seem to figure out what the equivalent code would be to use in a ZPT. Can someone provide me the answer?
I have the following statement working in my dtml-documents:
<dtml-in expr="methods.dropdown( listname='state' )" > <option value="<dtml-var item_value>"><dtml-var item_name></option> </dtml-in>
untested... <option tal:repeat="result python:methods.dropdown(listname='state')" tal:attributes="value result/item_value" tal:content="result/item_name"> </option> -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE ACTIVE FINALE! (random hero from isometric.spaceninja.com)