It comes from the olden days when we were doing a SaaS solution as we wanted to reduce what was possible from templates.

It makes less sense now, although can be useful in the cases when you need some logic or formatting, or the values aren't directly available from the models.

On 16 November 2015 at 15:21, Bill Burke <bburke@redhat.com> wrote:
Why do we use Beans in Freemarker templates?  Most of the information
can be obtained from Model objects.  Any reason Model objects can't be
accessed directly from .ftl files?

--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev