[Zope] Applying fmt rules to variables

Pavel V. Piankov pashah@cosmos-mebel.spb.ru
Tue, 27 Feb 2001 13:24:08 +0300


> <dtml-call "REQUEST.set('name', lname fmt=url_quote_plus)">
>
> I know thats obviously NOT how to do it, but Im wondering at this point if
> it is at all, or do I have to rename all 600 files to not use +?
>
> I guess, first would be to do a string search and replace, but Im not sure
> where to start....

you might want to start somewere like

<dtml-call "REQUEST.set('name',_.string.replace(str,' ','+'))">

*NOT TESTED*

regards
--
Pavel
Cosmos-Mebel, JSC.
http://www.cosmos-mebel.spb.ru