This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
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:

wood burning stoves
subject: Netui, Javascript, and child windows
It's not a secret anymore!