On 10.Jan.2003 -- 08:42 AM, Geoff Howard wrote: > I have a global input module defined in map:component-configurations (2.1): > > <map:pipelines> > <map:component-configurations> > <global-variables> > <datasource-name>a-string</datasource-name> > </global-variables> > ... > > Currently, I'm using values defined this way later in the sitemap with > {global:XXX} and in xsp's with the input logicsheet (works great). > > I would like to use it to define the datasource defined in various places in > the map:components section -- for instance, I have actions which are > declared currently: > > <map:action src="com.xyz.Class" name="hint-name"> > <data-source>a-string</data-source> > </map:action> > > I am unable to find in the docs, wiki or archives or samples answers to the > following two questions: > > 1) Is it currently possible to use input modules to define the value for > data-source in the action definition example above, where a string value is > returned? (the example in the concepts doc doesn't seem to apply here) What > would the syntax be? Something like <data-source><input-module name="global" > ???="data-source" /></data-source> or something else entirely?
No. They can be used wherever 'normal' sitemap variables can be used. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>