Rich, Thanks for the response, I think that we are on the same page with the "onPopupDone". It seems that I should be able to call an action from the parent window with this. What complicates matters for me is that I have a form bean from my popup that I would like to pass back to this action that the parent window is going to hit. I think I recall from previous conversations, that I can't do this one directly. It sounds like I will have to post vales from the popups form bean back to the parent window to simulate this behavior.
Sound about correct? Regards, Jack -----Original Message----- From: Rich Feit [mailto:[EMAIL PROTECTED] Sent: Monday, September 19, 2005 11:02 AM To: Beehive Users Subject: Re: Popup and parent window action Hi Jack, Do you mean that when the popup window closes, the original window will navigate to another action (as if you'd clicked an anchor in that window)? If so, then this is the kind of thing that onPopupDone was intended for (setting its javascript to something like "window.location='someAction.do'"). The reason there isn't an attribute on netui:configurePopup is that the main case for our popup infrastructure was to leave the original window in place (no navigation), and to map values from the popup window back into it. Otherwise, people were already putting things like this in anchors within popup windows: window.opener.location='someAction.do'; window.close(); Which isn't *quite* as good since it requires knowledge of the parent window's page flow, but it's pretty simple. If I'm missing the idea of what you're doing, though, just post an example of it (or if it's too big, you can open a JIRA issue on me). Rich Jack Rudnick wrote: >All, > >Has anyone attempted to use a popup in the flowing sequence? > >1) Open a popup from 'popup="true"' attribute on a 'netui:anchor' >2) In the popup, have an "Ok" button, that will close the popup, and >call an action in the PARENT window. > >It feels like there should be a parameter or "quick-'n-easy" facility >that you can set to make this happen "automatically", however, the only >thing I can see that will assist in this is the "onPopupDone" javascript >attribute in the 'netui:configurePopup' tag. This seems like it will >eventually let me do what I need it to, however, it also seems like will >require alot of hoops to jump through just to get the action in the >parent window. > >Any thoughts are appreciated. > >Regards, >Jack > > > >
