Forum OpenACS Development: template::forward options

Collapse
Posted by Lear Zumaeta on
hi, I´m new on tcl and I want to know if is possible make a forward on .tcl not .adp page but that forward open the request on a new windows not the same, keeping open the main window, something like a target="_blank" in html o adp pages.
Collapse
Posted by Mark Aufflick on
Hi Lear,

I'm not sure I 100% get your question, but I think the answer is no. When a web page is requested, the server simply sends a chunk of content (html, pdf, whatever) and it is the browser which decides which window that content will be displayed in.

With target or javascript window.open, the browser creates a new window, then requests content to go into it - I am not aware of any way to request the browser to open a window in the response (eg. by a header or some such).

But that's really a browser/http thing - what technology you use to generate the http/html isn't the issue here.

Collapse
Posted by Lear Zumaeta on
Hi Mark, Dreamweaver 8 is the web page designer that we use.

I think you're right is not any way to request the browser to open a window in the response I think too. Do you have an alternative way to do this