[Zope] Zsql / Zcatalog

Christopher Rivard chris at chrisrivard.com
Thu Nov 4 15:01:00 EST 2004


Hello,

I am having some difficulty passing a value from a python script into a 
url from a zsql method to a zcatalog. I am following this example:

http://zope.org/Members/rbickers/cataloganything

The issue that I am having is that the value of  pub_id will not display 
in the url.  The id is being passed into the catalog, just not displayed 
in the url. Any suggestions?

Thanks,
Chris


for publication in container.view_publications_sql():
     publication.catalog_object(publication, 
'/publications/cat_pub_detail/+publication.pub_id+/publication_html')
     print publication #
     print publication.pub_id
return printed






More information about the Zope mailing list