somedtmlmethod contains: <dtml-with "PARENTS[0].somefolder"> <dtml-var anotherdtmlmethod> </dtml-with> This works in dtml: <dtml-in somesequence> <dtml-var "somedtmlmethod(_.None,_,id=idfromsequence)"> </dtml-in> How do I do this in a python script? I've tried: for item in context.somesequence: print context.somedtmlmethod(_.None,_,news_item_id=story.news_item_id) return printed --Steve desperately seeking zen
I've tried: for item in context.somesequence: print context.somedtmlmethod(_.None,_,id=idfromsequence) # Steve needs to work harder at searching before posting :) print context.somedtmlmethod(context,context.REQUEST,id=idfromsequence
return printed
--Steve desperately seeking zen
Could place to seek is at http://zope.nipltd.com --Steve "Seek and ye shall find..."
participants (1)
-
Steve Drees