struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken McWilliams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4161) Incorporate tiles3 into conventions, tutorial (and add code to tiles3 plugin)
Date Fri, 11 Jul 2014 20:05:04 GMT

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

Ken McWilliams commented on WW-4161:
------------------------------------

In general what I said is correct the key thing is using:
org.apache.tiles.extras.complete.CompleteAutoloadTilesListener.

On my TODO list, packaging you up a working struts2-tiles3 example that
meets my basic template needs might help (sometime before next weekend). It
will include demonstration of matching templates based on namespace and
action, using the action name as the title of the page, and using tiles to
refactor header data including CSS and JS by only specifying new CSS and JS
requirements particular to the actions needs.

One major flaw to address is that everything works on Glassfish3 (and
tomcat) but does not work on Glassfish4 as of yet (don't know why).





On Fri, Jul 11, 2014 at 1:04 PM, Lukasz Lenart (JIRA) <jira@apache.org>



> Incorporate tiles3 into conventions, tutorial (and add code to tiles3 plugin)
> -----------------------------------------------------------------------------
>
>                 Key: WW-4161
>                 URL: https://issues.apache.org/jira/browse/WW-4161
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tiles
>            Reporter: Ken McWilliams
>             Fix For: 2.3.18
>
>         Attachments: struts2-tiles-annotations.patch, struts2-tiles-annotations.patch
>
>
> There is a description found here: http://stackoverflow.com/questions/11161194/freemarker-and-struts2-tags
> It would be good if the struts2 website could turn the following into a tutorial, possibly
some of the code could be included into the tile3 plugin but I'm not convinced at this time
that should be done. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message