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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Spammay Blockay

    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

    --

  • Brian

    #2
    Re: Results from child window submit into parent window, then childcloses -- How To?

    Spammay Blockay wrote:
    [color=blue]
    > I'm writing a Struts application, and one window pops up another,
    > non-modal, window.[/color]

    There's your first problem. Solve that, i.e., by not popping up new windows.
    [color=blue]
    > 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.[/color]

    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.javas cript route.

    --
    Brian

    new sig: The road to hell is paved with popup windows.

    Comment

    • Spammay Blockay

      #3
      Re: Results from child window submit into parent window, then childcloses -- How To?

      In article <0u9Nd.4239$uc. 2880@trnddc05>,
      Brian <usenet3@juliet remblay.com.inv alid> wrote:[color=blue]
      >Spammay Blockay wrote:
      >[color=green]
      >> I'm writing a Struts application, and one window pops up another,
      >> non-modal, window.[/color]
      >
      >There's your first problem. Solve that, i.e., by not popping up new windows.[/color]

      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.
      [color=blue][color=green]
      >> 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.[/color]
      >
      >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.java script route.[/color]

      Already have -- thanks. :-)

      - Tim

      --

      Comment

      Working...