You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "David H. DeWolf (JIRA)" <ji...@apache.org> on 2006/09/20 19:54:31 UTC

[jira] Created: (WW-1450) S2 Tiles/Freemarker Integration Support

S2 Tiles/Freemarker Integration Support
---------------------------------------

                 Key: WW-1450
                 URL: http://issues.apache.org/struts/browse/WW-1450
             Project: Struts 2
          Issue Type: New Feature
          Components: Views
    Affects Versions: 2.0.0
         Environment: All
            Reporter: David H. DeWolf


it is currently not feasible to utilize Tiles for decoration and Freemarker for Templating/Markup generation.  The reason is because by using the tiles result type the freemarker result and manager are unable to participate in the invocation of the freemarker template.

The attached patch provides a  tiles listener which will register a customized TilesUtilImpl so that it can intercept doInclude requests which are intended for freemarker in order to setup the environment and provide the StrutsModels.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (WW-1450) S2 Tiles/Freemarker Integration Support

Posted by "David H. DeWolf (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1450?page=all ]

David H. DeWolf updated WW-1450:
--------------------------------

    Attachment: struts-tiles-freemarker-integration.patch

patch attached.

> S2 Tiles/Freemarker Integration Support
> ---------------------------------------
>
>                 Key: WW-1450
>                 URL: http://issues.apache.org/struts/browse/WW-1450
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Views
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: David H. DeWolf
>         Attachments: struts-tiles-freemarker-integration.patch
>
>
> it is currently not feasible to utilize Tiles for decoration and Freemarker for Templating/Markup generation.  The reason is because by using the tiles result type the freemarker result and manager are unable to participate in the invocation of the freemarker template.
> The attached patch provides a  tiles listener which will register a customized TilesUtilImpl so that it can intercept doInclude requests which are intended for freemarker in order to setup the environment and provide the StrutsModels.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (WW-1450) S2 Tiles/Freemarker Integration Support

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1450?page=all ]

Don Brown resolved WW-1450.
---------------------------

    Fix Version/s: 2.0.1
       Resolution: Fixed
         Assignee: Don Brown

Fixed, thanks a ton for the patch!

> S2 Tiles/Freemarker Integration Support
> ---------------------------------------
>
>                 Key: WW-1450
>                 URL: http://issues.apache.org/struts/browse/WW-1450
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Views
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: David H. DeWolf
>         Assigned To: Don Brown
>             Fix For: 2.0.1
>
>         Attachments: struts-tiles-freemarker-integration.patch
>
>
> it is currently not feasible to utilize Tiles for decoration and Freemarker for Templating/Markup generation.  The reason is because by using the tiles result type the freemarker result and manager are unable to participate in the invocation of the freemarker template.
> The attached patch provides a  tiles listener which will register a customized TilesUtilImpl so that it can intercept doInclude requests which are intended for freemarker in order to setup the environment and provide the StrutsModels.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira