more conversion to the new streaming/chunking/bucketing system
This commit is contained in:
parent
46fa7e78e7
commit
6c4ae02f34
15 changed files with 219 additions and 43 deletions
|
|
@ -70,6 +70,23 @@ sub definition {
|
|||
return $class->SUPER::definition($session, $definition);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 prepareView ( )
|
||||
|
||||
See WebGUI::Asset::prepareView() for details.
|
||||
|
||||
=cut
|
||||
|
||||
sub prepareView {
|
||||
my $self = shift;
|
||||
$self->SUPER::prepareView();
|
||||
my $template = WebGUI::Asset::Template->new($self->session, $self->get("templateId"));
|
||||
$template->prepare;
|
||||
$self->{_viewTemplate} = $template;
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
=head2 view ( )
|
||||
|
||||
|
|
@ -80,13 +97,7 @@ to be displayed within the page style
|
|||
|
||||
sub view {
|
||||
my $self = shift;
|
||||
my %var = $self->get();
|
||||
#Set some template variables
|
||||
|
||||
#Build list of searches as an array
|
||||
# my $defaults = $self->getValue("predefinedSearches");
|
||||
|
||||
return $self->processTemplate(\%var, $self->get("templateId"));
|
||||
return $self->processTemplate({}, undef, $self->{_viewTemplate});
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue