cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramy Mamdouh <>
Subject Re: Woody Event handlers are isolated !
Date Sun, 28 Sep 2003 19:56:09 GMT
Hello Sylvain,

Sylvain Wallez wrote:
> Ramy Mamdouh wrote:
>> Hello,
>> The new woody event handling looks really promising, but I'm concerned 
>> with the listeners being isolated from the rest of the application.
>> Is there any way we can provide the listeners with, say, the 
>> ServiceManager and some logger (the avalon life cycle stuff maybe)?
>> or maybe with the 'cocoon' object that's available from the javascript?
>> What do you think about this issue? 
> That's exactly what I plan to do now ;-)
> I want to introduce in Woody the pattern I used in the TreeProcessor : 
> each widget definition and each listener will go through the Avalon 
> lifecycle.

That's exactly what I dreamed to see, and it will be really cool :-)
Thanks a lot for your great efforts.

> For JavaScript listeners, the I'd like to provide the "cocoon" object, 
> with the exception that sendPage() and sendPageAndWait() won't be 
> available. And if the form is called by a flowscript, also make the 
> global variables (i.e. the session scope) available.
> Sylvain

Ramy Mamdouh Kamel

View raw message