Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 34182 invoked from network); 29 Mar 2011 14:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2011 14:10:21 -0000 Received: (qmail 98745 invoked by uid 500); 29 Mar 2011 14:10:19 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 98713 invoked by uid 500); 29 Mar 2011 14:10:19 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 98705 invoked by uid 99); 29 Mar 2011 14:10:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 14:10:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qy0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 14:10:12 +0000 Received: by qyk2 with SMTP id 2so2390079qyk.14 for ; Tue, 29 Mar 2011 07:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=f0oxJyWZbBD9lhIDyZmcZducnzLiS9NxAbQBSV0RPZg=; b=nXTYSOSeUj37AMvhmpk+bLe+3hTHfT4yB2qMzBA8ezrz3Ttu16Q04WFMfFcMxrvbPK R3rSNaPiAjGL9SnCv21Kqgw8aSo7pA81/Od43Dpzw7F0Utm26w/GU79fn7gjowAM+Q9a 5W9iz5MLyO5a9WEBuFJGJko+fY1XmiyY2IwMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=e+uS9nyvIIU0dWBZd/ZyOEkfa9rvKNHBgkynGILfthc0nqE+cQCRuRn/1xLjq0xRyz riIQO96IpbvnANgO56Z6ruSLaCiJkBkfLUMnJShhIajGZibfbCylqCJLrNILsiGrR4Hs BXWN31US8iHnq5IrstEJXoeeJx6/ReK1v7Yj8= MIME-Version: 1.0 Received: by 10.229.141.11 with SMTP id k11mr4322449qcu.195.1301407791467; Tue, 29 Mar 2011 07:09:51 -0700 (PDT) Received: by 10.229.219.197 with HTTP; Tue, 29 Mar 2011 07:09:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Mar 2011 16:09:50 +0200 Message-ID: Subject: Re: Strus2-tiles-plugin-2.2.1 From: Antonio Petrelli To: Struts Users Mailing List Cc: Mohamed Rabie Hayoun Ben Maimoun Content-Type: multipart/alternative; boundary=90e6ba10aa751e4d21049f9f9d71 --90e6ba10aa751e4d21049f9f9d71 Content-Type: text/plain; charset=ISO-8859-1 2011/3/29 Mohamed Rabie Hayoun Ben Maimoun > Hi! > I'm devoloping an aplication with the next version: > > 1. tiles 2.2.2 > 2. struts 2.2.1 > 3. struts2-tiles-plugin-2.2.1 > > I integrate all the framework and they working fine, there is no error, but > my problem is tile files configuration's size. It start to became a little > bit hard to maintain and i want to split it in various configuration > files. > I found a way with " > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG" as a init > parameter in web.xml but it's deprecated Yes it's deprecated, but it works (it should, at least). AFAIK Struts 2/Tiles plugin is not maintained much, so using a deprecated feature is not such a problem. > also i saw that you can extend > some abstract Classes from tiles API to develop you own configuration > loader > but that it's only with tiles no in combination with struts2-plugin. > Another reason that confirms that the plugin is not maintained. Spring MVC/Tiles integration is better. So my suggestion is to use the configuration via DEFINITIONS_CONFIG parameter. Antonio --90e6ba10aa751e4d21049f9f9d71--