You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Grzegorz Kossakowski (JIRA)" <ji...@apache.org> on 2007/09/11 22:06:32 UTC

[jira] Closed: (COCOON-1816) JEXL Does not support full cocoon object model on its own

     [ https://issues.apache.org/jira/browse/COCOON-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Kossakowski closed COCOON-1816.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.9
                   2.2-dev (Current SVN)

> 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
>             Fix For: 2.2-dev (Current SVN), 2.1.9
>
>
> 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.