removal of dumpSession.
This commit is contained in:
parent
7d1dfed519
commit
4a3121960f
199 changed files with 379 additions and 404 deletions
|
|
@ -65,7 +65,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session, "Asset");
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ The default text to appear on the button. Defaults to an internationalized versi
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session,"WebGUI");
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ See the super class for additional details.
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
push(@{$definition}, {
|
||||
formName=>{
|
||||
|
|
@ -304,7 +304,7 @@ Returns a human readable name for this form control type. You MUST override this
|
|||
|
||||
sub getName {
|
||||
my $self = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = $self->definition($session);
|
||||
return $definition->[0]->{formName}->{defaultValue};
|
||||
}
|
||||
|
|
@ -430,7 +430,7 @@ Please note that an id attribute is automatically added to every form element wi
|
|||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my %raw;
|
||||
# deal with a hash reference full of properties
|
||||
if (ref $_[0] eq "HASH") {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ If no value is specified, this will be used. Defaults to today and now.
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ Defaults to "Text". Should be any valid field type.
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
@ -97,7 +97,7 @@ array will be used.
|
|||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my %raw = @_;
|
||||
my $param = \%raw;
|
||||
my $fieldType = ucfirst($param->{fieldType});
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
@ -90,7 +90,7 @@ and DynamicField, the form class dispatcher.
|
|||
|
||||
sub getTypes {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
opendir(DIR,$session->config->getWebguiRoot."/lib/WebGUI/Form/");
|
||||
my @rawTypes = readdir(DIR);
|
||||
closedir(DIR);
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ A tooltip for what to do with this field. Defaults to a general explaination of
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ See the super class for additional details.
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session, 'Asset_Template');
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ See the super class for additional details.
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ Flag that tells the User Profile system that this is a valid form element in a U
|
|||
|
||||
sub definition {
|
||||
my $class = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $definition = shift || [];
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue