cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: [CForms] - No @id generation for <wd:output>
Date Thu, 19 Feb 2004 22:49:21 GMT
On 19.02.2004 12:57, Antonio Gallardo wrote:

>>That's correct, but we also should have a future validation in mind. A
>>form definition like Daniel's sample below must raise an exception then.
>>Furthermore what happens if you have an additional widget (outside of
>>repeater) with @id="". This must raise an exception too of
>>course thiugh the definition itself can be valid from XML point of view.
> You are right, but I see a potential slowdown of the CForm transformer.
> AFAIK, these type of validation is interesting just at development time,
> but not in a production environment when the same definition (no changed)
> will be validated over and over.

This can not be done statically (i.e. only during development) as a 
single widget could have an id like "". As long as the 
repeater stays below 25 rows it's ok, with more than 25 not.
Another possibility would be to exclude "" in general ...


View raw message