use SL::Layout::ActionBar::Link;
use SL::Layout::ActionBar::Separator;
+use SL::Presenter::Tag qw(html_tag);
+
use constant HTML_CLASS => 'layout-actionbar';
use Rose::Object::MakeMethods::Generic (
my $content = join '', map { $_->render } @{ $self->actions };
return if !$content;
- $::request->presenter->html_tag('div', $content, class => HTML_CLASS);
+ html_tag('div', $content, class => HTML_CLASS);
}
sub javascripts_inline {
join '', map { $_->script } @{ $_[0]->actions };
}
-sub javascripts {
+sub static_javascripts {
'kivi.ActionBar.js'
}
C<separator> will use no parameters, the other three will expect one arrayref.
-Two additional pseuso parameters are supported for those:
+Two additional pseudo parameters are supported for those:
=over 4