cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: [PROPOSAL] Continuation in objectModel, Was: Discussion of Flow Issues
Date Mon, 17 Mar 2003 02:30:06 GMT
Vadim Gritsenko wrote:
> Christopher Oliver wrote:
> 
>> Sylvain Wallez wrote:
> 
> 
> 
> <snip/>
> 
>>> So we need two more values in the object model Map : one for the 
>>> value dictionary, and one for the continuation.
>>>
>>> How does it sound ?
>>
>>
>>
>> That would work.
> 
> 
> 
> Excellent! I've grepped sources, seen those awful 
> ((Environment)resolver) type casts, and I think that we have to get rid 
> of this ASAP.
> 
> Practical proposal:
> 
> * Add "flow-continuation" to the objectModel, and getter method to the 
> ObjectModelHelper, as a replacement for "kont" environment attribute.
> * Add "flow-bean" to the objectModel, as a replacement for "bean-dict" 
> environment attribute.
> 
> 

Switching to use the object model instead of environment attibutes is 
the easy part.

But there's still the question of how to expose those objects to the 
author of the presentation layer. For example, in the case of Velocity, 
the names you've chosen (if following Sylvain's suggestion: "... 
publishing the object model to the Velocity engine could solve the 
problem") would be a poor choice, because they aren't valid Velocity 
identifiers.

Regards,

Chris


Mime
View raw message