[Zope] Calling dynamic zsql method from zpt?
    Nick Bower 
    nicholas.bower at jrc.it
       
    Thu Nov 27 15:53:41 EST 2003
    
    
  
I've searched everywhere for a seamingly obvious thing to have in the
documentation - how to call a dynamic zsql method from a zope page
template using arguments.
What I need is something like this:
<div tal:define="sqlRows
nocall:here/ZSQLTerritoryList(parent_id=parent_id)">
  <select name="country_list">
  <option value="">ANY</option>
  <option tal:repeat="sqlRow sqlRows" ...
  etc...
but obviously the first line of code doesn't work.  How else are
variables passed do zsql methods from page templates?
Thanks, Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20031127/886b4e91/attachment.html
    
    
More information about the Zope
mailing list