Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 82095 invoked from network); 19 Aug 2005 08:59:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2005 08:59:21 -0000 Received: (qmail 62926 invoked by uid 500); 19 Aug 2005 08:59:20 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 62912 invoked by uid 99); 19 Aug 2005 08:59:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2005 01:59:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [70.84.196.250] (HELO matrix2.webhostingspace.net) (70.84.196.250) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2005 01:59:38 -0700 Received: from [203.189.135.148] (helo=[192.168.1.2]) by matrix2.webhostingspace.net with esmtp (Exim 4.52) id 1E62ia-0003bF-GD for users-fr@cocoon.apache.org; Fri, 19 Aug 2005 09:59:18 +0100 Message-ID: <43059F47.9090907@notremanou.net> Date: Fri, 19 Aug 2005 15:58:47 +0700 From: Marc Salvetti User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: users-fr@cocoon.apache.org Subject: Re: Comment acceder au contexte authentication depuis le flowscript References: <43047B52.9070207@notremanou.net> <43047E70.8010508@apache.org> <43047FA4.2040304@notremanou.net> <430486A0.70208@apache.org> <43054D11.7080503@notremanou.net> <43059162.1010709@apache.org> <43059458.6000503@notremanou.net> In-Reply-To: <43059458.6000503@notremanou.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - matrix2.webhostingspace.net X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - notremanou.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ca y est, j'ai la solution ! En fait, le pb etait au niveau du matcher de la continuation : j'ai remplac� par et ca marche tr�s bien :) Merci beaucoup pour ton aide pr�cieuse ! Marc Marc Salvetti a �crit : > >> L� o� je ne pige pas la cause de l'erreur, c'est que >> checkAuthentication() appelle setState() lorsque l'utilisateur a �t� >> reconnu comme d�j� authentifi� (credentials stock�s en attribut de >> session). Et donc en principe, si on est pass� dans > type="auth-protect"> l'�tat devrait �tre initialis� et on ne devrait >> pas avoir cette NPE. >> >> Est-tu bien s�r que ta requ�te passe par l'action auth-protect? >> > Comment en etre sur ? > > voici globalement ce que je fait : > matcher sitemap d'origine : > > > > > > > > > > > > > > > > La resource view-cart : > > > > value="forms/cart-definition.xml"/> > value="forms/cart-binding.xml"/> > > > > > > value="view-cart-{suffix}.html"/> > > > > Donc appel a handleForm, qui appelle ma fonction flowscript > form_cart2xml (ds cette fonction, id-user, id-org et role st > accessibles sans probl�me) > > La fonction form_cart2xml appelle a son tour la fct saveCartDoc. > > Peut etre que le pb est du au passage par handleForm ? > > Marc > >> Et est-ce vraiment li� au release? >> >> Sylvain >> > > --------------------------------------------------------------------- > Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ > Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org > Autres commandes : mailto:users-fr-help@cocoon.apache.org > > > > --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org