Michael,
this is definetely very interesting! Do you know from your experience
how does it compare with FreeMarker in terms of rendering performance?
I was also curious to know whether xtc supports the dynamic 'weaving'
of templates. I basically have a hierarchy of pojo's and each pojo
class has a template that basically does not know about the other pojo
templates. As the pojo hierarchy is traversed the different and
independent templates are dynamically weaved together. FreeMarker
supports something like this with:
<#macro book>
Book element with title ${.node.title}
<#recurse>
End book
</#macro>
Here the traversal of the containment hierarchy is abstracted away
from the template.
thanks,
-- yuri
On 10/4/07, Michael Terrington <[EMAIL PROTECTED]> wrote:
> Chuck Hinson wrote:
> > Interesting. What were the biggest reasons for removing JSF
> > references/dependencies?
>
> Several really:
>
> * JSF is a full MVC framework and I just wanted a templating engine to
> create XML views. I really liked Facelet's syntax vs. Velocity and
> Freemarker.
>
> * I prefer to create proper XHTML templates that I can preview in a
> browser, not replace every HTML tag with some JSF equivalent. (There's
> some caveats to that, since there's still a lot of taglib usage and
> often you want to just right one tag and have it expand to a heap of HTML.)
>
> * The JSF component model is stateful. I wouldn't be using Restlets
> if I didn't already think that was a bad thing :)
>
> Regards,
> Michael.
>