page: move getoutput() to render method