Hi!

I use field widget to represent a boolean field , like below

 <fd:field id="dc">
      <fd:label><i18n:text key="dc">dc:</i18n:text></fd:label>
      <fd:datatype base="boolean">
      </fd:datatype>
 <fd:selection-list>
   <fd:item value="false">
      <fd:label><i18n:text key="single">single</i18n:text></fd:label>
   </fd:item>
   <fd:item value="ture">
      <fd:label><i18n:text key="double">double</i18n:text></fd:label>
   </fd:item>
 </fd:selection-list>
    </fd:field>

when I run the form,the source is below.

<select name="" id="dc" title=""><option
value="false">single</option><option value="false">double</option></select>

both the value is false!

is it a bug?

Best Regards

Johnson Hsu



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to