[Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread Geoffrey L. Wright
or... "A Cry for Namespace Help" I seem to have run into one of those Zope namespace issued that's starting to make me dizzy. I have a index_html method that displays content conditionally depending on where it's called. It looks like this: dtml-if expr="PARENTS[0].id != 'edit'"

RE: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread sean . upton
on Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = -Original Message- From: Geoffrey L. Wright [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 03, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: [Zope] Poor Procedu

Re: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread Geoffrey L. Wright
[EMAIL PROTECTED] writes: Not sure if this is your problem, but since methods don't have namespaces, I'm not sure why your code could not be reduced to: dtml-if expr="id != 'edit'" dtml-var index.html dtml-else dtml-var chunk_editFrameset /dtml-if You're right -- this works just as