From dev-return-66290-apmail-struts-dev-archive=struts.apache.org@struts.apache.org Wed Nov 12 12:29:39 2014 Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04ADC91BD for ; Wed, 12 Nov 2014 12:29:39 +0000 (UTC) Received: (qmail 20583 invoked by uid 500); 12 Nov 2014 12:29:38 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 20539 invoked by uid 500); 12 Nov 2014 12:29:38 -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 20523 invoked by uid 99); 12 Nov 2014 12:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 12:29:38 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [195.245.231.143] (HELO mail1.bemta5.messagelabs.com) (195.245.231.143) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 12:29:33 +0000 Received: from [85.158.139.19] by server-7.bemta-5.messagelabs.com id FF/87-31453-2E153645; Wed, 12 Nov 2014 12:26:10 +0000 X-Env-Sender: volker.krebs@abas.de X-Msg-Ref: server-16.tower-178.messagelabs.com!1415795157!31919354!1 X-Originating-IP: [212.202.226.202] X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31341 invoked from network); 12 Nov 2014 12:25:57 -0000 Received: from gate.abas.de (HELO gate.abas.de) (212.202.226.202) by server-16.tower-178.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 12 Nov 2014 12:25:57 -0000 Received: from gate.abas.de (localhost [127.0.0.1]) by gate.abas.de (8.14.3/8.14.3) with ESMTP id sACCPuKg024012 for ; Wed, 12 Nov 2014 13:25:57 +0100 (CET) Received: (from localhost) by gate.abas.de (MSCAN) id 3/gate.abas.de/smtp-gw/mscan; Wed Nov 12 13:25:56 2014 Message-ID: <546351CD.4060201@abas.de> Date: Wed, 12 Nov 2014 13:25:49 +0100 From: Volker Krebs Organization: abas Software AG User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Struts Developers List Subject: Re: Struts 2.3.18 ready for test References: <545B9BAF.7030703@abas.de> <545CE4E2.40704@abas.de> <545CE8CB.5000108@abas.de> <546094DB.20608@abas.de> <5460DA26.30403@abas.de> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-ABAS-MAIL-MARK: added by mailmarker.abas.de X-Virus-Checked: Checked by ClamAV on apache.org Am 12.11.2014 um 10:07 schrieb Lukasz Lenart: > 2014-11-10 16:30 GMT+01:00 Volker Krebs : >> https://github.com/VolkerK/struts-examples/ >> branch develop > > Thanks a lot for the example, it was very helpful! Btw. you can > prepare a PR to push it to the struts-example project :-) > > One remark, you cannot use such configuration: > > > someParameter > > > > as in such case params interceptor will run two times - first as a > part of defaultStack and second time as a part of basicStack, you must > use it that way > Actually this is what I wanted to do. A couple of years ago I read somewhere about the params - prepare - params approach. First set some paras that are required in the prepare method, and then after prepare is finished set the some more params (and don't overwrite the ones from the first params call). Ok that's probably too much of the domain (back-end) logic pressed into the struts framework (workflow), but thats how I did it years ago when I was naive and unexperienced :) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org