Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D71A11237 for ; Fri, 11 Jul 2014 20:05:05 +0000 (UTC) Received: (qmail 79523 invoked by uid 500); 11 Jul 2014 20:05:05 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 79486 invoked by uid 500); 11 Jul 2014 20:05:05 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 79472 invoked by uid 99); 11 Jul 2014 20:05:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 20:05:04 +0000 Date: Fri, 11 Jul 2014 20:05:04 +0000 (UTC) From: "Ken McWilliams (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4161) Incorporate tiles3 into conventions, tutorial (and add code to tiles3 plugin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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) > 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)