[Zope] RE: RE: [Zope] Acquisition problem

Chris Withers chrisw@nipltd.com
Tue, 02 May 2000 09:43:48 +0100


> But I have another idea. Here is a code sequence I use:
> 
> ...
>     <dtml-in "SQL.sqlMitarbeiter(Abteilung=Abteilungsname)">
>       <dtml-if sequence-even>
>         <tr bgcolor="<dtml-var Zeilenfarbe>">
>       <dtml-else>
>         <tr>
>       </dtml-if>
> ...
> 
> As you can see Zeilenfarbe is referenced within a dtml-in statement.
> Is it possible that dtml-in changes the namespace? SQL is another
> folder beneath / that holds most of my ZSQL stuff...
> And if so, how can I force to use the local namespace?

> Me too. What makes me wonder is the fact, that this has worked some
> time ago and I do not know what I have done to break it.

Aha,

Right, these two sections suggest to me you are suffering from the problems with
ZSQL methods in 2.1.6.

Take a look at the following and see if it helps:

http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/8347052C9F353CA2 

cheers,

Chris