Fran, I do something very similar in jQuery. Bind a object to an event and use a anonymous function that calls Windows.Open(). The new window could call a download function. But I guess at that point its not a redirect.
JohnMc On Jun 9, 1:56 pm, Fran <[email protected]> wrote: > On Jun 9, 7:19 pm, mdipierro <[email protected]> wrote: > > > If your intention is to return the PDF to the > > user (http 200 ok) you cannot redirect (http 303 redirect). The two > > statements are not compatible. > > Whilst at first sight I'd say that's true, what could be done is to > return the PDF in another Window/Tab (A target="_blank") & then do the > redirect. > I would do this by calling the PDF controller function from a wrapper > function which has that page. > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

