Hi Henrik, I am not sure what exactly you are trying to do but you can use the action-set in the pipeline as so;
<map:act set="creon"> <map:generate src="f:/webserver/tomcat/webapps/cocoon/creon/search/search2.xml" type="serverpages"/> <map:transform src="f:/webserver/tomcat/webapps/cocoon/creon/search/SearchLayout.xml"/> <map:serialize type="html"/> </map:act> And then use the "cocoon-action" in your form with a value of "LogOn" etc. to trigger the actual Action that is called. Hope this helps Matthew -- Open Source Group sunShine - Lighting up e:Business ================================================================= Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de Weblogging at: http://www.need-a-cake.com ================================================================= -----Original Message----- From: Henrik Hofmann [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: Truble with actions 2 I can't use action sets and don't know why. <map:actions> <map:action name="LogOff" src="com.creon.webapp.Cocoon.Actions.LogOffWebUser"/> <map:action name="LogOn" src="com.creon.webapp.Cocoon.Actions.LogOnAction"/> <map:action name="CheckLogon" src="com.creon.webapp.Cocoon.Actions.CheckLogonAction"/> <map:action name="SessionCreator" src="com.creon.webapp.Cocoon.Actions.SessionCreator"/> </map:actions> <map:action-sets> <map:action-set name="creon"> <map:act type="LogOn" action="LogOn"/> <map:act type="LogOff" action="LogOff"/> </map:action-set> </map:action-sets> This is how i want to use them <map:match pattern="search.html"> <map:act set="creon"> <map:act type="CheckLogon"> <map:generate src="f:/webserver/tomcat/webapps/cocoon/creon/search/search2.xml" type="serverpages"/> <map:transform src="f:/webserver/tomcat/webapps/cocoon/creon/search/SearchLayout.xml"/> <map:serialize type="html"/> </map:act> </map:act> </map:match> But it always gives me this error message and i don't know what to do. org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 640, column 34: Method action_set_creon(org.apache.cocoon.sitemap.SitemapRedirector, java.lang.String, java.util.List, org.apache.cocoon.environment.Environment, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters) not found in class org.apache.cocoon.www.creon.sitemap_xmap. Line 0, column 0: Note: F:\Webserver\tomcat\work\localhost_8080%2Fcocoon\cocoon-files\org\apache\coc oon\www\creon\sitemap_xmap.java uses or overrides a deprecated API. Recompile with "-deprecation" for details. 1 error, 1 warning </map:match> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>