I have a function person2pdf, which creates a pdf-sheet. I want to show this sheet in an iframe (or an object) inside a webpage. The following code works well, but I wonder how to do the same without function k1?
def k1():
return person2pdf(session.ids)
def k():
return dict(ifr=IFRAME(_src=URL('default','k1')))
Regards, Martin

