Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 80789 invoked from network); 17 Dec 2009 19:47:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 19:47:03 -0000 Received: (qmail 46121 invoked by uid 500); 17 Dec 2009 19:47:03 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 46011 invoked by uid 500); 17 Dec 2009 19:47:02 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 46001 invoked by uid 99); 17 Dec 2009 19:47:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 19:47:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roger.varley@googlemail.com designates 209.85.219.210 as permitted sender) Received: from [209.85.219.210] (HELO mail-ew0-f210.google.com) (209.85.219.210) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 19:46:52 +0000 Received: by ewy2 with SMTP id 2so2652870ewy.27 for ; Thu, 17 Dec 2009 11:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=JyJGK1rvcz2E9mMD7uqqwPE5M0NpUYWMnHJ3KQ0Zx4Q=; b=HKq63l3U5pSCja6Z0vZ6RAYnNZZrVWio4gpGqRmpXyZuxJw//hNE6R/8F1iXekR7t9 /xorxnoUYYSsDt+4ISjmpAcJlOQ4TdcGvttUzRCNXkqoTXqZkJW8zuH2o1/g3tDbpAnI ALmRxiNe6YYrT7YLILvKg4DltxT/4xLSbfgEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=DmSGPp+u6XtR+jbug+/B0+x8mJohSn64mr7/bahBl08QEFeSauQAPIcSN/Sk8bjBlT W0A7BpPBcMhCq5eueZvy1Pp/6zJc3mEe1wUcPpCLO41CnQKv4NZGldSoRUirOB/GPVjn 2qIGhYL9o9sIek3iTmpzoOHNOn3XNZmcnJ2wc= Received: by 10.213.99.212 with SMTP id v20mr9041596ebn.7.1261079191066; Thu, 17 Dec 2009 11:46:31 -0800 (PST) Received: from babylon2.localnet (83-4-140.netrunf.cytanet.com.cy [83.168.4.140]) by mx.google.com with ESMTPS id 14sm1479302ewy.3.2009.12.17.11.46.28 (version=SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 11:46:29 -0800 (PST) From: Roger To: dev@struts.apache.org Subject: Re: Conversations (continued from "struts 2.2 and guice") Date: Thu, 17 Dec 2009 23:00:35 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.27.37-0.1-pae; KDE/4.3.1; i686; ; ) References: <4B22C6A9.5010109@Newfield.org> In-Reply-To: <4B22C6A9.5010109@Newfield.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912172300.35382.roger.varley@googlemail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Saturday 12 December 2009 00:24:41 Dale Newfield wrote: > Gabriel Belingueres wrote: > > built-in the web framework > > In order to do this we'd need to add in some information in the form and > in every link leading from one page of the form to another so that it's > constantly submitted to the server to keep the user associated with the > right conversation. > > The former could be done by adding a hidden element in the s:form > freemarker templates, and adding an interceptor that notices that value > and does the right thing (sortof like the checkbox interceptor, but > instead of modifying the request parameters it has to swap in the target > object -- I guess this only makes sense when used in combination with > the modelDriven framework (which I've always avoided)). > > The latter is non-trivial (well, the same interceptor would work). It > would mean context-sensitive changes to the output of the URL tag. It > wouldn't be too tough for the url tag to look and see if it's inside a > s:form tag, but what about other links on the page outside the bounds of > the form? What about ones generated before the form open tag? > Dumb question, but why not have a seperate set of "wizard" tags and avoid having to guess the context? Or maybe even just an additional "wizard='true' attribute? Regards --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org