cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: [cforms] How to not have the empty value rendered for enum type?
Date Tue, 05 Sep 2006 13:49:00 GMT
Rice Yeh wrote:
> Hi,
>   I have a enum class like Sex. So there are 2 values: MALE and FEMALE. 
> But an extra value "" is rendered by cforms. How do I get rid of this 
> empty value, epsecially when using radio box styling.

Should be able to do:

<fd:selection-list type="enum" class="..." nullable="false" />

--Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message