For anyone who finds this thread and is looking for these directions
in the context of a Pylons project (what to change where),
I put together a little tutorial/recipe showing what needs to be
changed in the Pylons' QuickWiki project
so it can use chameleon.zpt (there's a tutorial for building Qui
On Tue, Sep 29, 2009 at 7:36 PM, Iain Duncan wrote:
>
>
>> To be more precise: chameleon.genshi implements the Genshi XML template
>> syntax as described in
>> http://genshi.edgewall.org/wiki/Documentation/0.5.x/xml-templates.html .
>> is not a part of that syntax.
>>
>> That tutorial does not w
> To be more precise: chameleon.genshi implements the Genshi XML template
> syntax as described in
> http://genshi.edgewall.org/wiki/Documentation/0.5.x/xml-templates.html .
> is not a part of that syntax.
>
> That tutorial does not work due to a limitation chameleon.genshi
> currently has:
On Sat, Sep 26, 2009 at 3:26 PM, Wichert Akkerman wrote:
>
> On 2009-9-26 21:10, Thomas G. Willis wrote:
>>
>> On Sep 26, 10:14 am, Wichert Akkerman wrote:
>>> On 2009-9-25 22:55, Iain Duncan wrote:
>>>
>>>
>>>
> Hm, the chameleon.zpt template has not seen as much love as the
> chameleon
On 2009-9-26 21:10, Thomas G. Willis wrote:
>
> On Sep 26, 10:14 am, Wichert Akkerman wrote:
>> On 2009-9-25 22:55, Iain Duncan wrote:
>>
>>
>>
Hm, the chameleon.zpt template has not seen as much love as the
chameleon.genshi version so it might have broken somewhere. Can you test
i
On Sep 26, 10:14 am, Wichert Akkerman wrote:
> On 2009-9-25 22:55, Iain Duncan wrote:
>
>
>
> >> Hm, the chameleon.zpt template has not seen as much love as the
> >> chameleon.genshi version so it might have broken somewhere. Can you test
> >> if chameleon.genshi works for you? If so I'll look at
On 2009-9-26 00:45, Iain Duncan wrote:
>
>> Hm, the chameleon.zpt template has not seen as much love as the
>> chameleon.genshi version so it might have broken somewhere. Can you test
>> if chameleon.genshi works for you? If so I'll look at fixing up the
>> chameleon.zpt version.
>
> I've got the
On 2009-9-25 22:55, Iain Duncan wrote:
>
>
>> Hm, the chameleon.zpt template has not seen as much love as the
>> chameleon.genshi version so it might have broken somewhere. Can you test
>> if chameleon.genshi works for you? If so I'll look at fixing up the
>> chameleon.zpt version.
>
> Thanks, Cha
> Hm, the chameleon.zpt template has not seen as much love as the
> chameleon.genshi version so it might have broken somewhere. Can you test
> if chameleon.genshi works for you? If so I'll look at fixing up the
> chameleon.zpt version.
I've got the genshi templates being rendered, but I don't
> Hm, the chameleon.zpt template has not seen as much love as the
> chameleon.genshi version so it might have broken somewhere. Can you test
> if chameleon.genshi works for you? If so I'll look at fixing up the
> chameleon.zpt version.
Thanks, Chameleon genshi is working with your correction.
On 2009-9-24 19:16, Mike Orr wrote:
>
> On Thu, Sep 24, 2009 at 9:03 AM, KMCB wrote:
>>
>> Mike,
>>
>> I think they may be talk about this
>>
>> http://chameleon.repoze.org/
>
> So it's a template engine unifier, the way Buffet was and render_*
> are. It also claims to be faster than the native
On Thu, 2009-09-24 at 10:16 -0700, Mike Orr wrote:
> On Thu, Sep 24, 2009 at 9:03 AM, KMCB wrote:
> >
> > Mike,
> >
> > I think they may be talk about this
> >
> > http://chameleon.repoze.org/
>
> So it's a template engine unifier, the way Buffet was and render_*
> are. It also claims to be fas
On Thu, Sep 24, 2009 at 9:03 AM, KMCB wrote:
>
> Mike,
>
> I think they may be talk about this
>
> http://chameleon.repoze.org/
So it's a template engine unifier, the way Buffet was and render_*
are. It also claims to be faster than the native engines ported to
it?
--
Mike Orr
--~--~---
On 2009-9-24 18:03, KMCB wrote:
>
> Mike,
>
> I think they may be talk about this
>
> http://chameleon.repoze.org/
That's the one.
Wichert.
--
Wichert AkkermanIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
--~--~-~--~~
Mike,
I think they may be talk about this
http://chameleon.repoze.org/
Regards,
KMCB
On Sep 24, 9:41 am, Mike Orr wrote:
> On Wed, Sep 16, 2009 at 12:06 PM, Iain Duncan wrote:
>
> > Hi folks, I have not built enough pylons to be know how to switch
> > templating languages beyond mak
On Wed, Sep 16, 2009 at 12:06 PM, Iain Duncan wrote:
>
> Hi folks, I have not built enough pylons to be know how to switch
> templating languages beyond mako and genshi, but I'm interested in using
> Chameleon. Has anyone got any examples up of what one needs to do to use
> Chameleon?
What is Ch
On 2009-9-24 07:53, Iain Duncan wrote:
> I get the following traceback, any help much appreciated.
>
> File '/home/ymh/pylons_full/pylons_full/controllers/peek.py', line 50 in
> zpt
>
> File '/home/ymh/pylons_full/pylons_full/lib/pt.py', line 15 in render_pt
>cache_key=cache_key, cache_type=ca
On 2009-9-24 07:53, Iain Duncan wrote:
>
> In Sat, 2009-09-19 at 09:40 +0200, Wichert Akkerman wrote:
>> On 2009-9-16 21:06, Iain Duncan wrote:
>>>
>>> Hi folks, I have not built enough pylons to be know how to switch
>>> templating languages beyond mako and genshi, but I'm interested in using
>>>
In Sat, 2009-09-19 at 09:40 +0200, Wichert Akkerman wrote:
> On 2009-9-16 21:06, Iain Duncan wrote:
> >
> > Hi folks, I have not built enough pylons to be know how to switch
> > templating languages beyond mako and genshi, but I'm interested in using
> > Chameleon. Has anyone got any examples up o
create a template object, which attach to app_globals in
config/envrionment.py, then
create a render function, using pylons_globals() and cached_template()
functions,
all after, add it to app_globals to render the template by using template
lookup method.
2009/9/20 Iain Duncan
>
> Wichert, than
Wichert, thank you so much for your explicit example! I'll try that out
this week. =)
Iain
On Sat, 2009-09-19 at 09:40 +0200, Wichert Akkerman wrote:
> On 2009-9-16 21:06, Iain Duncan wrote:
> >
> > Hi folks, I have not built enough pylons to be know how to switch
> > templating languages beyond
On 2009-9-16 21:06, Iain Duncan wrote:
>
> Hi folks, I have not built enough pylons to be know how to switch
> templating languages beyond mako and genshi, but I'm interested in using
> Chameleon. Has anyone got any examples up of what one needs to do to use
> Chameleon?
In config/environment.py:
I am using pylons with SimpleTAL (ZPT implementation) templating and what I
did to wire it in to pylons was just follow the existing patterns
established by Mako and Genshi. Basically, in the *lib* package I created a
template.py module and a *render_simpletal* function within it which takes a
tem
Hi folks, I have not built enough pylons to be know how to switch
templating languages beyond mako and genshi, but I'm interested in using
Chameleon. Has anyone got any examples up of what one needs to do to use
Chameleon?
thanks
Iain
--~--~-~--~~~---~--~~
You re
24 matches
Mail list logo