cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: CForms: ScriptableWidget?
Date Mon, 14 Feb 2005 20:07:22 GMT
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 }


Mime
View raw message