Looking again through the code, I noticed an error in my previous post.

The internal value for --- is -1, so possible default values are -1, 0 or 1, meaning None, False, True, respectively.

On 12/28/06, Sergiu Dumitriu <sergiu.dumitriu@gmail.com> wrote:
> for boolean, the class editor presents 3 last fields.
>
> Form type (radio button, check box): ok
> Display Type: I don't get this one
> Default: I don't get this one ; I tried false/No/no but I always get a
> parsing error.

Boolean properties always have 0, 1 or --- as the internal value. But what the user sees in the webpage can be customized.
- Form type affects the form element used for editing. I don't think I have to explain what select/checkbox/radio does.
- Display Type tells what are the displayed labels: the options for select or radio items, the value displayed in 'view' mode. Possible values are yesno, truefalse, active and allow (for the moment). The actual labels are written in ApplicationResource.properties, as active_0=Inactive, active_1=Active. So you can write anything in here, as long as it is defined in the properties. Otherwise, 0/1 will be used.
- Default: should be ---, 0 or 1 to work. It indicates the default value to be used for new objects.

Indeed, all class property types should have tooltips explaining the exact meaning.