freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FREEMARKER-55) FM3 freemarker-spring module, Web MVC support
Date Sun, 06 Aug 2017 05:22:02 GMT

    [ https://issues.apache.org/jira/browse/FREEMARKER-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115649#comment-16115649
] 

ASF GitHub Bot commented on FREEMARKER-55:
------------------------------------------

GitHub user woonsan opened a pull request:

    https://github.com/apache/incubator-freemarker/pull/31

    FREEMARKER-55: spring.ftl marco lib support

    - Support <#import "/spring.ftl" as spring> like Spring Framework does.
    - By default, the system lib from /spring.ftl is read from the specific classpath, not
from app's template path.
       The system template aliases map can be customized through SpringResourceTemplateLoader.systemTemplateAliases
property.
    - The same macros and functions are defined in /spring.ftl as Spring Framework's, with
syntax changes to comply with FM3.
    - Note: As the system template lib support is handled by SpringTemplateLoader in this
PR, it means developers should always use SpringTemplateLoader directly or indirectly in order
to use the system macro library. Please review this decision.
    - TODOs: review/test/refine each macro and functions in spring.ftl.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/woonsan/incubator-freemarker feature/FREEMARKER-55

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-freemarker/pull/31.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #31
    
----
commit 8e0f33c419d982279d7fb22a9dfdc66f47abaf2c
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-07-14T15:27:17Z

    FREEMARKER-55: Renaming Freemarker to FreeMarker

commit ec8d687d4ce2c0e1bb3e3ca073b139eacc198527
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-07-14T15:53:51Z

    Merge branch '3' into feature/FREEMARKER-55

commit e7cb6f7cfc241689c85527971bf6e1ea7ced9127
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-07-14T17:57:29Z

    Merge branch '3' into feature/FREEMARKER-55

commit c6eb09de91e57035c1e0e3c4d3490b3b96622bab
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-07-16T18:24:55Z

    Merge branch '3' into feature/FREEMARKER-55

commit 870209fa8e0acd0bb3186053dfd549b5c758e37d
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-07-18T00:38:03Z

    Merge branch '3' into feature/FREEMARKER-55

commit 4481406a2f4eeb30d6d044a4ac158efab7ba7a7b
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-08-06T01:28:54Z

    Merge branch '3' into feature/FREEMARKER-55

commit fcd9e672ec515e3042bc5efd229b7d12c23e7d88
Author: Woonsan Ko <woonsan@apache.org>
Date:   2017-08-06T05:09:12Z

    FREEMARKER-55: system template lib for spring app: spring.ftl.

----


> FM3 freemarker-spring module, Web MVC support
> ---------------------------------------------
>
>                 Key: FREEMARKER-55
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-55
>             Project: Apache Freemarker
>          Issue Type: Task
>    Affects Versions: 3.0.0
>            Reporter: Daniel Dekany
>
> Add Spring "Web MVC framework" functionality to freemarker-spring.
> This can be complex task (and the issue possibly has to be subdivided), as it involves
things like:
> * Some aspects of the FreeMarker 2 integration (developed by the Spring developers) are
quite confusing ({{FreemarerConfigurer}}, etc.), and we are looking into if it needs to be
like that.
> * See if we can support {{@EnableWebMvc}} (note that FreeMarker 2 support is hard coded
into {{ViewResolverRegistry}}, which we can't modify)
> * Creating custom directives/methods to expose Spring features like the Spring JSP Tag
Library does (but in a way that firs FreeMarker better)
> * Expose JSP custom tag support from the {{freemarker-servlet}} module.
> Depends on: FREEMARKER-54



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message