How to Close Multi Child Windows : ADF Swings - Urgent

Hi,
I have developed a application having Login , Filter , Master , Details , and Detail Screen . In the Filter Screen If i click on button called " CLOSE CHILD WINDOW " , all the screens ( Master , Details And Summary ) to be closed .
Can u please let me know how can i do this .
For even Child Window to open from parent Window , i have implemented same piece of code from adfwhitepapers docs.
private void jButton1_actionPerformed(ActionEvent e) {
SalesOrderDetails salesOrderDetails = new SalesOrderDetails();
salesOrderDetails.setBindingContainer(createDetailBinding(salesOrderDetails));
DCIteratorBinding iterBinding = getPanelBinding().findIteratorBinding("SalesOrderEOVO1Iterator");
RowSetIterator detailAccessor = iterBinding.getRowSetIterator();
salesOrderDetails.getPanelBinding().findIteratorBinding("SalesOrderEOVO1Iterator").bindRowSetIterator(detailAccessor, false);
salesOrderDetails.setVisible(true);
int count = 0;
private DCBindingContainer createDetailBinding(SalesOrderDetails salesOrderDetails)
String detailBCName = "SalesOrderDetailsPageDef"+count;
if (panelBinding.getBindingContext().get(detailBCName) == null)
DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject("oracle.eaton.userinterface.pageDefs.SalesOrderDetailsPageDef");
DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
bc.setName(detailBCName);
panelBinding.getBindingContext().put(detailBCName, bc);
++count;
return bc;
return null;
Regards
Bhanu Prakash

I have referred this link for the consecutive opening and closing screen for the linkage between the two screen like 1&2 , 2&3 , 3&4 , that was my understanding if so not can u please explain me . My requirement is to close all the child windows from the Super Parent Window , i.e. on Select of close button in Filter Screen all the screen ( Master,Detail,Summary ) should be disposed or close ,
I have generated 4 screens :::
1. Filter Screen
2. Master Screen
3. Detail Screen
4. Summary Screen
Can any one help me by giving there solution to sort out this issue . Its very Urgent .
Regards
Bhanu Prakash

Similar Messages

  • How to close a popup window for system events?

    Hi,
    I have a screen 110 which shows several input field in popup mode.
    The Cancel button can close the screen.
    But my question is how to close the popup window for the following system events?
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close" or "Stop Session"
    The PAI subroutine of the screen has not been triggered for the above system events.
    Thanks for the coming help.
    Best Regards,
    David

    Hi Siddharth,
    I did check with another very experienced ABAP developer.
    The solution was the same as what Arunima Rudra provided.
    And I got a sample program which did work properly.
    The headache is that the system events in my program still cannot be triggered even after I have all the same changes.
    Anyway, I suggest you to try the solution as provided by Arunima Rudra.
    It should work for 2 system events:
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close"
    For "Stop Session", it should not be handled by popup.
    You can observe the same behavior in ALV sorting configuration popup.
    Good luck!
    Regards,
    David

  • How to close the main window  from Popup

    hello all,
    i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.
    how can do this please?
    BR

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

  • How to close only one window

    hi,
    I'm developing a java application which will involve a pop up text box (a JPanel). This has a JButton that when pressed will cause the pop up box to close but not the actual application. I've tried System.exit(0); but this causes the entire application to close.
    Could someone tell me how to close the window but keep the application running.
    Cheers

    Switch it to invisible, and dispose it.

  • How to close programaticaly  IE window which FileDownload opens ?

    Hi there
    I have popup with FileDownload control on it. Clicking the link(FileDownload) system opens IE window with small "Download" window (open,save,cancel).
    The question is how to close programmatically this IE window after download (or open) is complete ?
    I don't want the user to have to do that manually ?
    Thanks

    Stefan,
    Have you set "attachment" type for your binary resource?
    If you are using NW04s (7.00) then make sure you specified:
    final IWDResource resource = <...>;
    resource.setAttachement( false );
    If you are using NW04 (6.40) then:
    final ISimpleTypeModifiable mtype = attr.getModifiableSimpleType();
    final IWDModifiableBinaryType btype = (IWDModifiableBinaryType)mtype;
    btype.setMimeType(
      new WDWebResourceType("xls", "application/vnd.ms-excel", true/* is Attachemnt */)
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • How to close a popup window in a used component?

    Hi Experts,
    I have two applications in the same project, and they each have one component controller. Let they be component A and B. They have similar functionalities and screens. There is a popup window in A that I would like to use in B instead of creating a new popup window in B, so I added a used component of A in B in order to share the popup window. I am able to click a button in B to get a popup window from A successfully, but I am unable to close the popup window since the event has been created in A.
    Can anyone suggest me how to fix this please? I would really appreciate your help.
    Thanks,
    -Napadol

    Hi,
    You can either use the approach above, which is having an Attribute, type IWDWindow in B's Component Context. When you open the popup you store the reference. When you click close you get that reference back and destroy the window.
    Note, I'd suggest you to have your "View" with no Close Button. Then in Component A you create another View that has an UIViewContainer with your Popup View. You can code the Close code in Component A.
    This way you can do the same and have a code in Component B to close your window.
    Other way would be having it as a Component variable and using the Component Interface on A (create a Method) that goes to Component A and destroy that instance.
    Regards,
    Daniel

  • How to close mail multiples window mail?

    Hello,
    I have a pbm: My cat slept on a keyboard and opened 20 windows of mail mac's.
    I don't know how to close those.
    i have no access to the mail toolbar.
    Any ideas?
    Thanks.

    You can always just Force Quit the Mail app by holding down the command-option-escape buttons at once and selecting "Mail"...
    Believe me, I know what you're going through...
    CLinton

  • How to close a JFrame window without its obj ??

    Hi
    I have a pure standard alone java applocation. When app was run, a GUI window/class ( JFrame class ) was launched/new to show some message. After a while, I want to close this window. If I did not pass or save this window obj, can I close this window ?? If yse how to close? In other word, it is hard for me to save or pass this window obj. But I have to close this window later on. I plan to use some static variables or method so I can call any time and try to close this window later on, but I failed. Thanks for help
    gary

    Hi
    Thanks all response. I am sorry I forgot to mention I can't use System.exit(0) because the application has not finished. But window message has finished its function and it no long be used again. In other word, I want to close window only , not whole application. If you use System.exit(0), it will close whole application. Message window can be used only during a piece of time. Thanks
    gary

  • HOW TO CLOSE A POPUP WINDOW IN  SELECTION-SCREEN

    Hi,
      My problem is i had created a selection-screen with some field on initial screen and buttons on application tool bar.when i start my selection screen initial screen appears.now when i click a push button on application tool bar an selection-screen appears as window if i close that popup window i am going back to program.but i want to go back to initial screen.

    SET PF-STATUS  '<ZSTATUS>'
    CASE sy-ucomm.
    WHEN 'BACK'.
       LEAVE PROGRAM.
    ENDCASE.
    IT will work.
    regards,
    swarup

  • How to create a Child Window without closing the parent Window

    Hi All,
    I have a requirement to create a child window without closing the parent window. I have to click an item in the parent window, then one child window should get open. The parent window should not be closed before closing the child window.
    Kindly help me in this.
    Thanks and Regards,
    Myvizhi

    Hi All,
    I found the solution for this. I have created a new page. Then i created an item as link item style in the parent page and i have set the following properties in the Link item:
    Destination URI : OA.jsp?page=/seagate/oracle/apps/seasoa/que/webui/SeaSoaHeaderDetailPG&headerId={@ErrHeaderId}&retainAM=Y&addBreadCrumb=Y&backPage=S
    Target Frame     : _blank
    This is opening the new child window without closing the parent window.
    Thanks and Regards,
    Myvizhi

  • Refreshing Parent Window on Close of Child Window

    I need to open a new popup window/tab using window.open method of javascript and on close of the new tab/popup window have to return some values from closing window to parent window. When I open a popup suing window.open in my asp .net application which is supposed to be compatible with iPad. Value has successfully been returned when I use IE, Chrome, FireFox and Safari (on PC with windows 7).
    Unfortunately the same code fails in Safari when I access the application through iPad. On iPad domObject is prompted on new window open instead of prompting returned value on new window close.
    Below is the code. Parent Window:
    Parent Window:
    <script type="text/javascript">
            function modalWin() {       
                    retVal = window.open('About.aspx', 'name', 'height=255,width=250,toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no ,modal=yes');
                    alert(retVal);
        </script>
    //HTML
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <a title="Test New Popup" onclick="modalWin();">New Popup for all browsers.</a>.
    </asp:Content>
    Popup window or new tab:
        <script type="text/javascript">
            function closeIt(tempValue) {
                window.returnValue = tempValue;
                window.close();
        </script>
    //HTML:
    <input id="btnButton1" value="btnButton1" type="button" title="Press it to Close" onclick="closeIt('btnButton1');" />
        <br />
        <input id="btnButton2" value="btnButton2" type="button" title="Press it to Close" onclick="closeIt('btnButton2');" />
        <br />
        <input id="btnButton3" value="btnButton3" type="button" title="Press it to Close" onclick="closeIt('btnButton3');" />

    HI for your reference
    am opening the new window by using
    <i><b>page navigation property</b></i> in that I am setting the
    Launch a new window  :   display in seperate window
    now if i close the main window ie potral screen i want the window which is opened through this also to be closed
    regards
    Abhijith YS

  • How to create multi-frame window

    What I want to do is to create a regular application window that has three frames, all divided by shared borders. To further explain what I need, please envision your typical mail client. You have a folder-tree pane, an email list pane, and an email reader pane. All of them part of the same window, yet separate entities. What makes them interesting is that by grabbing the "bar" or border that separates them, you re-size two (or three) panes at once! As one gets larger, the other (s) necessarily shrink.
    In my Netbeans IDE, You can create a JFrame, which is the main window, and you can add, say a menu bar. You can also add a container named 'Panel' which seems to be similar to what I need but not quite. Multiple panels can not share the same border for example. So my question is this:
    How does one divide a JFrame into multiple frames or panels? Thanks!

    JSplitPane
    For questions about its usage the best place is the Swing forum: [http://forum.java.sun.com/forum.jspa?forumID=57]

  • How to close one browser window and return to a named anchor on a page in another window

    I'm working on a website that has several book images at the bottom of each page. I have set it up so when the user clicks on a book another smaller browser window opens up with a description of the book. At the bottom of book description window, I have a close button which I added the window.close() behavior to. But I'd like to not just have the window close but return the user to the bottom of the original page where I have the books, an area that I have applied a named anchor to. Any ideas on how I can get this done.
    I'd appreciate any and all help.

    I haven't tried to customize this lightbox extension much.  But I'm pretty sure the size of the box is pre-determined by image size.  Bigger image, bigger box.  And that is coded into one of the Lightbox javascript libraries.
    As to placing a link in the caption, sure.  Just paste your html link code into the Lightbox Caption Panel like so.
    <a href="http://amazon.com"> Buy now from Amazon</a>
    There is much more detailed information about Lightbox and how it works at the huddled together website.
    http://www.huddletogether.com/projects/lightbox/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How to close Internet Explorer Window

    Hi,
    I have a .jsp with links and when you click on a link it will open up another IE window. How do I close the second IE window? I want to put a "close" link on the page so the user can just click the link.
    Thanks!

    <a href="javascript: window.close()>Close Window</a>                                                                                                                                                                                                           

  • How to close my program windows?

    Hey
    One thing I have noticed about apple computers is that you don't just X your programs out, you need to click the program up on the left and click "Close Safari" for example or they don't close correctly, or do they? Because when I just x out my programs / applications I don't know if my macbook closes them? I'm also wondering, if you could x them out, there wouldn't be no option to need to close them which apple computers offer, or by also pressing CMD (Command) plus Q. So I'm just wondering, is it enough by just x'ing or what's this deal about
    Thanks in advance

    Matthew Shamounnia wrote:
    One thing I have noticed about apple computers is that you don't just X your programs out, you need to click the program up on the left and click "Close Safari" for example or they don't close correctly, or do they? Because when I just x out my programs / applications I don't know if my macbook closes them?
    What you are running into is a basic difference between Macs and Windows. In Windows, every application is contained in an enclosing window with its own menu bar. Inside that are the document windows. When you click the X in the enclosing window, you X-out the entire application and it quits. You can also click X in document windows to close them without closing the entire application, but you can always be sure the clicking the X on the application window will always close the application.
    In OS X the enclosing window is optional. This leads to a lot of confusion with new users because of the inconsistency in the user interface. In OS X, some apps use an enclosing window like iPhoto. If you mouse over the red button you see an X, if you click that it works like Windows where the program quits. But some applications like TextEdit do not have an enclosing window so if you click the red button/X you are only closing a window, and the application stays open.
    In general, if it is a single-window application, clicking the red X button closes the entire program; if it is a multiple-window program you must use the Quit command instead. But this is still confusing because you may not have advance knowledge of whether an application is single or multiple window. The user experience on Windows is a bit more consistent in this area.
    To keep things simple on the Mac, it's best to not try and figure out what kind of program it is, forget about whether you should be clicking this or that, and instead just use File/Quit or command-Q to close an app because that works every time.

Maybe you are looking for

  • Imac won't go to sleep anymore: fAudioEngineArray" failed in AppleHDADriver

    Hi, I have an imac 27 , with Lion , and the last update. from yesterday, when I push the power button, or go to Apple->Suspend , my imac just shut down the screen, but the fan are still on and when I touch the mouse or the keyboard it turn on the scr

  • Data not getting bind with cursor

    Hi, Database: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit OS: Windows Server 2003 Consider following procedure: Proc P1() as cursor c(in_par varchar2) is select distinct col1, col2 from Table1 where col3 = in_par; begin for rec_

  • IPod displays a folder icon with an exclamation point

    I know ,ive read & tried the 5Rs posted on web but it just don't seems to work. I keep having this icon even when i plugged onto the USB,there's no response at all EVEN when i open the iPod Updater 2006-01-10 to restore factory settings..Why??????? I

  • Delta Que / v1 update / v3?

    Hi All! I have a very basic question ( according to u), As per Roberto weblog, in direct delta, for each document posting the data is directly transferred into Delta Que(RSA7) with in V1 Update. what is V1? Both statistic update and document update a

  • ITunes 7.3 install corrupted and won't uninstall or allow reinstall

    Having problem with iTunes 7.3 uninstall. Windows Installer tells me iTunes.msi is missing and asks where to browse for it. I cannot uninstall with out this file, and cannot install a new copy of iTunes 7.3 until I do. Any suggesstions? Chris