cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katharina Weimer" <katharina_Wei...@gmx.de>
Subject Trigger Event from Woody on sitemap
Date Tue, 25 Nov 2003 10:05:35 GMT

Hi there,

has anybody an idea, how the javascript has to look like to trigger an event
from an action widget on a pipeline in a sitemap?

My action widget looks like this:

	<wd:action id="getSVG" action-command="getSVG">
	  <wd:label>Get SVG</wd:label>
	  <wd:on-action>
	  	<javascript>
	  	Code to trigger event on part of the sitemap below
	  	</javascript>
	  </wd:on-action>
	</wd:action>


And the pipeline that should be invoked:

		<map:pipeline>
			<map:match pattern="project001">
				<map:aggregate element="sys">
					<map:part src="cocoon:/instance"/>
					<map:part src="cocoon:/pins"/>
					<map:part src="cocoon:/segment_vertex"/>
					<map:part src="cocoon:/text"/>
					<map:part src="cocoon:/document"/>
				</map:aggregate>
				<map:transform src="TEST/xsl/samples/final_svg.xsl"/>
				<map:serialize type="svgxml"/>
			</map:match>
		</map:pipeline>

It would be great, if anyone could give me a hint!
Thanks,
Katharina

-- 
HAKUNA MATATA !!!

GMX Weihnachts-Special: Seychellen-Traumreise zu gewinnen!

Rentier entlaufen. Finden Sie Rudolph! Als Belohnung winken
tolle Preise. http://www.gmx.net/de/cgi/specialmail/

+++ GMX - die erste Adresse für Mail, Message, More! +++


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message