On Oct 16, 2006, at 10:28 AM, Christopher Lenz wrote:

> It's currently ignored. I suspect it doesn't fit well with how
> templating is done in Genshi, but then again, I'm not 100% sure I
> understand what the fragment parameter is all about.
>
> If you or someone else can explain the typical use case, maybe I can
> say how you'd do it with Genshi.

For Kid, it disables the layout extension so that the template isn't  
rendered within the context of the rest of the layout. For Genshi,  
this means that rendering as a fragment would make it ignore HTML  
that is added to the template as a result of XInclude, however if  
functions are in other templates pulled in, they still need to be  
available to render that template.

As Bruno mentioned, its mainly for AJAX or places where you need just  
a part of the overall template.

Cheers,
Ben

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to