Jesse Vincent > Jifty > Jifty::Plugin::TabView::View

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source  

NAME ^

Jifty::Plugin::TabView::View - render tabview using yui tabs

SYNOPSIS ^

  use Jifty::Plugin::TabView::View;
  template 'index.html' => page {
     my $self = shift;
     $self->render_tabs('foo', [qw(id)], qw( foo bar_tab ) );
  };
  template 'foo' => sub { ... };
  template 'bar' => sub { ... };

render_tabs

Returns some Template::Declare with tabs rendered with the yui tabs If a tab ends in _tab, it means it should contain a stub region to be replaced by the corresponding fragment onclick to that tab.

syntax highlighting: