Following bugs me:

I have a list of BTrees (the list is generated bt the pkg_remotePackages)
that store information about a software package. What i found is,
that the btrees (presented in the loop by 'package') can't 
be accessed in the Page Templates.

When using the python expression, AccessControl.ZopeGuards.guarded_getitem
prevents the display, and when using the path traversal of the page templates
i get a 'not' found, probably the same problem as the AccessControl in the
python expression. 

Any Ideas (other than creating a list of dictionaries for temporarily use,
which would not solve the problem itself ...)?

--- Here the page template:

  <tr tal:repeat="package here/pkg_remotePackages">
    <td tal:content="python:package['type']"></td>
    <td tal:content="package/title"></td>
    <td tal:content="package/version"></td>
    <td tal:content="package/source"></td>
    <td><a tal:attributes="href python:request['URL1'] + '/pkg_downloadPkg?pkg_PID=' + 

Regards, Christian

Christian Theune - [EMAIL PROTECTED]
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to