cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] PythonScriptGenerator PythonLanguage CocoonDocsDrafts Sat Jan 3 13:00:04 2004
Date Sat, 03 Jan 2004 12:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=PythonScriptGenerator , version: 4 on Sat Jan
 3 11:53:20 2004 by JoergHeinicke

- #Download the jython.jar [http://www.jython.org] and copy it to the web-inf directory of
your webapp.
+ ! Download
+ Download the jython.jar from [http://www.jython.org] and put it into the WEB-INF/lib directory
of your webapp. If you want to rebuild your Cocoon you should copy it also to the lib/local
directory of your Cocoon sources, otherwise the JAR will be lost after the build.
+ 
- #Sitemap entry.
? ^

+ ! Sitemap entry.
? ^^

- 	{{{<map:match pattern="test.py">
- 		<map:generate src="test.py" type="script">
- 			<map:parameter name="key" value="Shark Attack"/>
- 		</map:generate>
- 		<map:serialize type="xml"/>
- </map:match>}}}
- #Python script.
+ <map:match pattern="test.py">
+   <map:generate src="test.py" type="script">
+     <map:parameter name="key" value="Shark Attack"/>
+   </map:generate>
+   <map:serialize type="xml"/>
+ </map:match>
+ }}}
+ ! Python script.
+ {{{
- output.append("<msg>" + value +"</msg>")}}}
?                                         ---

+ output.append("<msg>" + value +"</msg>")
+ }}}


Page: http://wiki.cocoondev.org/Wiki.jsp?page=PythonLanguage , version: 2 on Sat Jan  3 11:56:28
2004 by JoergHeinicke

+ # And thanks to [PythonScriptGenerator] you can use it easily inside of Cocoon.


Page: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonDocsDrafts , version: 12 on Sat Jan  3
11:48:37 2004 by LaurentMauron

+ * [PythonScriptGenerator] -- A short ScriptGenerator how-to/example -- [LaurentMauron]



Mime
View raw message