fixing bugs related to new form system

This commit is contained in:
JT Smith 2005-07-28 22:10:28 +00:00
parent 74cd198203
commit 3058d839c0
15 changed files with 68 additions and 11 deletions

View file

@ -59,12 +59,19 @@ The identifier for this field. Defaults to "templateId".
The namespace for the list of templates to return. If this is omitted, all templates will be displayed.
=head4 label
A text label that will be displayed if toHtmlWithWrapper() is called. Defaults to getName().
=cut
sub definition {
my $class = shift;
my $definition = shift || [];
push(@{$definition}, {
label=>{
defaultValue=>$class->getName()
},
name=>{
defaultValue=>"templateId"
},