[Opensource] checkbox dbobject attribute
larry hamel
expresso at codeguild.com
Thu Dec 4 14:40:08 PST 2003
Maurizio,
you can use DBField.BOOLEAN_TYPE ("boolean") in your DBObject.setup() method.
this provides a layer of abstraction so that you can "attach" to any database.
the expresso-config.xml specifies the database configuration, and maps values like DBField.BOOLEAN_TYPE into an appropriate field type for the specified database.
larry
At 06:07 AM 12/4/2003, you wrote:
>Hi everybody!
>I can't seem to find any doc about which attributes can be associated to a DBField, nor the meaning of the value to bind.
>After a lot of browsing I found some discussion in the forum, but no details at all. Can anyone point me to the details of the implementation or provide some sample code? Mean, I saw the eForum Subscriptions DBObject, but it uses char(1) fields, while I'd like to use booleans.
>Thanks in advance
>Maurizio
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
>
More information about the Opensource
mailing list