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
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to