freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: Proposal for FREEMARKER-84: More flexible handlig of missing templates
Date Sat, 17 Feb 2018 08:34:38 GMT
For a point of comparison, the python jinja2 template engine (widely used)
has an "include" directive that has an attribute named "ignore missing"
[1]. I also remember seeing similar behavior in other engines.

So I guess perhaps from a usability point of view this seems to be a
desired feature by users. However, I don't know what the impact in terms of
complexity would reflect in the code base.

http://jinja.pocoo.org/docs/2.10/templates/#list-of-global-functions

On Feb 17, 2018 11:18 AM, "Jacopo Cappellato" <jacopo.cappellato@gmail.com>
wrote:

> On Fri, Feb 16, 2018 at 8:04 AM, Daniel Dekany <ddekany@apache.org> wrote:
>
> > Some more opinions guys? Especially as we got one opinion against the
> > feature.
> >
>
> Just to clarify my opinion: I am not against this feature; I simply don't
> consider it a must since there are some workaround to get a similar
> behavior. But if it will be implemented I will be happy too.
>
> Jacopo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message