Return-Path: Delivered-To: apmail-tiles-users-archive@locus.apache.org Received: (qmail 80009 invoked from network); 17 Sep 2007 22:01:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2007 22:01:39 -0000 Received: (qmail 5736 invoked by uid 500); 17 Sep 2007 22:01:31 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 5710 invoked by uid 500); 17 Sep 2007 22:01:31 -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 5701 invoked by uid 99); 17 Sep 2007 22:01:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 15:01:31 -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 stephen.more@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 22:01:29 +0000 Received: by nf-out-0910.google.com with SMTP id b11so1286258nfh for ; Mon, 17 Sep 2007 15:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=p8WAEYWCFMIQ2CN6q6g5tL7on+iMQDa0LspLFFDnXfE=; b=AKKwzIgKd5n4niRLPffzwkk3XtRndJY+SIZKF8Btz4ybRwQrZNHMoPMdvbOCJ2cWajgEfu8l3yKuMT+K8SmWIr3ai/E78hFJbdHaU5D9JCh0/afTK83AfcOWD1nNa4yyLjewcmolC8ycbJSaOmoxOYpqeToDd9i+Xw1GmJBsEYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Tdb5/G6CzekxCf841CvOcT/pRylrD/szmHg+Gf0fFOpUgGN6myIBLMhOjvLuKQTK35bsS3q3WcizrPj0AirN4Gh6+6dyojykR/UGE9eotHsvkQ8Xr1B+dneJcqVzv6N0H75HkVlc/wtLB3Rz9Y35CA2gDroyGtCBUTSvEvjSJWU= Received: by 10.86.60.7 with SMTP id i7mr2513030fga.1190066467833; Mon, 17 Sep 2007 15:01:07 -0700 (PDT) Received: by 10.86.28.7 with HTTP; Mon, 17 Sep 2007 15:01:07 -0700 (PDT) Message-ID: Date: Mon, 17 Sep 2007 18:01:07 -0400 From: "Stephen More" To: users@tiles.apache.org Subject: Re: MyFaces and Tiles Cc: rcclough@kamakuraco.com In-Reply-To: <42db7f0a0709171333q1f10d635r7668a38f59091a53@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42db7f0a0709050913l1f2cc03dn94d5580cc63e7e4f@mail.gmail.com> <42db7f0a0709060903t18d5522eq6afb692aefa03764@mail.gmail.com> <42db7f0a0709061132i2e89688dt33f3d9f79a6b0c5f@mail.gmail.com> <46E04BD5.4090302@kamakuraco.com> <42db7f0a0709061157x1521982r32785e5783047483@mail.gmail.com> <42db7f0a0709171333q1f10d635r7668a38f59091a53@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Perhaps it is premature to use Tiles2 with JSF in production. Tomahawk has built-in support to use tiles that is included with struts 1.x, this is path I plan to take. I created a feature request to add tiles2 support to tomahawk: https://issues.apache.org/jira/browse/TOMAHAWK-1115 Perhaps you could vote on it and help get this going ? -Steve More On 9/17/07, Chris Pratt wrote: > On 9/6/07, Chris Pratt wrote: > > On 9/6/07, Ray Clough wrote: > > > Are you remembering to set flush=false, and include everything in a > > > subview, which we do like this in our 'template.jspx" file: > > > > > > > > > > > > > > > > > > - Ray Clough > > > > > > > > > > > Yup, the layout.jsp is basically: > > > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> > > <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > > > > > > <tiles:insertAttribute name="title"/> > > > > > > > > > > > > > > > > And I'm not creating a sub-view since the included body is a simple

tag. > > > > But I'm not sure you've seen my latest post, It seemed to have > > something to do with the relative reference generated in the > > dispatchToTile method in the ViewHandler. Thanks for all your help. > > (*Chris*) > > > Well, it looks like going forward there are still problems to solve. > My tiles definition looks like this: > > > > > > > /layout/layout.jsp contains the main that encompasses all the > tiles inserts. > > /body/body.jsp contains an and a containing a few > controls. But when the form gets generated it has the wrong action! > The generated form comes out like: > >

action="/crash/layout/layout.jsf" > enctype="application/x-www-form-urlencoded"> > > Notice that the action is getting set to the name of the main layout > template, not back to something that JSF can properly route. > > Has anyone been able to get Tiles and JSF working together properly? > Any help would be massively appreciated. > (*Chris*) >