PyFrame::Controller::Default::Default Class Reference

Inheritance diagram for PyFrame::Controller::Default::Default:
[legend]

List of all members.

Public Member Functions

def __init__
def dispatch

Public Attributes

 ap


Member Function Documentation

def PyFrame::Controller::Default::Default::__init__ (   self  ) 

00005                           :
00006                 registry = Registry()
00007                 self.ap = registry.store['ap']
00008 
        def dispatch(self):

def PyFrame::Controller::Default::Default::dispatch (   self  ) 

00009                           :
00010                 param = self.ap.get('action')
00011                 if not param:
00012                         param = "index"
00013                 if not hasattr(self, param + 'Action'):
00014                         sys.stderr.write("I don't know how to do %sAction() !\n" % str(param))
00015                         param = "index"
00016                 sys.stderr.write("We are doing: %sAction() \n" % str(param))
00017                 exec "self." + param + "Action()"
                exec "self." + param + "Action()"


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Wed Oct 14 16:45:09 2009 for PyFrame by  doxygen 1.5.8