Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Creating a new window


Message #1 by "Raoul van Balen" <raoul.van.balen@a...> on Tue, 14 May 2002 15:31:20
Here is my "problem".

I have several textfields on a webpage, each with a different name.
With each textfield is a button, that has to do the following: retrieve 
all elements with a certain name from an XML-document and place the values 
in a selection list which is in a NEW WINDOW. When the user has selected 
some of these values, she/he presses a submit-button which places all 
selected items in the corresponding textfield.

When i use the javascript function open, e.g.

msgWindow=open(file,window,'resizable=no,width=200,height=400');

i don't think i will get the desired result. I still want the xml-document 
to be loaded and presented in the selectionlist.

I have thought of another way by creating a new regular jsp in the same 
window and create an object, that holds all the selected items. Then, the 
original page is displayed again (with the textfields and buttons) 
including the selected items.

A lot of text, i hope this makes clear of what i'm trying to do.

With regards, Raoul

  Return to Index