Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
Well, you will hit problems with your define because that will run before your repeat. Remove it and be happy. Ah thanks, that's much better. :) Example Option New ___ ZPT mailing list ZPT@zope.org http://mail.zope.org/m

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Charlie Clark
Am 14.08.2006 um 21:02 schrieb Don Morrison: Am 14.08.2006 um 20:36 schrieb Don Morrison: > I refactored some... > > > >tal:attributes="label record/name; value record/id" > tal:content="record/name"> > Example Option > > > New > No need for the to

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
Am 14.08.2006 um 20:36 schrieb Don Morrison: > I refactored some... > > > >tal:attributes="label record/name; value record/id" > tal:content="record/name"> > Example Option > > > New > No need for the to loop and no need to wrap you variable names in

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Charlie Clark
Am 14.08.2006 um 20:36 schrieb Don Morrison: I refactored some... tal:attributes="label record/name; value record/id" tal:content="record/name"> Example Option New No need for the to loop and no need to wrap you variable names in cryptic abb

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
I refactored some... Example Option New ___ ZPT mailing list ZPT@zope.org http://mail.zope.org/mailman/listinfo/zpt

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
Thanks everyone, the following works: I omit the dummy value since I have several dummy values defined elsewhere. :) On 8/14/06, Janko Hauser <[EMAIL PROTECTED]> wrote: You are missing tal:attributes dummy With regards, __Janko > When doing the following: > > tal:

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Charlie Clark
Am 14.08.2006 um 19:27 schrieb Don Morrison: Eek string replacements are so much uglier than Python string format! Is it just me who thinks what you're doing is wrong. Charlie, I just said myself it was wrong and I'm asking for help because even if it did work it would be ugly and inelegant.

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Janko Hauser
You are missing tal:attributes dummyoption> With regards, __Janko When doing the following: The less-thans and greater-thans still get html escaped. How do I prevent this? Obviously I'm new to zope. Your answer would probably fit into the Zope Book because I don't see the answer

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
On 8/14/06, Don Morrison <[EMAIL PROTECTED]> wrote: > Eek string replacements are so much uglier than Python string format! How does Python string format help me? If I return a string from Python the less-thans and greater-thans still get html escaped:

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
Eek string replacements are so much uglier than Python string format! Is it just me who thinks what you're doing is wrong. Charlie, I just said myself it was wrong and I'm asking for help because even if it did work it would be ugly and inelegant. I left it wrong to show you I'm trying to preven

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Charlie Clark
Am 14.08.2006 um 19:13 schrieb Don Morrison: When doing the following: The less-thans and greater-thans still get html escaped. How do I prevent this? Obviously I'm new to zope. Your answer would probably fit into the Zope Book because I don't see the answer there. Eek string repla

[ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
When doing the following: The less-thans and greater-thans still get html escaped. How do I prevent this? Obviously I'm new to zope. Your answer would probably fit into the Zope Book because I don't see the answer there. Thank You BTW, I love zope, I am not a zope hater. ;) __