cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: Discussion of Flow Issues
Date Wed, 19 Mar 2003 13:43:36 GMT
Christopher Oliver wrote:
> Stefano Mazzocchi wrote:
>> Christopher Oliver wrote:

>>> In order to communicate with XMLFormTransformer and to handle 
>>> restarting continuations, this script needs access to:
>>> cocoon.session
>>> cocoon.componentManager
>>> cocoon.environment.objectModel
>>> cocoon.forwardTo()
>> Why do you need direct access to the objectModel?
> Only because of the design of XMLForm: it stores the form "view" in the 
> object model and several of the methods of 
> org.apache.cocoon.component.xmlform.Form require the object model as a 
> parameter.

Ah, ok.

> Regardless of the flow, there doesn't appear to be lot of consistency in 
> the way Cocoon components communicate: sometimes they stash stuff in 
> request parameters, sometimes in the session, sometimes in the object 
> model. In any case there seems to be no explicit contract,

I'm all in favor of discussing the introduction of such explicit 
contract and make the system coherent. Do you have something in mind?


View raw message