cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: [cforms] New ProcessingPhases added a repeater bug?
Date Fri, 16 Jun 2006 15:15:51 GMT
Antonio Gallardo wrote:

> It's not it does not work. The code was moved out because this seems to 
> be a better place for firing form events. This events are form events, 
> hence the form should fire them as needed. IMHO, the binding framework 
> does not need to know/care about special form needs.

> This can be fixed in a different way:
> While fixing this issue. We wondered why and form.load() 
> methods are defined only in form.js . This make pretty complicated to 
> call the binding framework outside flow (ie: from the actions). IMHO, 
> this methods belongs to and in this way we can also not allow 
> an outsider class to call the following public methods:
> informStartLoadingModel()
> informEndLoadingModel()
> informStartSavingModel()
> informEndSavingModel()
Hmm, ok it sounds good to me to move code out of form.js into the Java
code. I think most of the code from form.js should be moved to be
available for cforms clients which do not use flow.
And protecting the above methods is good as well. The only thing I do
not know is if it is a good idea to add a dependency to the binding
package to the form class. So a general +1 for this.

Carsten Ziegeler - Open Source Group, S&N AG

View raw message