[jifty-devel] > 1. Re: using TabView (Todd Chapman)

Todd Chapman todd at chaka.net
Sat Nov 17 18:13:56 EST 2007


I got farther along. TabView gave me links such as your talking about.
I then copied app.css from the CASPlus jifty app in subversion and got
some reasonable styling.

-Todd

On 11/17/07, Steve H <s_t_e_v_e_h at hotmail.com> wrote:
>
> Hi Todd
>
> Bad news buddy... I got the sence I was pushing the proverbial, pursuing that one... so my efforts have been elsewhere.  I don't know what effect you are providing for in your app, however I successfully use Links that alternate PageRegions.  I intend to slick-up some CSS to put left,top,right-side table borders around the Links to better visually simulate Tabs.
> Unfortunately Jifty sells itself so so short from it's doco.  Don't get me wrong... I'm not being ungrateful... just that as a new user, it is very hard for me to get a perspective on how to use stuff when the doco tracks the code/function calls, with very little on how/when/where/why it's used.  My biggest "aha" moments seem to be from displaying traces from the guts of things as I bash through prototype code.
>
> regards
> SteveH
>
>
> > Date: Sat, 17 Nov 2007 11:32:26 -0500
> > From: "Todd Chapman"
> > Subject: Re: [jifty-devel] using TabView
> > To: "Nifty apps in a Jiffy"
> > Message-ID:
> >
> > Content-Type: text/plain; charset=UTF-8
> >
> > Steve,
> >
> > Did you get TabView figured out? I'm try to use it now too. I thought
> > I would get some default styling with my tabs but apparently not...
> >
> > On 11/5/07, Steve H  wrote:
> >>
> >> Hi
> >>
> >> I was wondering if there are any examples using TabView. Googling only seems to refer to the code base... and back to the doco, which doesn't provide a great deal to say where/when/what should be coded for it... i.e. per:
> >> 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 { ... };
> >> ...similarly, there was nothing in the List archives.
> >> I use the 'out of the box' Mason, with a bunch of files under .../templates (and fragments). Are there any caveats on TabView use, e.g. the number of page regions in a tab/view... or other design considerations for using it?
> >>
>
> _________________________________________________________________
> Overpaid or Underpaid? Check our comprehensive Salary Centre
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcontent%2Emycareer%2Ecom%2Eau%2Fsalary%2Dcentre%3Fs%5Fcid%3D595810&_t=766724125&_r=Hotmail_Email_Tagline_MyCareer_Oct07&_m=EXT_______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>


More information about the jifty-devel mailing list