Thanks for fast the reply ! I should have looked there in the first place. I just noted that the method documentation is not in sync, so I fixed it (pull request for wycats).
My templates contain an "include" tag (<r:include template='Node'>...</r:include>) that needs to grab more template text so I need to have access to the controller (or another context saavy thing). How should I implement this ? I saw that the concat_* thing gets a binding, but I don't understand very well what it's role is. Gaspard On Sat, Jan 17, 2009 at 10:22 PM, Michael Klishin <[email protected]> wrote: > > > On 18.01.2009, at 0:05, Gaspard Bucher wrote: > >> I am looking for some documentation on how to create a new template >> handler for merb. >> >> Can anyone point me to some example/tutorial/documentation ? > > > Check out merb-haml, it is a very small plugin. Merb needs your > template handler > to implement compile_template class method, and that's the only > requirement. > > MK > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
