cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/datatype/convertor PlainBooleanConvertor.java
Date Wed, 10 Dec 2003 17:54:27 GMT
Vadim Gritsenko wrote:

> Bruno Dumon wrote:
> ...
>
>> Aha, I finally got it. The problem is that the selection list doesn't
>> allow an empty (or null) value.
>>
>
> Is it the problem with selection list only, or with some other classes 
> too?
>
>
>> If you look into the generated HTML
>> source you'll see that the "Dunno" choice also has a value of "false". I
>> think this is something that should be fixed in the selection lists,
>> i.e. if the wd:item/@value attribute is empty, don't call the convertor
>> but put a null value in the selection list. (and vice-versa, if the
>> value in the selection list is null, don't call the convertor but output
>> an empty string)
>

Done. Hope nothing got broke because of this (can somebody cross-check?)

Vadim



Mime
View raw message