Re: [Zope] Speaking of Python Methods....
Steve Drees writes: > What's the PythonMethod equivalent of: > > > 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 convert to a string. The "callTypes" above may need to be replaced by "self.callTypes" or "context.callTypes", if "callTypes" is not yet in the functions namespace. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Speaking of Python Methods....
> What's the PythonMethod equivalent of: > > > I should guess: callTypes['2'].Name Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Speaking of Python Methods....
What's the PythonMethod equivalent of: -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )