Thanks for the help.
However, my button is linked to a *.do action. Where do I put these JavaScript then?
-----Original Message-----
From: Peter Alfors
To: [EMAIL PROTECTED]
Sent: 6/13/01 2:36 PM
Subject: Re: How do make sure that the ActionForward will be on the whole screen
In an anchor:
<A href=""myNewPage.html"" target="_top">link text</A>
or in a button (parent frame):
<INPUT name="blah"
>
tml')">
or in a button, uppermost frame (in cases of multiple framesets):
<INPUT name="blah"
>
')">
-- you will want to check the syntax for the javascript.
HTH,
Pete
Abraham Kang wrote:
> Joyce, I do not think there is a struts way of doing this but you
> could return a page with Javascript in it to reload the parent frame
> of your child frame.You will need to double check my syntax ;^
> )<SCRIPT
>
language="JavaScript">parent.location.href=""<%=urlOfAction%>";</Script>-
-Abraham
>
> -----Original Message-----
> From: Joyce Tang [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 11:20 AM
> To: '[EMAIL PROTECTED]'
> Subject: How do make sure that the ActionForward will be on
> the whole screen
>
> Here is my problem
>
> I have a frameset. There is a button on the bottom frame.
> When the user click on the button, the frameset need to be
> replaced with a non-frameset JSP page. How should I do
> this?
>
> Do I do this in the ActionForward?
> Thanks a lot,
>
> JT
>
<<Card for Peter Alfors>>