[Zope-DB] SQLConnectionIDs
Nicholas Wieland
nicholas_wieland at yahoo.it
Fri Jul 29 04:43:32 EDT 2005
<label> Database Connection </label>
<select name="conn_id" tal:repeat="DBAdapter here/SQLConnectionIDs">
<option tal:content="python: DBAdapter [1]"> placeholder </option>
</select>
This code is not working, because I'm "not allowed to access SQLConnectionIDs in this context".
I've tried also context/SQLConnectionIDs and <option tal:content="DBAdapter">, but nothing.
I don't have the slightest idea of what's happening here, because a specular DTMLfile works perfectly, and also a test ZPT with:
<ul tal:repeat="DBAdapter here/SQLConnectionIDs">
<li tal:content="DBAdapter"> placeholder </li>
</ul>
I'd paste the traceback, but I'm not able to convert it in text (this webmail sucks, it's written for html mail) and Zope doesn't log the traceback.
TIA,
ngw
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20050729/4716d8ca/attachment.htm
More information about the Zope-DB
mailing list