Re: [web2py] iframe and pdf

2012-03-10 Thread Martin Weissenboeck
Nice solution - thank you! Martin 2012/3/10 Bruno Rocha > > def k(): > if 'showpdf' in request.args: > return person2pdf(session.ids) > else: > return dict(ifr=IFRAME(_src=URL('default','k', args='showpdf'))) > > > > -- > > Bruno Rocha > [http://rochacbruno.com.br] > >

Re: [web2py] iframe and pdf

2012-03-09 Thread Bruno Rocha
def k(): if 'showpdf' in request.args: return person2pdf(session.ids) else: return dict(ifr=IFRAME(_src=URL('default','k', args='showpdf'))) -- Bruno Rocha [http://rochacbruno.com.br]