|
Well, I-ve made some progress.
After copying the jython.jar in the web-inf
directory and adding this pipeline
<map:match
pattern="test.py">
<map:generate src="" type="script"/> <map:serialize type="xml"/> </map:match> I'm able to execute the test.py python script
inside cocoon. Print statements are displayed in the console. Now, how do I
interact with cocoon, that is
1) getting parameters from the sitemap in the
script
2) generating xml for cocoon
I have the feeling it has to do with the bsf object
but again I couldn't find any example of how it can be done. I know there was a
sample in the 2.0.4 version but it disappeared in 2.1. Where can I find
it?
Thanks,
Laurent
|
- Python Script Generator Laurent Mauron
- Re: Python Script Generator Laurent Mauron
- Re: Python Script Generator Laurent Mauron
- Re: Python Script Generator Joerg Heinicke
- Re: Python Script Generator Laurent Mauron
- Re: Python Script Generator Joerg Heinicke
