Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 49477 invoked by uid 500); 23 May 2001 04:40:08 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 49404 invoked from network); 23 May 2001 04:40:03 -0000 Message-ID: From: "Bentley, Tim" To: "Cocoon Dev List (E-mail)" Subject: [C2] Problem - Declaring logicsheets in xsp page doesn't work Date: Wed, 23 May 2001 14:39:43 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi - I've been having trouble declaring a logicsheet in a page like this: I get a java.lang.IllegalAccessError, apparently because org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic sheetToList is a protected method being accessed from outside the package. I checked the mailing list archive and found a message from Lassi Immonen (http://mailman.real-time.com/pipermail/cocoon-devel/2000-November.txt) detailing essentially the same problem, although the method name seems to have changed since then. His fix was to make the method public. I have done the same, and my page now compiles and runs. Is this a known problem, or am I doing something wrong? Regards, Tim Bentley --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org