Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

cheetah-archive · Cheetah Template System Archive

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3
  • Category: Web Design
  • Founded: Jul 18, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 3925 - 3954 of 5012   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
3925 leenoori
leenoori@... Send Email
Jan 5, 2007
6:15 pm
... Has any progress been made towards implementing the #super directive? If only I knew more about Python I would have a try myself! ... Take Surveys. Earn...
3926 Mike Orr
sluggoster@... Send Email
Jan 5, 2007
9:36 pm
... Not that I know of. -- Mike Orr <sluggoster@...> ... Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and...
3927 Sandro Dentella
sandro@... Send Email
Jan 5, 2007
9:55 pm
... I'm using django and I wanted to mock django way to find templates i.e. the possibility to overwrite default templates of one application with teplates of...
3928 Leonard J. Reder
reder@... Send Email
Jan 5, 2007
10:37 pm
Hello I ran the install of Cheetah on my Windows XP machine and all seemed to work normally. However it did not pass any of the unit tests. I suspect this is...
3929 Mike Orr
sluggoster@... Send Email
Jan 6, 2007
6:29 pm
... You can ignore these. The tests run Cheetah via os.system, and that doesn't work on some Windows platforms. The tests should be rewritten not to do that....
3930 Charlie knudsen
charlie_knudsen@... Send Email
Jan 7, 2007
9:57 am
Hi All, I am new to Cheetah, am using version 2.0rc7, and am running into unicode troubles. I am using windows XP. I am trying to create a Template and then...
3931 Miha Vrhovnik
mvrhov@... Send Email
Jan 7, 2007
10:21 am
To list admin, please deny my previous message, I used wrong e-mail to post it. I brought that up about a year ago! And still nobody come out with a solution. ...
3932 Charlie knudsen
charlie_knudsen@... Send Email
Jan 8, 2007
12:45 am
... t = Template(file="input.txt") out = t.respond() if type(out) != type(u'&#39;): out = out.decode(&#39;utf-8&#39;) print out.encode(&#39;utf-8&#39;) ... While this solves the...
3933 Mike Orr
sluggoster@... Send Email
Jan 8, 2007
7:48 am
... Yes, this is reasonable. str(t) and unicode(t) break if the string contains non-ASCII characters due to bugs in Python, so use t.respond() instead, which...
3934 Miha Vrhovnik
mvrhov@... Send Email
Jan 8, 2007
8:53 am
... In my case I cannot use precompiled templates. But still, cheetah should behave like python and convert input template in unicode. ... While at it please...
3935 Brian Bird
Brian.Bird@... Send Email
Jan 8, 2007
9:21 am
I think the problem is that the file= argument expects to read in the file as bytes because there is nowhere to specify the encoding (perhaps there should be...
3936 Miha Vrhovnik
mvrhov@... Send Email
Jan 8, 2007
9:33 am
... ... cut... Brian you are missing something. I told Cheettah that file encoding is utf-8 by this line: #encoding UTF-8 and that's why I'm expecting it to...
3937 Brian Bird
Brian.Bird@... Send Email
Jan 8, 2007
10:39 am
... UTF-8 ... Ah - I didn't see that in your Xml example, but my 'solution&#39; should work for the original problem (by Charlie Knudson) I don't understand how...
3938 Mike Orr
sluggoster@... Send Email
Jan 8, 2007
5:47 pm
... That's outside the scope of WebSafe. WebSafe's job is to escape HTML markup characters, not to do formatting. None of the functions WebSafe is modeled...
3939 Mike Orr
sluggoster@... Send Email
Jan 8, 2007
6:36 pm
... Nevertheless it should work, because Template() is supposed to mimic the behavior of writing and importing a template module, including supporting Python's...
3940 matilda matilda
matilda@... Send Email
Jan 9, 2007
10:04 am
Hi all, I just started over with cheetah and tried some simple test to get a feeling. But after some minutes I do have the first question which answer I can't...
3941 Mike Orr
sluggoster@... Send Email
Jan 10, 2007
6:17 pm
... Because it's output using 'print&#39; (Cheetah/TemplateCmdLineIface.py line 45, in CmdLineIface.run()). We could have it suppress the extra newline if it's...
3942 matilda matilda
matilda@... Send Email
Jan 11, 2007
3:41 pm
Hi Mike, ... line 45, ... anybody. It has nothing to do with bothering. Reading the documentation, I would really assume the output is the same in both cases. ...
3943 Mike Orr
sluggoster@... Send Email
Jan 11, 2007
4:36 pm
... It is widely used in production sites around the world and has been 2001, and major bugs have always been fixed within a month of being reported. Some...
3944 matilda matilda
matilda@... Send Email
Jan 11, 2007
9:18 pm
Hi all, first of all: Mike, thank you for answering so fast. Now I have the second problem and I couldn't find the answer in the documentation: Simple example:...
3945 Mike Orr
sluggoster@... Send Email
Jan 11, 2007
9:34 pm
... There must be an "#extends inner" in your outer template, no? Otherwise it would not be related to the inner one at all. You are probably depending on the...
3946 Václav Haisman
vhaisman@... Send Email
Jan 22, 2007
9:57 am
Hi, I have imported whole Cheetah into my project in Eclipse's PyDev. PyDev now parses it whole as part of the workspace and Cheetah's Tests/NameMapper.py and...
3947 Mike Orr
sluggoster@... Send Email
Jan 24, 2007
12:22 am
You can't make a block with arguments. I wanted to do: #for $m in $monthly_data ... #block extra_monthly_data(month_data) #end block #end for The block would...
3948 Mike Orr
sluggoster@... Send Email
Jan 24, 2007
1:53 pm
... As we have been documenting it, #block is the same as #def plus an implicit placeholder. #def doesn't produce any output where it's defined, but #block...
3949 ml
ml@... Send Email
Jan 25, 2007
6:21 pm
Hi! Is it possible to "stack" multiple filters? E.g. this doesn't work: #filter WebSafe #filter EncodeUnicode $val #endfilter #endfilter Thank you! David ... ...
3950 Jeremy James
jbj@... Send Email
Jan 26, 2007
1:42 am
... It's probably ambigous as to how that would work anyway (which order should the filters be applied?) - the simple answer is 'create your own'. -- import...
3951 Mike Orr
sluggoster@... Send Email
Jan 26, 2007
4:58 am
... No. The inner filter will override the outer filter. Write your own combined filter, as Jeremy suggested. The WebSafe filter needs to be revamped to be...
3952 ml
ml@... Send Email
Jan 26, 2007
10:43 am
Hi! Scenario: Template is in UTF-8, placeholders are unicode -> UnicodeDecodeError I read the "unicode troubles" thread and there is a simple solution for ...
3953 Marek PuÅ‚czyÅ...
pulczynski@... Send Email
Jan 26, 2007
11:13 am
I am using cheetah wherever I can. Recently it was used (with turbogears) to make http://beta.arkadiuszkotlewski.com I would be glad if you include a link on ...
3954 ml
ml@... Send Email
Jan 27, 2007
9:02 am
I looked into the compiler's source code and I found no trace of any switch. So I'm suggesting two solutions: 1) automatic ... +++ /tmp/CompilerNew.py...
Messages 3925 - 3954 of 5012   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help