[Zope] Speaking of Python Methods....

2000-11-22 Thread Steve Drees
What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna

RE: [Zope] Speaking of Python Methods....

2000-11-22 Thread Brian Lloyd
What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with I should guess: callTypes['2'].Name Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com

Re: [Zope] Speaking of Python Methods....

2000-11-22 Thread Dieter Maurer
Steve Drees writes: What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with To get the object: getattr(callTypes,'2').Name then you must do something with it. "dtml-var" would render it. This means call it, if it is callable and