Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 8041 invoked from network); 11 Sep 2007 20:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 20:00:59 -0000 Received: (qmail 20844 invoked by uid 500); 11 Sep 2007 20:00:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 20746 invoked by uid 500); 11 Sep 2007 20:00:52 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 20735 invoked by uid 99); 11 Sep 2007 20:00:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 13:00:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 20:02:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A0364714159 for ; Tue, 11 Sep 2007 13:00:32 -0700 (PDT) Message-ID: <7383706.1189540832644.JavaMail.jira@brutus> Date: Tue, 11 Sep 2007 13:00:32 -0700 (PDT) From: "Grzegorz Kossakowski (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1816) JEXL Does not support full cocoon object model on its own In-Reply-To: <144910017.1143557854598.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526579 ] Grzegorz Kossakowski commented on COCOON-1816: ---------------------------------------------- Yes, I think that this has been fixed in refactored template generator/transformer. Use "newjx" generator in your sitemaps in order to utilize refactored code. > JEXL Does not support full cocoon object model on its own > --------------------------------------------------------- > > Key: COCOON-1816 > URL: https://issues.apache.org/jira/browse/COCOON-1816 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Templating > Affects Versions: 2.1.8 > Reporter: Berin Loritsch > Priority: Critical > > JEXL will not allow you to access cocoon.request or cocoon.session and company unless a flowscript performs a sendPage related request. This violates the principle of least surprise, and caused over four hours of productivity loss just trying to figure out why something that _should_ work wasn't. All the documentation suggests that I could access the full cocoon object model without any reference to flowscript. > The cocoon object model should be set up in a way where it is accessible directly in JEXL as well as in the flowscript. In short, it should be set up properly as a core feature so that it is accessible and usable in a consistent way throughout the entire application. JEXL, Flowscript, or any other new technology that comes along. One component should not depend on another to set things up if you can't reasonably expect them to be completely coupled. In short, JEXL should be usable independantly from Flowscript. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.