Hello, I suppose the properties are configured in something like: <component-instance class="org.apache.cocoon.components.modules.input.PropertiesFileModule" logger="core.modules.input" name="cocoon-properties"> <file src="resource://org/apache/cocoon/cocoon.properties"/> </component-instance>
You can access this in flow by importClass(Packages.org.apache.cocoon.components.modules.input.InputModule); var properties = cocoon.getComponent(InputModule.ROLE + "Selector").select("cocoon-properties"); Think you can find it out yourself for the rest, Regards Ard > > Hello, > I encounter a problem with the flowscript. > > Is it possible to recover the variables defined inside a > "properties" file > in repertory "WEB-INF" in the flowscript? > > I think that it is possible by doing something like : > var myProperty = cocoon.getProperty ("propertyName") > or > var myProperty = cocoon.parameters ["propertyName"] > > But I do not find the good method. > If somebody knows the solution... > > Cordially, > Flotté Julien. > > _________________________________________________________________ > Windows Live Messenger sur i-mode(tm) : dialoguez avec vos amis > depuis votre > mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]