JEXL Does not support full cocoon object model on its own
---------------------------------------------------------

         Key: COCOON-1816
         URL: http://issues.apache.org/jira/browse/COCOON-1816
     Project: Cocoon
        Type: Bug
  Components: Blocks: (Undefined)  
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to