So far I've succesfully execute an SQL script from a ZPT page with this code:
<tal:div tal:repeat="row container/sql_script"> <h1 tal:content="string: ${row/column_one}, ${row/column_two}" /> </tal:div> Now I wan't to pass some arguments to the SQL script. I've tried this example in ZPT found on http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx#1-8 i know it's a zope 2.7 example... <tal:div tal:repeat="row python: here.sql_script(limit=10)"> ... </tal:div> I've got an error : "here" is not defined. I've tried with "container", "context"... always got an error. Can someone tell me how to pass arguments to the SQL Script objects ? Is there a documentation on this topic for X3 ? Nicolas Legault _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users