cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson" <john...@soho.club.tw>
Subject Re: is it a cform field widget bug?
Date Tue, 11 May 2004 09:36:33 GMT
change to <fd:item value='true'> ? the same
change to <fd:item true='true'> ? the both option value change to ""

Best Regards

Johnson Hsu

----- Original Message ----- 
From: "Marc Portier" <mpo@outerthought.org>
To: <users@cocoon.apache.org>
Sent: Tuesday, May 11, 2004 4:01 PM
Subject: Re: is it a cform field widget bug?


>
>
> Johnson wrote:
> > 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">
>                      ^^^^
>
> you might want to try with 'true' in stead
>
> -marc=
>
> >       <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: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
> -- 
> Marc Portier                            http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> Read my weblog at                http://blogs.cocoondev.org/mpo/
> mpo@outerthought.org                              mpo@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>



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


Mime
View raw message