Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 75590 invoked from network); 4 Jul 2007 10:44:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2007 10:44:20 -0000 Received: (qmail 40784 invoked by uid 500); 4 Jul 2007 10:44:18 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 40748 invoked by uid 500); 4 Jul 2007 10:44:18 -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 Received: (qmail 40737 invoked by uid 99); 4 Jul 2007 10:44:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 03:44:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [213.133.33.40] (HELO smtp.is.nl) (213.133.33.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 03:44:15 -0700 Received: from [213.133.51.241] (HELO hai01.hippo.local) by smtp.is.nl (CommuniGate Pro SMTP 5.0.10) with ESMTP id 18759481 for users@cocoon.apache.org; Wed, 04 Jul 2007 12:43:53 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Getting global variables in the flowscript Date: Wed, 4 Jul 2007 12:43:53 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting global variables in the flowscript Thread-Index: Ace+Jn7759g9PH/7QIuOOQOwcmLYLQAAXQyA From: "Ard Schrijvers" To: X-Virus-Checked: Checked by ClamAV on apache.org Hello, I suppose the properties are configured in something like: You can access this in flow by=20 importClass(Packages.org.apache.cocoon.components.modules.input.InputModu= le); var properties =3D cocoon.getComponent(InputModule.ROLE + = "Selector").select("cocoon-properties"); Think you can find it out yourself for the rest, Regards Ard >=20 > Hello, > I encounter a problem with the flowscript. >=20 > Is it possible to recover the variables defined inside a=20 > "properties" file=20 > in repertory "WEB-INF" in the flowscript? >=20 > I think that it is possible by doing something like : > var myProperty =3D cocoon.getProperty ("propertyName") > or > var myProperty =3D cocoon.parameters ["propertyName"] >=20 > But I do not find the good method. > If somebody knows the solution... >=20 > Cordially, > Flott=E9 Julien. >=20 > _________________________________________________________________ > Windows Live Messenger sur i-mode(tm) : dialoguez avec vos amis=20 > depuis votre=20 > mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/ >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org