cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: problem with enum and CForms selection-list
Date Fri, 03 Jun 2005 08:14:58 GMT
Il giorno 02/giu/05, alle 21:46, Owen Tallman ha scritto:

>         <fd:field id="locationType">
>           <fd:label>Select locations to search:</fd:label>
>           <fd:datatype base="enum"/>
>             <fd:converter type="enum">
>                 
> <fd:enum>com.envisn.nv.form.enums.LocationType</fd:enum>
>             </fd:converter>
>             <fd:selection-list type="enum"
> class="com.envisn.nv.form.enums.LocationType"/>
>         </fd:field>

In the sample (form2_model.xml) the fd:converter element is spelled 
fd:convertor and is placed inside the fd:datatype element. Try making 
these changes and see if it works.

	Ugo

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Opne Source Zone: http://oszone.org/
Wine & Food Blog: http://www.divinocibo.it/

Mime
View raw message