[keycloak-dev] Why do we use Beans in Freemarker templates?
Stian Thorgersen
sthorger at redhat.com
Mon Nov 16 09:40:06 EST 2015
+1 It's a mess and very outdated
On 16 November 2015 at 15:29, Bill Burke <bburke at redhat.com> wrote:
> Needs to be cleaned up eventually. Just a pain for documentation since
> the Auth SPI exposes it.
>
> On 11/16/2015 9:27 AM, Stian Thorgersen wrote:
>
>> 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 at redhat.com
>> <mailto:bburke at 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 at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>>
>>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20151116/dc56ffd9/attachment.html
More information about the keycloak-dev
mailing list