Re: Struts 2 and frames

2007-07-05 Thread Session A Mwamufiya
In my case, it's ok that the login at least displays once in the frame setting, but then if the user fails to enter the right credentials, then the subsequent login form will appear at the top level. Thanks for the help in understanding this, Session > Session A Mwamufiya wrote: >> Thanks Dale

Re: Struts 2 and frames

2007-07-05 Thread Dale Newfield
Session A Mwamufiya wrote: Thanks Dale, I actually fixed it by setting a target attribute in the form on my login page, so that it always puts the resulting page at the top level. That may serve your purposes (only you know your requirements), but it seems to be addressing a different problem.

Re: Struts 2 and frames

2007-07-05 Thread Session A Mwamufiya
Thanks Dale, I actually fixed it by setting a target attribute in the form on my login page, so that it always puts the resulting page at the top level. Thanks, Session > Session A Mwamufiya wrote: >> I'm using an interceptor, and I don't want the login page to appear in >> the target frame if

Re: Struts 2 and frames

2007-07-05 Thread Dale Newfield
Session A Mwamufiya wrote: I'm using an interceptor, and I don't want the login page to appear in the target frame if the interceptor intercepted an action that is supposed to appear in the target frame. I'm not even certain how you'd determine which frame the results of a certain request are

Re: Struts 2 and frames

2007-07-05 Thread Session A Mwamufiya
Hi, I know about the target attribute, but I don't know how to set it for a result page in struts 2. I'm using an interceptor, and I don't want the login page to appear in the target frame if the interceptor intercepted an action that is supposed to appear in the target frame. Is there a way t

Re: Struts 2 and frames

2007-07-05 Thread yitzle
You mean you got a page that got frames and you want to eg have a button that switches you to a single framed (er, zero frames; frameless) page? I know in HTML this is accomplished by setting the attribute "target". See http://www.w3.org/TR/html4/types.html#h-6.16 HTH --

Struts 2 and frames

2007-07-04 Thread Session A Mwamufiya
Hi, This is the 3rd attempt I make to get an answer on how to force a jsp result page to be returned as a single window if html frames are used. Please give me any hint as to how I can get this done. Thanks, Session - To uns