Hello I have a real beginner's problem with relative links to in my cocoon 2.0.4 webapp
The root sitemap is located at the webapp context at server.com/cocoon. In a subdirectory under /cocoon I have a subsitemap containing several directories, for example "dir1" and "dir2". There is also an svg file in a directory "images". Thus the directory listing looks something like this: /cocoon /cocoon/submap/dir2/ /cocoon/submap/dir1/ /cocoon/submap/images/ /cocoon/submap/images/image.svg /cocoon/submap/sitemap.xmap /cocoon/sitemap.xmap Where the root sitemap has the submap/sitemap.xmap mounted at some path unknown to the subsitemap. The problem now is that I generate pages at requests to dir1/page1.html and dir2/page2.html , and inside these html pages I want to use the image.jpg generated by the svg. If I write the matcher to catch image.jpg at all paths , i guess match="**/image.jpg", then the map:generate src="images/image.svg" will only find the svg if the requested html page is in the sitemap directory? I'm unsure how the src is resolved by default, through the current request or by the sitemap directory? Matching and generating as above, I get the rendered image ok from a html page in the sitemap directory, but I get a resource missing error from dir1/page1.html. Am I missing something fundamental? Thanks for any help Regards Anders --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
