Return-Path: Delivered-To: apmail-tiles-users-archive@locus.apache.org Received: (qmail 74458 invoked from network); 28 Oct 2008 16:28:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 16:28:01 -0000 Received: (qmail 10567 invoked by uid 500); 28 Oct 2008 16:28:05 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 10553 invoked by uid 500); 28 Oct 2008 16:28:05 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Received: (qmail 10542 invoked by uid 99); 28 Oct 2008 16:28:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 09:28:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.134.186 as permitted sender) Received: from [209.85.134.186] (HELO mu-out-0910.google.com) (209.85.134.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 16:26:53 +0000 Received: by mu-out-0910.google.com with SMTP id w8so2726002mue.8 for ; Tue, 28 Oct 2008 09:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1MVtDjV89k3c//K1rLG3gmnuIK+nvdc0JnphWrIsdjk=; b=G6vZeSpuPUIa8Q32/5l2Jay0seJUvVQcN773Ra8DeiUFve4s5L411afYyLj7IT+UCe 1uiqlTvj4AuOdYhzXN8tpxLhi7zoKEDbw/kApD+P8x+iCe42dFJVgvft/AgzUuwESRUL SSMWY/HWsZVbSwVHiaz4yfJPQVWereA/WtHRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZtlHBpSJYWcnPo0EkkJigXooo1jZG/tQREuX+XOcAb3AEdP4uKs9fH840rqC2fAufR JpgCkcJBXYw1GUcLa532lZm6YeULymZKBxT4UaYYBw9SYU2RFulGj/1mbOIbcjjPlaNE u8+ZYhvPeeq5dqr4+5JQ9uJX6NWYwFidj0NWQ= Received: by 10.187.175.6 with SMTP id c6mr704794fap.88.1225211251975; Tue, 28 Oct 2008 09:27:31 -0700 (PDT) Received: by 10.187.211.4 with HTTP; Tue, 28 Oct 2008 09:27:31 -0700 (PDT) Message-ID: Date: Tue, 28 Oct 2008 17:27:31 +0100 From: Antonio To: users@tiles.apache.org Subject: Re: neccessary stepts to use Struts 2+FreeMarker+Tiles2.1 In-Reply-To: <20210551.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20209482.post@talk.nabble.com> <20210551.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/10/28 Stephan Schr=F6der : >> put the URI of the taglib: <#assign >> tiles=3DJspTaglibs["http://tiles.apache.org/tags-tiles"]> > > done, this will only work as long as i got an internet connection, won't = it? No, it works as long as you put tiles-jsp-xxx.jar under WEB-INF/lib, or if you define it in web.xml. > now i get: > "WARNING: Unable to find the definition '/public/files_show.ftl' > or > "org.apache.tiles.definition.NoSuchDefinitionException: > /public/files_show.ftl > > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java= :612)" > > /public/files_show.ftl is present under /WebContent. Mmm... This problem is not due to the presence or not of that file, but it seems that Tiles cannot find the *definition* called "/public/files_show.ftl". This is strange since you put the "*" wildcard. Probably it is a Tiles bug. Can you open a JIRA issue and, if possible, attach a test case (i.e. a WAR file with sources). https://issues.apache.org/struts/browse/TILES Thanks Antonio