Added an optionsSettable flag to form types that have an options property

This commit is contained in:
Yung Han Khoe 2008-03-27 11:16:55 +00:00
parent 3ea9420479
commit e862cb8303
15 changed files with 131 additions and 25 deletions

View file

@ -71,6 +71,11 @@ A URL that will be acted upon after editing an LDAP link.
A text label that will be displayed if toHtmlWithWrapper() is called. Defaults to getName().
=head4 optionsSettable
A boolean indicating whether the options are settable using an options hashref or not settable because this form
type generates its own options.
=cut
sub definition {
@ -102,8 +107,11 @@ sub definition {
},
dbDataType => {
defaultValue => "TEXT",
},
});
},
optionsSettable=>{
defaultValue=>0
},
});
return $class->SUPER::definition($session, $definition);
}