I am using TG2 and trying to display a pdf document everything works
fine run from paster. But when I run the app from apache2 then in IE
only pdf documents don't display you get a blank IE window. Its wierd
because again in paster everything just works all the time. In apache
everything works all the time on FF. I am have getting twisted around
the axle on this one.
@expose(content_type="application/pdf")
@require(not_anonymous(msg='You must be logged in to visit that
page.'))
def
my_pdfexport(self,rdir=None,otype=None,order=None,email=None,missingfile=None):
* extra code removed*
pdffile = open(newfile,'r')
pdfdocument = pdffile.read()
pdffile.close()
return (pdfdocument)
If this double posted sorry about that ...
Paul Kraus
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.