On 1 Jan 2004, at 23:25, Hunsberger, Peter wrote:
Upayavira <[EMAIL PROTECTED]> writes:
Hunsberger, Peter wrote:
some searchAny idea if it would be possible to devise a way to alter the target frame for a response in the flow? In particular, we havescreens that show their results in different frame. If arequest failsvalidation I'd like it to return to the original frame andnot show theresults in the other frame. So, in this case I'd just liketo removethe target frame if the request fails validation.I might be wrong, but I think your thinking is wrong here.
Peter Hunsberger
You cannot control (from in flow) the frame that a page is presented in, because the browser does a request for a specific frame, and that's where the result will be shown.
To achieve what you want, you'd have to do it with some client side javascript. Send back a response including some javascript that makes the browser reload the other frame.
Hope this makes sense.
Yah, that makes sense, probably a little too much "grog" last night to be thinking straight... I was hoping there might be some header or other http level setting that the browser would use to determine what the target frame was for.
Nop, there is no such thing. This is yet another of the two thousand reasons on why you should never be using frames but you should be doing server side aggreation (where you *do* have full control on what happens).
-- Stefano.