Rechercher une page de manuel
Jifty::Plugin::TabView::View.3pm
Langue: en
Version: 2007-12-26 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Jifty::Plugin::TabView::View - render tabview using yui tabsSYNOPSIS
use Jifty::Plugin::TabView::View; template 'index.html' => page { my $self = shift; $self->render_tabs('foo', [qw(id)], qw( foo bar_tab ) ); # more flexible tabs $self->render_tabs('foo', [qw(id)], { label => 'This is foo 1', path => 'foo', name => 'foo 1', args => { id => 1}}, { label => 'This is foo 2', path => 'foo', name => 'foo 2', defer => 1, args => { id => 2}}); }; 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.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre