Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 27400 invoked from network); 29 Jul 2010 20:27:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jul 2010 20:27:38 -0000 Received: (qmail 57146 invoked by uid 500); 29 Jul 2010 20:27:38 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 57070 invoked by uid 500); 29 Jul 2010 20:27:37 -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 57060 invoked by uid 99); 29 Jul 2010 20:27:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 20:27:37 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 20:27:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OeZh9-0005ge-Kb for users@tiles.apache.org; Thu, 29 Jul 2010 13:27:11 -0700 Message-ID: <29300296.post@talk.nabble.com> Date: Thu, 29 Jul 2010 13:27:11 -0700 (PDT) From: heamaya To: users@tiles.apache.org Subject: Re: Struts 2 Tiles 2 Freemarker Integration In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: heamaya@gmail.com References: Thank you, the exception has disappeared! Problem solved. Now I get a message: HTTP Status 405 - HTTP method GET is not supported by this URL... But it seems this is a struts 2 problem and not a tiles 2 problem, is this correct= ? I would like to evacuate some doubts: When I write a definition in the xml file can it be a freemarker template? =09 =09=09 =09=09 =09=09 =09 In the freemarker template /ftl/administrator/layout.ftl defined in the definition above is this line necessary? <#assign tiles=3DJspTaglibs["http://tiles.apache.org/tags-tiles"]> Antonio Petrelli-3 wrote: >=20 > 2010/7/28 Hern=C3=A1n : >> =C2=A0 =C2=A0@Override >> =C2=A0 =C2=A0protected void registerAttributeRenderers( >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0BasicRendererFactory rendererFa= ctory, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TilesApplicationContext applica= tionContext, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TilesRequestContextFactory cont= extFactory, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TilesContainer container, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0AttributeEvaluatorFactory attri= buteEvaluatorFactory) >> =C2=A0 =C2=A0{ >> =C2=A0 =C2=A0 =C2=A0 =C2=A0FreeMarkerAttributeRenderer freemarkerRendere= r =3D new >> FreeMarkerAttributeRenderer(); >>... >=20 > You miss the call to super.registerAttributeRenderers. >=20 > Antonio >=20 >=20 --=20 View this message in context: http://old.nabble.com/Struts-2-Tiles-2-Freema= rker-Integration-tp29297517p29300296.html Sent from the tiles users mailing list archive at Nabble.com.