<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>First
off...I just started playing with Zope today...</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>This seems
like it should be easy, but I've been searching google and the archives all day
to no avail. I have an object ID and would like to display the object
title as the content of a drop down menu. As it is now I can only display
the ID:</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></select><BR><select name="querytype"><BR><span
tal:define="ids root/Database/querytype/objectIds" tal:repeat="id ids"
tal:omit-tag=""><BR><option tal:attributes="value id"
<STRONG>tal:content="id"></STRONG>Item from sql
method</option><BR></span><BR></select></FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>What I want
though is for the only the value to be the ID and the content to be the
title. So something like this (which does not work):</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></select><BR><select name="querytype"><BR><span
tal:define="ids root/Database/querytype/objectIds" tal:repeat="id ids"
tal:omit-tag=""><BR><option tal:attributes="value id"
<STRONG>tal:content="id/title"></STRONG>Item from sql
method</option><BR></span><BR></select></FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004></SPAN><SPAN class=515294800-15122004><FONT
face="Courier New" size=2>I'm going to go get a good book on Zope and read it
tonight. But if that doesn't help can anyone here help me out?
Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>Cliff
Fogle</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>Network
Engineer</FONT></SPAN></DIV>
<DIV><SPAN class=515294800-15122004><FONT face="Courier New" size=2>Ofoto,
Inc.</FONT></DIV></SPAN></BODY></HTML>