On Sep 26, 10:14 am, Wichert Akkerman <[email protected]> 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 fixing up the
> >> chameleon.zpt version.
>
> > Thanks, Chameleon genshi is working with your correction. Is the plan
> > for chameleon to eventually be able to support both genshi and tal
> > attributes at the same time or will it always be an either or?
>
> My correction was in chameleon.zpt. chameleon.genshi has always had a
> working template loader.
>
> As far as I know there are no plans to support both Genshi and Page
> Template syntax in the same file, and I have to admit that I personally
> do not see any real benefits to doing that. chameleon.zpt does go a
> little bit beyond the official zpt standards though: it also supports
> ${...} expansions, similar to Genshi templates.
>
> Wichert.
>
> --
> Wichert Akkerman <[email protected]>   It is simple to make 
> things.http://www.wiggy.net/                 It is hard to make things simple.


I was just playing with this and it seems that the genshi syntax is
somewhat limited. Is that correct?

For example, including a site page just like this example from gensh
blows up.
http://genshi.edgewall.org/wiki/GenshiTutorial#AddingaLayoutTemplate


And even though I know it's not good practice to do the whole <?
python ?> thing, chameleon seems to blow up on this as well.

I don't know if I would call these bugs necessarily, but it would be
nice if there was something explicit stating that the syntax isn't
fully supported. Other than that, when it works, man is it fast.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to