Did I find the right examples for you? yes no

All Samples(93)  |  Call(0)  |  Derive(93)  |  Import(0)
common functionality used by javascript generation middlewares

src/w/h/whiff-1.1/whiff/middleware/loadList.py   whiff(Download)
class exampleGetter(misc.utility):
    "trivialish example getter: format the index inside a span"
    def __init__(self, prefix,
                 matchValue="",
                 index=None,
class defaultEnvelope(misc.utility):
    "simple envelope which just formats elements separated by BR tags"
    def __init__(self, dataName="_loadListData"):
        self.dataName = dataName
    def __call__(self, env, start_response):

src/w/h/whiff-1.1/whiff/middleware/Validate.py   whiff(Download)
class Validate(misc.utility):
    """
    checks return json values (success, varname, message) where success is true or false
    and message if not null is an error message string. and varname is a variable to store
    the message in the environment.
class Check(misc.utility):
    "utility superclass for making check middlewares"
    def validate(self, env):
        raise ValueError, "abstract method must be defined at subclass"
    def __call__(self, env, start_response):

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/prepareData.py   whiff(Download)
class Prepare(misc.utility):
    def __init__(self, page):
        self.page = page
    def __call__(self, env, start_response):
        """

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/getcontent.py   whiff(Download)
class getcontent(misc.utility):
    def __init__(self, page):
        self.page = page
    def __call__(self, env, start_response):
        path = self.param_value(self.page, env)

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/getCompletionInfo2.py   whiff(Download)
class getCompletionInfo(misc.utility):
    def __call__(self, env, start_response):
        env = resolver.process_cgi(env, parse_cgi=True)
        # permit resource access
        env[whiffenv.RPC_TAINTED] = False

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/getCompletionInfo.py   whiff(Download)
class getCompletionInfo(misc.utility):
    def __call__(self, env, start_response):
        env = resolver.process_cgi(env, parse_cgi=True)
        # permit resource access
        env[whiffenv.RPC_TAINTED] = False

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/fieldSetup.py   whiff(Download)
class fieldSetup(misc.utility):
    def __call__(self, env, start_response):
        env = resolver.process_cgi(env, parse_cgi=True)
        cgiDict = env[whiffenv.CGI_DICTIONARY]
        L = []

src/w/h/whiff-1.1/whiff/middleware/repoze/who.py   whiff(Download)
class repozeWho(misc.utility):
    def __init__(self, page,
                 identifiersResource=["who.identifiers"],
                 authenticatorsResource=["who.authenticators"],
                 challengersResource=["who.challengers"],

src/w/h/whiff-1.1/whiff/middleware/repoze/uid.py   whiff(Download)
class repozeUserId(misc.utility):
    def __init__(self, page=None):
        self.page = page
    def __call__(self, env, start_response):
        userid = getUserInfo(env)

src/w/h/whiff-1.1/whiff/middleware/repoze/onStatus.py   whiff(Download)
class repozeOnStatus(misc.utility):
    def __init__(self,
                 loggedIn,
                 unknown,
                 ):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next