Hi all! Does anybody know if I can use javascript for writing custom xsp actions? What about the configuration?
Thanks for every help. Markus I tried this but it doesn't work: <map:match pattern="action-test"> <map:act src="xsp/5791.level.1.act.xsp" type="serverpages"> <map:parameter name="programming-language" value="js"/> <map:redirect-to uri="http://localhost"/> </map:act> <map:redirect-to uri="http://localhost:8081"/> </map:match> My xsp action page: <?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page version="1.0" language="javascript" xmlns:xsp="http://apache.org/xsp" xmlns:xsp-action="http://apache.org/cocoon/action/1.0" xmlns:matrix="http://schema.rheinland.net/matrix/matrix.htm"> <page> <xsp:logic> if (1==1) { test = "test"; } else { test = "false"; } </xsp:logic> <xsp-action:set-success/> </page> </xsp:page> I know that I can use javascript in xsp generators. That works fine. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]