Re: Can a view open a page in a new browser window?

2007-01-12 Thread Bob T.
Thanks Julio and Jeremy. When the users generate multiple reports I go to a page that shows links to the reports and let them click the link for the report they want to see. However, when there is only one HTML report to view it would be one less click for the user if I could bypass that page and

Re: Can a view open a page in a new browser window?

2007-01-11 Thread Jeremy Dunck
On 1/11/07, Julio Nobrega <[EMAIL PROTECTED]> wrote: > > No. What you can do is open a "normal" webpage and use window.open() > at body tag onLoad(). ...which will almost certainly be blocked by any popup blocker. In any case, you'll want to make the finished report accessible by URL and then

Re: Can a view open a page in a new browser window?

2007-01-11 Thread Julio Nobrega
No. What you can do is open a "normal" webpage and use window.open() at body tag onLoad(). On 1/11/07, Bob T. <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have a situation on the Django site where a view needs to either > return a normal page, or it might need to open a new browser window to >

Can a view open a page in a new browser window?

2007-01-11 Thread Bob T.
Hi All, I have a situation on the Django site where a view needs to either return a normal page, or it might need to open a new browser window to display the response (a report). I know for the normal case I can just return an HttpResponse, but is there anything that can cause the response to be