Re: [Zope3-dev] Re: tal:replace=default question

2005-05-14 Thread Dmitry Vasiliev
Evan Simpson wrote: Paul Winkler wrote: On Fri, May 13, 2005 at 05:39:56PM +0400, Dmitry Vasiliev wrote: 'span tal:content=default42/span' = 'span42/span' 'span tal:replace=default42/span' = '42' +1. IMHO the current behavior is wrong. replace should always replace the element, no exceptions.

[Zope3-dev] Re: tal:replace=default question

2005-05-13 Thread Evan Simpson
Paul Winkler wrote: On Fri, May 13, 2005 at 05:39:56PM +0400, Dmitry Vasiliev wrote: 'span tal:content=default42/span' = 'span42/span' 'span tal:replace=default42/span' = '42' +1. IMHO the current behavior is wrong. replace should always replace the element, no exceptions. (Zope 2 has