Layout can now uncheck all hidden assets. CheckList now has its own getValue which does not call getDefaultValue.

This commit is contained in:
Kaleb Murphy 2008-08-07 19:21:12 +00:00
parent ad3c236f47
commit a300ce8194
3 changed files with 41 additions and 0 deletions

View file

@ -99,3 +99,8 @@ is( $inputs[0]->{value},
WebGUI::International->new($session,"Form_CheckList")->get("selectAll label"),
'The value is internationalized'
);
my $checkl1 = WebGUI::Form::CheckList->new($session, {'defaultValue' => 1});
is($checkl1->getValue(10), 10, "Get simple passed in value");
is($checkl1->getValue(), '', "Get empty value in value");
is($checkl1->get('defaultValue'), 1, "Check default value property");