fix: new profile fields now default to a type of "ReadOnly"

fix: Added new templates for calendar events and editing
This commit is contained in:
Doug Bell 2007-05-29 07:14:20 +00:00
parent a4f56ff9ef
commit 1bdbb186aa
3 changed files with 397 additions and 0 deletions

View file

@ -119,6 +119,7 @@ sub create {
my $self = $class->new($session,$id);
# Get the field's data type
$properties->{fieldType} ||= "ReadOnly";
my $formClass = 'WebGUI::Form::' . ucfirst $properties->{fieldType};
eval "use $formClass;";
my $dbDataType = $formClass->new($session, $self->_formProperties($properties))->get("dbDataType");