wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Netui, Javascript, and child windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Netui, Javascript, and child windows" Watch "Netui, Javascript, and child windows" New topic
Author

Netui, Javascript, and child windows

Joe Tseng
Greenhorn

Joined: Nov 09, 2004
Posts: 23
I've created an HTML form in a JSP page using BEA's NetUI tags; I have a button that opens a child window that has another form in it. A user checks off some boxes in the child window and those values are supposed to be passed back into the parent window's form. Could someone show me how this could be done?

I tried to use the parent form element's literal names in the child form but they seem to be ignored by the parent. I've reviewed BEA's documentation and it says I should use their document[][] array, but I can't get it to work for me across pages; none of their examples demonstrate that is possible. I tried to pass the form as a Javascript object to the child window, but the child form says I was passing an invalid object.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
you can pass inforamtion back and forth with JavaScript:

eric
 
wood burning stoves
 
subject: Netui, Javascript, and child windows
 
Similar Threads
javascript
How can 2 html pages communicate?
submit form of child window and show the new screen in parent window.
parent window form name
how to update the contents of a jsp page from another jsp