Hello all,
I would appreciate some help on this... I am getting mad with this problem.
Ralf Hirning posted a message providing a way to build a sitemap (see below) and
I have been using it. This worked fine but for some unknown reason it has
started to fail in those pages that are in a branch with a depth higher than
level 1 (for example in page 'child A'). The error message I get is:
.......................................................
2005-06-22 02:03:19 ApplicationDispatcher[] Servlet.service() for servlet jsp
threw exception
org.apache.jasper.JasperException: An error occurred while evaluating custom
action attribute "items" with value "${actpage.children}": Unable to find a
value for "children" in object of class "com.obinary.cms.core.Content" using
operator "." (null)
.......................................................
Any ideas?
Thanks!
Juan
(... posted on 15 Mar 2004, Ralf Hirning's message started like this ...)
Maybe it helps looking at an implementation of a sitemap (this example
creates a sitemap as an xml-Document).
The sitemap consists of two jsp-files. The first one initiates the sitemap
with a startPage and calls the second one:
-------------------------------------------------------------
<%@ page import="com.obinary.cms.core.Content,
java.util.Iterator,
java.util.Collections,
java.util.ArrayList,
com.obinary.cms.util.Resource,
java.util.Collection"%>
<%@ taglib uri="cms-taglib" prefix="cms" %>
<%@ taglib uri="cms-util-taglib" prefix="cmsu" %>
<%@ taglib uri="JSTL" prefix="c" %>
<%-- loop the ancestors (path to the page) --%>
<%
//ancestors (no reverse access in jsp yet)
... (and so on)
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/community/developer/mailinglists.html
----------------------------------------------------------------