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] Several forms per page?
Date Wed, 14 Sep 2005 09:26:00 GMT
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


Mime
View raw message