Hi,
Try gotoWindow(int windowID)
You may have to guess the windowID (javascript id). If
you have only 2 page (main and popup), it should be 1
or 2 (don't remember if it's a 0-based index).
++
Julien
--- Abid Hussain <[EMAIL PROTECTED]> a écrit :
> Hi everybody,
>
> I have a form with the following html:
> <form name="compendium_form" method="post"
> target="_blank"
>
action="${pageContext.request.contextPath}/controller?action=CreateCompendium&do=create">
> <input name="button" type="submit"
> onclick="self.location.href=('index.jsp')"
> value="Handbuch jetzt erstellen">
> </form>
>
> The behaviour is the following: When the form is
> subitted, the user is
> taken to the index page (index.jsp). At the same
> time a new window is
> opened where the result of the form's submitting is
> shown.
>
> How can I switch to the newly opened window? Maybe
> gotoWindow would
> work, but I don't know the name of the window. Is
> there a way to get the
> names of all open windows? Or another solution?
>
> Best regards,
>
> Abid
>
> --
>
> Abid Hussain
> Mail: [EMAIL PROTECTED]
> Web: http://www.abid76.de
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2005.
>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> JWebUnit-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users