'Use this tool as a CherryPy page handler.
For example::
class Root:
nav = tools.staticdir.handler(section="/nav", dir="nav",
root=absDir)'

def handler(self, *args, **kwargs):

    def handle_func(*a, **kw):
        handled = self.callable(*args, **self._merged_args(kwargs))
        if (not handled):
            raise cherrypy.NotFound()
        return cherrypy.serving.response.body
    handle_func.exposed = True
    return handle_func
