... That's exactly how it works. In fact that is one of the examples in the Users Guide: ===================================== Since Cheetah is extremely...
2605
Donnie Hale
donnie@...
Jul 9, 2004 3:50 am
I've not gotten a chance to try this yet, but it's next on my list; and the docs make me wonder if this will work or not. I'd like to subclass Template (e.g....
2604
Tavis Rudd
tavis@...
Jul 7, 2004 9:08 pm
hehe, in fact, you already have it :) ... This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July...
2603
Shannon -jj Behrens
jjinux@...
Jul 7, 2004 9:05 pm
Since you're passing out commit bits, I have one good patch in. How many more before I can earn a commit bit? ;) Thanks, -jj (jjinux@...) ... -- I am...
2602
Tavis Rudd
tavis@...
Jul 7, 2004 7:28 pm
Hi Chris, can you provide the code that is producing this error? Also, what version of windows are you using? Cheers, Tavis ... Yes, but it's more complicated...
2601
Tavis Rudd
tavis@...
Jul 7, 2004 7:17 pm
Hi Scott, it's ok with me. I just haven't had time to test it fully. Thanks for the offer of help. I've added your sourceforge account to the developers...
2600
Doug Wyatt
doug@...
Jul 7, 2004 2:58 am
Hi Aaron, Thanks for the reply. Your example works fine. I must be misunderstanding something about using inheritence in my templates because the problem only...
2599
Scott Sanders
scott@...
Jul 6, 2004 11:30 pm
Any luck on this? Is it OK with you guys? Can we get it or some version that looks like it checked into CVS? I am happy to help with Cheetah, if you want the...
2598
Aaron Held
aaron@...
Jul 6, 2004 7:22 pm
Can you post the code? I do this all the time: templateDef='''\ Hello $rf''' rf = 'Aaron39; t = Template(templateDef,[{'rf':rf}]) ... This SF.Net email sponsored...
2597
Doug Wyatt
doug@...
Jul 4, 2004 5:49 am
I did some more poking ... I tried writing the template to a file in /tmp and passing this file to the Template constructor and got the same error. I then...
2596
Doug Wyatt
doug@...
Jul 4, 2004 12:06 am
Hi, I'm using Cheetah 0.9.15 on Mac OS X 10.3. I can compile and fill templates from files just fine. I changed my code so that I was creating a template from...
2595
Chris Gahan
chris@...
Jun 29, 2004 7:53 pm
I'm having a problem using the #import statement when I'm using template objects (the ones that are not precompiled). The cheetah compiler dies when...
2594
CLIFFORD ILKAY
clifford_ilkay@...
Jun 24, 2004 11:09 pm
Hi, Does anyone have any examples of how to integrate Cheetah with FormKit? I have a few forms that are identical for all but the names of the forms and ...
2593
Scott Sanders
scott@...
Jun 24, 2004 8:22 pm
Sure thing. Attached are the diff to Template and Parser. Disregard the Template change on line 388, that is to solve my relative path issue, which is really...
2592
Tavis Rudd
tavis@...
Jun 24, 2004 7:19 pm
Hi Scott, can you send me a patch file (diff -u) of the changes. Cheers, Tavis ... This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black...
2591
Scott Sanders
scott@...
Jun 24, 2004 6:49 pm
I have hacked on Cheetah to make it submit to my bidding :) I have modified #include to allow something like: #include context=[$context.child] "child.tpl" ...
2590
Scott Sanders
scott@...
Jun 24, 2004 6:38 pm
I am using Cheetah 0.9.15 with mod_python 3.1.3 and Apache 2.0.49 on Mac OS X. I have a simple Handler named cheetah that will process a template when called...
2589
Chad Walstrom
chewie@...
Jun 18, 2004 7:53 pm
... Could you include a link to your test template? Double-check your syntax. -- Chad Walstrom <chewie@...> http://www.wookimus.net/ ...
2588
Sandrine Ribeau
sandrine.ribeau@...
Jun 18, 2004 9:58 am
Hi all! I'm a new user of Cheetah (from threee hours exactly...). I'm reading the tutorial I found on the Cheetah site and try to follow the examples given....
2587
Shannon --jj Behrens
jjinux@...
Jun 17, 2004 11:24 pm
Automatically compiling templates as well as making the connection between layouts and screens more flexible via: ...
2586
deelan
deelan@...
Jun 17, 2004 7:36 pm
... yeah, subtemplates, recently i've came accross to a similar solution too, take a look at my message on the webware list: ...
2585
Terrel Shumway
mail@...
Jun 17, 2004 7:20 pm
... Because I am an inheritance bigot :-). I never do with inheritance what SHOULD (IMOVHO) be done with composition or delegation. (Under the hood, even...
2584
Aaron Held
aaron@...
Jun 17, 2004 3:37 am
I overcame the staic problem w/ the pseudocode on the bottom of my last email: if you setup a template that extends a servlet and has placeholder functions...
2583
Aaron Held
aaron@...
Jun 16, 2004 7:08 pm
Why not subclass the template (did I miss something?) parent.tmpl <html> ..... #block content THIS PAGE HAS NO CONTENT #end block .... </html> Child: #from...
2582
Terrel Shumway
mail@...
Jun 15, 2004 3:39 pm
... "Right." "What39;s a subtemplate?" The word doesn't occur in the users guide, and it appears only once in the developer's guide (in the history section where...
2581
Suriya Narayanan M S
mssnlayam@...
Jun 15, 2004 4:59 am
... I am using Debian unstable with Python 2.3.4 and Cheetah 0.9.15. ... That is not the problem. I guess it is because of the #for loop. <code> #for $i in...
2580
Suriya Narayanan M S
mssnlayam@...
Jun 15, 2004 1:09 am
I have a small example which is not working as I think it should. <code> from Cheetah.Template import Template templateDef = """ #for $i in $list #include...
2579
John Landahl
john@...
Jun 10, 2004 6:20 pm
... f = open(filename, 'w') f.write(str(template)) f.close() ... There's also a Perl-ish extension to the print statement which could replace the f.write()...
2578
Amalia Rowell
vtlivwsk@...
Jun 10, 2004 3:51 pm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type"...
2577
Vinodh Srinivasasaina...
vinodh@...
Jun 9, 2004 11:23 pm
I am using Cheetah to automate the process of creating jobscripts from a template script and its corresponding placeholder values feed from a dictionary. In...