Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 35567 invoked from network); 11 Jun 2008 09:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 09:16:30 -0000 Received: (qmail 56120 invoked by uid 500); 11 Jun 2008 09:16:26 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 56087 invoked by uid 500); 11 Jun 2008 09:16:26 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Delivered-To: moderator for users@cocoon.apache.org Received: (qmail 5833 invoked by uid 99); 11 Jun 2008 08:32:57 -0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carlos.martinez@uib.es designates 130.206.33.5 as permitted sender) Date: Wed, 11 Jun 2008 10:30:55 +0200 From: =?UTF-8?B?Q2FybG9zIE1hcnTDrW5leg==?= Subject: Re: Use cocoon properties in flow In-reply-to: To: users@cocoon.apache.org Message-id: <484F8D3F.7040805@uib.es> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8BIT User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) References: X-Virus-Checked: Checked by ClamAV on apache.org Hello, Thanks for the response. Now i'm using this solucion but i want to know if it's possible to get directly the variables in the flowscript. Regards. DAVIGNON Andre - CETE NP/DIODé/PANDOC escribió: > Hi, > > If you can access it in a sitemap, you could try this to access it in > the flow : > > In the sitemap : > > > > > > Then in the flow : > > var myVariable = cocoon.parameters.someName; > > Regards. > > Andr� > > > Le 10/06/2008 07:51, > Carlos Mart�nez (par Internet, d�p�t > users-return-95314-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org) > a �crit : > > Hello, > > > > I have created a properties file with some interesting variables in the > > folder "WEB-INF/properties". I access this variables in the sitemap easy > > using this notation "${my-variable}". But the problem is how to access > > the same varible in the flowscript code. > > > > Thanks. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > > -- ======================================================================== Carlos Martínez Peña Centre de Tecnologies de la Informació Universitat de les Illes Balears Cra. Valldemossa km 7.5 E-07122 Palma Baleares Spain tel.: +34 971 17 20 32 e-mail: carlos.martinez@uib.es ======================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org