- the cocoon spring configurator
- sitemap
- flowscript
- springbean
Configure a bean with all knowledge about the repository containing images, xml, ...
Bean configuration:
Java Bean snippet:
Sitemap 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
OR
- reads the file from disk
Cheers,
Robby Pelssers
No comments:
Post a Comment