cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <>
Subject Re: Discussion of Flow Issues
Date Wed, 19 Mar 2003 00:39:05 GMT
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 

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,

View raw message