File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Netui, Javascript, and child windows" Watch "Netui, Javascript, and child windows" New topic

Netui, Javascript, and child windows

Joe Tseng

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

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

I agree. Here's the link:
subject: Netui, Javascript, and child windows
It's not a secret anymore!