Carsten Ziegeler wrote:
Sylvain Wallez wrote:
So I think we should deprecate this and replace it with a per-form
system (i.e. attaching these handles to the form object itself).
+1
A way
to enforce this feature isn't used in the portal is to replace the
"push" method of the forms_onsubmitHandlers object by an alert:
forms_onsubmitHandlers.push = function() {
alert("You cannot use form_onsubmitHandlers in the portal") }
Hmm, but this is only required if I have more than one form on the
portal page, or?
Yes. So this alert thing could be added only if several CForms on a
single page (other kind of forms are ok). Now we have to find a way to
detect this...
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director