Carsten Ziegeler wrote:

I'm wondering if we need the ScriptableWidget class? We recently decided to not support the syntactic sugar flow could provide. I can't find any reference where this class is used. So can we just delete it?


It's used in Form.js for form.model. The trick (or hack, or inconsistency) is that
defineClass("org.apache.cocoon.forms.flow.javascript.ScriptableWidget");
in Form.js defines a JS class named "Widget" (see ScriptableWidget.getClassName()).


This class will go away with form.model.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to