- the cocoon spring configurator
Configure a bean with all knowledge about the repository containing images, xml, ...
Java Bean snippet:
Flowscript snippet: (which calls my javabean)
So what basically happens is that the sitemap delegates the construction of the src attribute to a flowscript function. This flowscript call's my javabean based on the parameters it receives from the sitemap. Then another pipeline is invoked which
- generates the xml file in case of calling the xml pipeline
- reads the file from disk