freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cxc3214 <...@git.apache.org>
Subject [GitHub] incubator-freemarker pull request: How to get httprequest in Templ...
Date Thu, 17 Mar 2016 05:02:57 GMT
GitHub user cxc3214 opened a pull request:

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

    How to get httprequest in TemplateDirectiveModel

    my code :
    `
    public class ComboTag implements TemplateDirectiveModel{
    	@Override
    	public void execute(Environment env, Map params, TemplateModel[] loopVars, TemplateDirectiveBody
body) throws TemplateException, IOException {
                    //I want to  get the httprequest  here.
    		Writer out = env.getOut();
        }
    `

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

    $ git pull https://github.com/apache/incubator-freemarker 2.3

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

    https://github.com/apache/incubator-freemarker/pull/10.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 #10
    
----
commit 90069baa226ce1b5fcdc579771ec537cc1a2529d
Author: ddekany <ddekany@freemail.hu>
Date:   2013-05-22T10:38:30Z

    Till now 2.3 was the "main" branch, and 2.3-gae contained the hacks needed for GAE compliance.
Now 2.3-gae is the "main" branch (as post-2.3 there will no be GAE-incompatible variation),
and the differences between that and the 2.3 branch were minimized, and are the diff of this
commit.

commit 08d5b523aee59196459d260e91de3ddbbed247d0
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-27T17:02:32Z

    Merge branch '2.3-gae' into 2.3
    
    Conflicts manually resolved:
    	src/main/java/freemarker/core/FreeMarkerTree.java
    	src/main/java/freemarker/core/TemplateElement.java
    	src/main/java/freemarker/template/Template.java

commit fdda30c7a32897e2e768a5e16f868e96dfdab674
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-27T17:06:07Z

    Fixing artifact name.

commit ddff5e0a651a96e1537c4991476a37791ad6fc24
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-27T20:40:15Z

    One of the Java 5 method overrides wasn't commented out, and its return value conflicts
with Appendable. This could cause problems.

commit cde5eae6b7c701bf6604c59c2c8412a077cdf84a
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-28T10:25:02Z

    Merge branch '2.3-gae' into 2.3 (just to "document" that changes from the gae branch before
this need not be merged)

commit 1acc58d37e572cc9cf0897296860ae54ee4beccf
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-28T23:27:58Z

    Merge branch '2.3-gae' into 2.3

commit fe20560c24cc9ca8283064bce653f20f04a15c40
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-28T23:27:58Z

    Merge branch '2.3-gae' into 2.3

commit 9afdcd2edeed7c11e922789bc3d75ebd22c93d82
Author: ddekany <ddekany@freemail.hu>
Date:   2013-06-28T23:47:14Z

    Merge branch '2.3' of github.com:freemarker/freemarker into 2.3

commit 8d51e5503d9bc0e89a185861f6c5213a9eb4e4fa
Author: ddekany <ddekany@freemail.hu>
Date:   2013-08-30T22:41:47Z

    Merge branch '2.3-gae' into 2.3

commit e1c2a107f468af6841d474e3b5e581d5998388f4
Author: ddekany <ddekany@freemail.hu>
Date:   2013-09-03T12:47:14Z

    Merge branch '2.3-gae' into 2.3

commit 2c648e4ae1de7942626356468ac78a47d44a12c2
Author: ddekany <ddekany@freemail.hu>
Date:   2014-02-22T21:35:32Z

    Merge branch '2.3-gae' into 2.3

commit a882f8d0de1ac01f26726867eb772148f5e648ab
Author: ddekany <ddekany@freemail.hu>
Date:   2014-05-29T22:50:34Z

    Merge branch '2.3-gae' into 2.3

commit 0eb143d70627389a039bee600da1eef2524a5c34
Author: ddekany <ddekany@freemail.hu>
Date:   2014-06-14T15:24:47Z

    Merge branch '2.3-gae' into 2.3
    
    Conflicts:
    	src/main/java/freemarker/core/FreeMarkerTree.java

commit a8fd91565b87a6e938b50650b282e9d3816f2afc
Author: ddekany <ddekany@freemail.hu>
Date:   2014-06-14T20:46:19Z

    Merge branch '2.3-gae' into 2.3
    
    Conflicts:
    	src/main/java/freemarker/core/FreeMarkerTree.java

commit 83e586fd5f3010d993ebeb26f8514a18c0d5df4f
Author: ddekany <ddekany@freemail.hu>
Date:   2014-07-07T20:19:43Z

    Merge branch '2.3-gae' into 2.3

commit d40ddb682830df1d8cb0c680d8bd7fd3e1467a9b
Author: ddekany <ddekany@freemail.hu>
Date:   2014-07-20T16:46:19Z

    Merge branch '2.3-gae' into 2.3

commit 053c6b8852e22a76f10c0bb7ccaa9c2232377b23
Author: ddekany <ddekany@freemail.hu>
Date:   2014-08-31T19:35:57Z

    Merge branch '2.3-gae' into 2.3

commit bc80187633249cd2af48381ea07b1783184bd7ab
Author: ddekany <ddekany@freemail.hu>
Date:   2014-08-31T21:33:23Z

    Merge branch '2.3-gae' into 2.3
    
    Conflicts:
    	build.xml

commit b79833f697b8418307f9510496fe3a80d991e848
Author: ddekany <ddekany@freemail.hu>
Date:   2014-09-01T23:48:37Z

    Merge branch '2.3-gae' into 2.3

commit 602218a9a62478098c9b40a0b155e01dd5646376
Author: ddekany <ddekany@freemail.hu>
Date:   2014-09-02T23:52:25Z

    Merge branch '2.3-gae' into 2.3

commit def812d76045f86a4b483cfd5770bc2509293132
Author: ddekany <ddekany@freemail.hu>
Date:   2014-09-19T23:45:25Z

    Merge branch '2.3-gae' into 2.3

commit 116c0cce26cae1075b91de6f0ed1fb11c8b729f3
Author: ddekany <ddekany@freemail.hu>
Date:   2014-09-23T23:46:53Z

    Merge branch '2.3-gae' into 2.3

commit e3928c92cbad0df819e3cd0e8d8139a0a3b52a4e
Author: ddekany <ddekany@freemail.hu>
Date:   2014-09-28T22:31:01Z

    Merge branch '2.3-gae' into 2.3

commit 6fd8351a2314cb1529a3d00c34c68b08ec733389
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-04T23:44:08Z

    Merge branch '2.3-gae' into 2.3

commit 87c701e3d22e4abc12c6f1c891e639f30cebefe1
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-05T20:08:31Z

    Merge branch '2.3-gae' into 2.3

commit 8209c2c99202d0b95c2908c40eb2ed7f7384f9bd
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-10T21:46:05Z

    Merge branch '2.3-gae' into 2.3

commit 3e45864727874eec8d6c8cb9a8c79d0a248a9393
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-12T09:34:19Z

    Merge branch '2.3-gae' into 2.3

commit 833ed2f73d1654b2561aeadba03b4cc8947bef6b
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-12T09:55:33Z

    Deprecated TreeNode-related methods.

commit bfea6378f8d953f9ff53b87dc2475d029ecb6ccb
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-12T09:56:58Z

    Merge branch '2.3-gae' into 2.3

commit 92c927d244d2843a1671fff3fccc565e14967e32
Author: ddekany <ddekany@freemail.hu>
Date:   2014-10-12T17:56:48Z

    Merge branch '2.3-gae' into 2.3

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message