github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bobtfish / catalyst-actionrole-findviewbyisa

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (3)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (3)
    • 0.000003
    • 0.000002
    • 0.000001
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Action role to find a view from the available application views by superclass — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Update MANIFEST.SKIP and .gitignore 
bobtfish (author)
Sun Nov 08 18:57:59 -0800 2009
commit  2b7f1f2eef856884916181e51069ccf23848fd0f
tree    388264829da10485c0ccbc7ac76b3dd24a522b97
parent  76e5e45aef67f0547417629bec899a93b255e8aa
catalyst-actionrole-findviewbyisa /
name age
history
message
file .gitignore Loading commit data...
file Changes
file MANIFEST.SKIP
file Makefile.PL
file README
directory lib/
directory t/
README
NAME
    Catalyst::ActionRole::FindViewByIsa - Select from the available
    application views by type

SYNOPSIS
        package MyApp::Controller::Foo;
        use Moose;

        BEGIN { extends 'Catalyst::Controller::ActionRole'; }

        sub foo : Local Does('FindViewByIsa') FindViewByIsa('Catalyst::View::TT') {
            # Code here. If $c->stash->{current_view} is set, it will be left alone
            #            after this method is run. Otherwise it will be set to
            #            the first app view which @ISA Catalyst::View::TT
        }

DESCRIPTION
    If you are trying to write a generic controller component which will be
    reused within an application, you do not want to mandate the use of one
    type of view, but if you're providing templates with your component,
    then you need to be able to find a view of the appropriate type.

    Therefore this action role will select a the view in the application
    which matches the class of view that you want, no matter what it is
    named locally within the application.

AUTHOR
    Tomas Doran (t0m), "<bobtfish@bobtfish.net>"

COPYRIGHT & LICENSE
    Copyright 2009 Tomas Doran, some rights reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server