El mié, 21-06-2006 a las 23:00 -0500, Brian M Dube escribió: > Brian M Dube wrote: > > I'm building a site with 0.8-dev using dispatcher. I created a free-form > > (well-formed, but no DTD) XML file that describes the items for sale > > along with their options. I'm using the locationmap and sitemap to > > provide virtual URLs to view the items in the master file. When I > > request a resource that exists, such as > > http://localhost:8888/index.html, everything works fine. When I request > > one of the virtual URLs, such as > > http://localhost:8888/products/categoryX/itemY.html, it works as > > intended but this error is also produced on the console: > > cocoon://resolve.contract.html.nav-section; Line #0; Column #0; > > java.lang.ClassCastException. Static mode also builds successfully while > > reporting the same exception. > > > > In either case the resource is rendered, but the nav-section contract > > doesn't finish and the menu is compromised. I haven't been able to trace > > the exception to its cause. Has anyone seen this? I have a custom theme > > but I'm not implementing a custom nav-section contract. > > I didn't include the nav-section-toc property in my call to the > contract. It seems to be working now.
Nice, thanks for reporting back. salu2 -- Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]
