>From my understanding, part of what you are asking for is impossible -
making some validation on the back end decide where in the browser the reply
should come back to. From what I know, the browser decides where to put the
reply (HTML stream) at the time it sends the request, and I am not aware of
any way to alter it by HTTP header or stuff like that.

You may have to look for work-arounds like loading the entire frame set in
any case, but the top frame content being dynamically set according to the
error status. 

Aby
TeamND

> -----Original Message-----
> From: Fahmida Rashid [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 19, 1999 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: [ND] Trying to load a page in two different frames 
> depending on
> a button click and user entry
> 
> 
> 
> I am not sure if what I am trying to do is even possible. I 
> right now have a frameset,
> ft_top and ft_main that I defined in HTML (not through Studio). 
> 
> In ft_main, I am loading a page containing a form that the 
> user must complete before 
> clicking on the button to submit it. After clicking that 
> button, there is some error 
> handling involved. If the entries are valid, I am trying to 
> reload the entire frame set, 
> with a new page in ft_top and a new page in ft_main. If the 
> entry is not valid, I want 
> just ft_main to reload with the same page, but also print a 
> static text error message. 
> 
> If I use this.load(false) after setDisplayFieldValue, the 
> page reloads correctly with the 
> error message, but I haven't figured out how to make the 
> button load pages with 
> target=_top (when entries are valid and I want the entire 
> frameset to reload) and also
> to load pages within the same frame (entries are invalid and 
> I just want to see the
> static text as well.)
> 
> I hope this is clear, and I would appreciate any help.
> Thanks in advance,
> -Fahmida
> ______________________________________________________________
> ___________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: 
> http://www.netdynamics.com/support/visitdevfor.> html
> 
> For dire 
> need help, email: [EMAIL PROTECTED]
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to