2005/10/4, Chris <[EMAIL PROTECTED]>:
> Hi Peter,
> >><dtml-with "somePath.someDTML">
> >>   <dtml-var foo>
> >></dtml-with>
> >
> > Now I'm very confused. What the heck is "someDTML" and what is "foo".
> > I thought "someDTML" was a DTML Method/Document. Then what is foo?
> Sorry, my fault. This should read
> <dtml-with "somePath">
>     <dtml-var someDTML>
> </dtml-with>
> > I could be wrong but it seems your DTML usage is flawed. Then yes,
> > you'll have to write some regular expression scripts that recodes them
> > to call templates the correct way.
> This would be no problem. However I need zope to do this automatically
> so I don't have to change the dtml-var calls in the customer's code. So
> my thought is to alter the __call__ method of DTMLMethod.py which is
> kind of ugly in case I want to update Zope later on.

Like I said, Good luck!
Wouldn't it be easier to change the DTML source inside the customers zodb?

Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to