473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Results from child window submit into parent window, then child closes -- How To?

Hi all...

I'm writing a Struts application, and one window pops up another,
non-modal, window.

What I want to do is, when the user presses a button on the child
window, I want the parent window to be the target of the server response.
And I also want the child window to close.

These windows are not frames, but fully-fledged browser windows.

Is there a relatively easy way to do this, does anyone know?

- Tim

--

Jul 23 '05 #1
2 5697
Spammay Blockay wrote:
I'm writing a Struts application, and one window pops up another,
non-modal, window.
There's your first problem. Solve that, i.e., by not popping up new windows.
What I want to do is, when the user presses a button on the child
window, I want the parent window to be the target of the server
response. And I also want the child window to close.


None of this can be accomplished with html, which is the topic of this
group. If you want to trod the path to hell, you'll have to take the
comp.lang.javascript route.

--
Brian

new sig: The road to hell is paved with popup windows.
Jul 23 '05 #2
In article <0u9Nd.4239$uc.2880@trnddc05>,
Brian <us*****@julietremblay.com.invalid> wrote:
Spammay Blockay wrote:
I'm writing a Struts application, and one window pops up another,
non-modal, window.


There's your first problem. Solve that, i.e., by not popping up new windows.


Sadly, this is a HUGE application that we inherited after the
stupid company management decided it would be a great idea to
outsource the whole thing to India. I hope they're learning
the errors of their ways. This is a project that should have
been done in Swing, for example, as it is not suited to
a stateless protocol setup.
What I want to do is, when the user presses a button on the child
window, I want the parent window to be the target of the server
response. And I also want the child window to close.


None of this can be accomplished with html, which is the topic of this
group. If you want to trod the path to hell, you'll have to take the
comp.lang.javascript route.


Already have -- thanks. :-)

- Tim

--

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe D | last post by:
I think this is a simple question. But I am new to JS. Here is what I want to do: From a parent window, open a popup window (child) to get data from user, then user submit the request, close the...
2
by: Jacques Koorts | last post by:
Hi, I've managed to get the parent window close the child window (popup). I do this by the child calling the parent to close it. How can the child close itself without help from parent? So...
1
by: Spammay Blockay | last post by:
Hi all... I'm writing a Struts application, and one window pops up another, non-modal, window. What I want to do is, when the user presses a button on the child window, I want the parent...
2
by: John Dalberg | last post by:
I have a closed box system which opens an html page. The page closes by the system. I have access to the html page. I added code to open a child window from this page. However when the parent...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
1
by: Bill Borg | last post by:
Hello all, Simple chat app, where the site owner has a master window with all requests for chat, status of each room, etc., and child windows for each separate chat in which the owner is...
10
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
5
by: midnight_use_only | last post by:
hi all, quick question, how do you submit a form to a parent window from a child popup window? i have the following and all online documentation *suggests* that it should work but it does NOT: ...
4
by: Buddha | last post by:
Hello, I posted this on two forums, without too much help .. and I am kinda stuck in this. I need to refresh the parent page from the second child window which is opened by the first child and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.