Return-Path: X-Original-To: apmail-deltaspike-users-archive@www.apache.org Delivered-To: apmail-deltaspike-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2397A17960 for ; Mon, 20 Apr 2015 16:40:45 +0000 (UTC) Received: (qmail 7523 invoked by uid 500); 20 Apr 2015 16:40:45 -0000 Delivered-To: apmail-deltaspike-users-archive@deltaspike.apache.org Received: (qmail 7484 invoked by uid 500); 20 Apr 2015 16:40:45 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 7473 invoked by uid 99); 20 Apr 2015 16:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2015 16:40:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for users@deltaspike.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2015 16:40:38 +0000 Received: from truman.senat.fr (truman.senat.fr [95.143.74.25]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id C624E2143A for ; Mon, 20 Apr 2015 16:40:17 +0000 (UTC) Received: by truman.senat.fr (8.14.5/8.14.5) with ESMTP id t3KGepJi039969 for ; Mon, 20 Apr 2015 18:40:51 +0200 Received: from klebar.senat.fr (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9E8221F2FAA for ; Mon, 20 Apr 2015 18:39:47 +0200 (CEST) Received: from buster.senat.fr (unknown [192.168.51.10]) by klebar.senat.fr (Postfix) with ESMTP id 942921F2E1C for ; Mon, 20 Apr 2015 18:39:47 +0200 (CEST) Received: from dsi-penet.senat.fr (authenticated bits=0) by buster.senat.fr (8.14.5/8.14.5) with ESMTP id t3KGfMgW040429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 20 Apr 2015 18:41:22 +0200 Message-ID: <55352BFB.7090900@senat.fr> Date: Mon, 20 Apr 2015 18:40:27 +0200 From: "l.penet@senat.fr" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: users@deltaspike.apache.org Subject: Re: Question on JSF Module, NavigationParameterContext and ViewNavigationHandler References: <55352AB3.9000005@senat.fr> In-Reply-To: <55352AB3.9000005@senat.fr> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSVA-8.5.0.1516-7.5.0.1018-21492.001 X-TMASE-Version: IMSVA-8.5.0.1516-7.5.1018-21492.001 X-TMASE-Result: 10--6.326300-5.000000 X-TMASE-MatchedRID: 7ySqCuYCpfgikhyG+/kfalt3XMydUaMXWtDhCHcVAp6/7bplhbPCQvFN etD9U62Q2p/aaR/nx04xeamNUxAG993sfL+Q8JJCc+QhWKJM04PAWgVvWUSbDxNF8c2SehSQuYR f157SSGMWYM0lK++l44vb9sqhrbwQGAdnzrnkM485f9Xw/xqKXXJnzNw42kCx2bNx1HEv7HAqtq 5d3cxkNXZAgnWWj4LZw26O2p79LtoyOIB5Sz9Kk/7SwbFm7k1RJcayz/1oA8DAvpLE+mvX8g== X-Virus-Checked: Checked by ClamAV on apache.org Sorry for the double post. I just figured that NavigationParameterContext is to be used to add parameter to the current page, not for the next request. So, in my case, if I change : @Folder(name="/") @View(navigation = View.NavigationMode.REDIRECT) public interface Pages extends ViewConfig { class Accueil implements Pages { } to @Folder(name="/") @View(navigation = View.NavigationMode.REDIRECT, viewParams = View.ViewParameterMode.INCLUDE) public interface Pages extends ViewConfig { class Accueil implements Pages { } it "works". What should I do however to add parameters to the "new" redirect request ? Thanks in advance, Ludovic | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |