Vaduvoiu Tiberiu schreef:
[...]
   <map:part element="menu4" src="cocoon:/{1}/{2}/{3}/{4}/menu.xml"/>

so here's the catch. mysite.com/A/B/C/D has some subcategories(D/x) mysite.com/A/B/C/E doesn't have subcategories
So when I load the /D url, everything works fine because the element menu4 
exists.(there is a menu.xml in A/B/C/D folder)
when I load the /E url, I get http resource not found error because there is no 
menu4 element(there is no menu.xml in A/B/C/E folder.
So how can I make this "optional"?
You could give the resourceexist-selector a try: http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html


Jan Willem Boer
http://www.linkedin.com/in/janwillemboer

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to