[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 well, and is much cleaner.  And I
figured out my problem while yanking out another unneeded reference to
PARENTS.  In my framset code I had a reference to PARENTS[1] (not
[0]!), so I was forcing Zope to look at the index.html method from the
namespace of the test_site folder.  DOH!

Zope is a funny thing -- it makes some things so much easier, but I
always find myself getting tangled up in stooopid namespace problems
of my own making.  I guess I'm just not used to thinking this way yet.

Many thanks for the assist.

> Sean

//glw


_______________________________________________
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 )

Reply via email to