cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: [CForms] <form enctype>
Date Thu, 05 Aug 2004 15:33:41 GMT
On 05.08.2004 10:53, Sylvain Wallez wrote:

>> I'm not very fond of it, since this needs to scan the whole tree below
>> the form-template, which might be large (if it contains lots of widgets
>> or large selection lists), combined with the fact that most forms don't
>> use uploads anyway. Just IMHO of course.
> 
> Same thoughts here.
> 
> A possible solution could be to handle this in the form model. Whenever 
> an upload widget is added to a form, it informs the form that it 
> contains upload widgets. The form can then report this in the produced 
> wi:form-template so that the proper enctype is used.

Sounds like a very good alternative.

Joerg

Mime
View raw message