Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/w/h/whiff-1.1/whiff/middleware/GetPageLink.py   whiff(Download)
    def __call__(self, env, start_response):
        cgi_dictionary = {}
        # don't expand the page -- send text
        pageText = self.param_text(self.page)
        cgi_dictionary["page"] = pageText

src/w/h/whiff-1.1/whiff/middleware/loadTemplateFunction.py   whiff(Download)
        prefix = self.param_value(prefix, env)
        # DON'T expand the template
        pageText = self.param_text(page)
        javascriptText = self.param_text(javascriptPage)
        # set substitutions in call back payload

src/w/h/whiff-1.1/whiff/middleware/EvalPageFunction.py   whiff(Download)
            contentCallback = "null" # no user supplied callback is default
        # DO NOT EVALUATE THE PAGE CONTENT! (NOW -- eval on return trip)
        pageContent = self.param_text(self.page)
        if self.prefix:
            prefix = self.param_value(self.prefix, env)

src/w/h/whiff-1.1/whiff/middleware/setTarget.py   whiff(Download)
            callbacks.sort()
            for (cbname, callback) in callbacks:
                callbackText = self.param_text(callback)
                #callbackText = parseTemplate.quoteText(callbackText)
                callbackJavascriptMaker = CallPageFunction.__middleware__(
                yield("   target.%s = %s ;" % (cbname, callbackJavascript))
            if self.miscJavascript:
                yield self.param_text(self.miscJavascript)
                yield ";"
            yield(" };")

src/w/h/whiff-1.1/whiff/middleware/CallPageFunction.py   whiff(Download)
    def __call__(self, env, start_response):
        page_text = self.param_text(self.page)
        argsitems = self.page_arguments.items()
        argsitems.sort()
        argsList = []

src/w/h/whiff-1.1/whiff/middleware/callPageWithStrings.py   whiff(Download)
        argsDict = {}
        for (name, value) in self.arguments.items():
            argtext = self.param_text(value)
            #pr "name", name
            #pr "set to text", repr(argtext)