POPUP closing question

Good morning experts
I have searched the thread through on this and have attempted many things. I have a "super" page in my application that displays a record and all of its m:m relationship details. Also, I have a series of buttons on this page that call popup windows that will allow a user to enter data on a specific detail section (comment, child, etc). Once they have entered the data and pressed the "Create" button on the popup, the popup window is redirected to another page that does nothing but close the popup. My problem is that once the popup window is closed, I want to automatically refresh the super page so the data they just entered is displayed.
Any ideas on how to do this?
Thanks in advance
PamH
Edited by: Pam H on Feb 5, 2010 8:00 AM

To refresh parent page create a page process.
htp.p('<script>');
htp.p('window.opener.location.reload(true);');
htp.p('</script>');There is no need to branch to other page to close the popup. You can close poup by inbuilt popup porcess.
Create a process and select Close Popup process.
After creating close popup make sure branches associated with the button is removed.. else it will result in error.
Regards,
Shijesh
Edited by: Apex_Noob on Feb 16, 2010 4:01 PM

Similar Messages

  • Month end closing question from a DBA

    Hi all,
    I am a DBA not a functional setup person/Business Analyst; so excuse me if my question is not put in business terms.
    We have an 11.5.10.2 that operates in US, Canada, Peru, China and Australia. Each of these have their own Set of Books. When the time comes to do month end closing, our finance people tell all incl our US and other countries branches to stop the following transactions on the system while month end closing is going on:
    •     Inventory
    o     Pick, pack and ship for SO’s and Internal Req’s
    o     Receiving of PO’s, Internal Req’s and OSP
    o     Subinventory transfers
    o     Consignment consumption
    o     Inventory adjustments
    •     WIP
    o     WIP moves and completions
    •     Accounts Receivable
    o     Cash applications
    o     Invoicing of any shipping activity past cutoff o     Manual invoices and credits
    •     Accounts Payable
    o     Invoice entry and cancellation
    o     Manual or batch payment runs
    Question that I have is: how can month end closing be done where each of these countries could freeze these activities for their last day of month when last day of month starts obviously earlier in Australia and China compared to US, Canada and Peru? As of now, they all seem to follow the last day of the month procedure as the US. It takes about 7 hours for the whole process to run.
    All comments/suggestions welcome.
    Thanks,
    Edited by: DBA115102 on Mar 4, 2011 7:14 PM

    Hello.
    SQL> select p.period_name, ae.event_status_code, p.closing_status, h.AE_HEADER_ID
    2 from ap_ae_headers_all h, ap_accounting_events_all ae, gl_period_statuses p
    3 where ae.accounting_event_id = h.accounting_event_id
    4 and h.period_name = p.period_name
    5 and p.application_id = 200
    6 and p.closing_status = 'C'
    7 and ae.event_status_code = 'CREATED';
    no rows selected
    SQL>
    As you can see, i cannot find similar situation. My database has data since 1998. Perhaps we are using different APPS versions, mine is 11.5.10.2
    Octavio

  • Basic stream/file/socket closing question

    If you create a stream, it's generally considered good practice to call close() on that stream once you're done with it. the same for files and sockets. My question is what happens if I don't keep a reference to the object that needs closing. For example:
    BufferedInputStream bis = new BufferedInputStream(new FileInputStream(new File("myfile.txt")));Clearly, I can close() bis. But does doing so close the FileInputStream, and the File? OR, will those remain open until the garbage collecter gets around to closing them. If not, is it considered good practice to keep references around for the sole purpose of explicitly closing the resource so you don't have to wait for garbage collection?
    Finally, is it necessary to close() sockets/files/streams prior to calling System.exit()? It would save me a great deal of code in my exception handlers if I could simply exit() without explicitly freeing the resources I've opened prior to hitting the exception.
    Thanks.

    You should only need to call close on bis. That method call should take care of calling close on the underlying stream.

  • Popup witth: question, table and YES/NO buttons

    Hi there. Maybe You have encountered such a popup window in which I could display informations:
    1) Question text, sth like... "You hadn't saved Your changes. Do You wish to save them now?"
    2) list of changes (list contains 1-10 items), sth like ...
    - change 1
    - change 2
    - change 3 ...
    3) YES/NO button to decide if user wants to save or not
    At this moment I'm thinking of creating a Z-FModule... but of course I'd prefere to use standard Greetings. P.

    Hi,
    Try using the following function module that could possibly serve your purpose.
    data: ans(1) type C.
    CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
       TITLEBAR                    = 'Confirm Data Loss'
      DIAGNOSE_OBJECT             = ' '
        TEXT_QUESTION               = 'Do you want to save your data?'
      TEXT_BUTTON_1               = 'Ja'(001)
      ICON_BUTTON_1               = ' '
      TEXT_BUTTON_2               = 'Nein'(002)
      ICON_BUTTON_2               = ' '
      DEFAULT_BUTTON              = '1'
      DISPLAY_CANCEL_BUTTON       = 'X'
      USERDEFINED_F1_HELP         = ' '
      START_COLUMN                = 25
      START_ROW                   = 6
      POPUP_TYPE                  =
      IV_QUICKINFO_BUTTON_1       = ' '
      IV_QUICKINFO_BUTTON_2       = ' '
    IMPORTING
       ANSWER                      = ans
    TABLES
      PARAMETER                   =
    EXCEPTIONS
       TEXT_NOT_FOUND              = 1
       OTHERS                      = 2.
    case ans.
    when '1'.
      PERFORM SAVE_DATA.
      LEAVE PROGRAM.
    WHEN '2'.
      LEAVE PROGRAM.
    WHEN 'A'.
        MESSAGE s000(su) WITH 'Action cancelled by the user'.
    ENDCASE.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Popup crashes (hangs up) when second popup closed

    Hi experts,
    I've got a weird behaviour...
    After opening and closing a second popup (P2) in a popup (P1) (e.g. P2 = F4-help for a field of P1), P1 crashes/hangs up. Even within standard component like SALV_WD_TABLE.
    Weird thing is, that this only occurs on the test-system, not on the development-system.
    Do you have any idea?
    Thanks all..
    ismail

    Hi all...
    this is a SAP Problem. "Freezing popup after closing second popup".
    Please refer to OSS notes:
    1604022 and1604205 WD UR Mimes.
    I've search for month to get this problem fixed.
    BR,
    Ismail

  • Popup window question

    Hi,
    I did a Portal application using JSF and RAD 6.0 in the Portal page I have two portlets side by side the portlet in the right side has a link to open a popup window when I click in that link and the popup window opens the portlet in the left side is showing in the popup window is there any way to tell the popup np to show the portlet on the left side. I used jsf-popup
    thanks

    Here is how to open a TitleWindow and initialize some values
    in the newly opened TitleWindow.
    var myWin:
    YourTitleWin=YourTitleWin(PopUpManager.createPopUp( this,
    YourTitleWin , true));
    myWin.setParentRef(this);
    In the newly opened window you have to have a method
    setParentRef that accepts a window as an argument. Store the parm
    as a variable in the window.
    There are other ways to do this .. this is just one of
    them.

  • Popup closing even with validation errors in IE - works correctly in FF

    Hi,
    Using JDeveloper 11.1.1.4.
    We have a page where the user can upload files via a popup. After selecting the file to upload and submitting, the file type and size are validated against application parameters. If the validation fails, the inputFile component is set invalid and a ValidationException is thrown. In Firefox, the functionality is as expected: the popup stays open and the validation error message is displayed next to the inputFile component. In Internet Explorer, however, the popup closes without any error being displayed.
    Popup:
    <af:popup id="pt_fileUploadPopUp" contentDelivery="lazyUncached"
                            binding="#{FileUploadOperations.uploadFormPopup}">
    <af:inputFile label="#{UC1315ResourceBundle['L1336']} "
                                      id="pt_i3f1"
                                      value="#{FileUploadOperations.uploadedFile}"
                                      requiredMessageDetail="#{UC1315ResourceBundle['REQ_MSG_FILE_UPLOAD']}"
                                      validator="#{FileUploadOperations.validateFile}"
                                      required="true"/>
    <af:commandButton id="pt_CB_2001"
                                                text="#{UC1315ResourceBundle['BUTTON_2007']}"
                                                actionListener="#{FileUploadOperations.uploadFile}"
                                                partialSubmit="true"
                                                disabled="#{pageFlowScope.pApplicationMode == 'PREVIEW'}"/>
    </af:popup>Validator method:
        public void validateFile(FacesContext facesContext,
                                 UIComponent uIComponent, Object object) {
                try {
                    // validation logic
                } catch (CustomFileUploadException exp) {
                    inputFileComponent.resetValue();
                    inputFileComponent.setValid(false);
                    FacesMessage facesErrorMessage = new FacesMessage();
                    facesErrorMessage.setSeverity(FacesMessage.SEVERITY_ERROR);
                    facesErrorMessage.setDetail(exp.getMessage());
                    facesErrorMessage.setSummary(exp.getMessage());
                    throw new ValidatorException(facesErrorMessage);
        }Any ideas what might be the problem here?
    Thanks,
    Joonas

    @Srinivas, I changed the component inside the popup to af:dialog (was af:panelWindow before) but this didn't solve the problem - the behavior is the same. Thanks for the suggestion though.
    @Frank, seems this problem is implementation-specific. I created a simple test case and the validation error was displayed correctly in IE.

  • AP month-end closing question

    consult :
    if there are records in table 'ap_accounting_events_all' which EVENT_STATUS_CODE = 'CREATED' , will them influence the AP month-end closing ??

    Hello.
    SQL> select p.period_name, ae.event_status_code, p.closing_status, h.AE_HEADER_ID
    2 from ap_ae_headers_all h, ap_accounting_events_all ae, gl_period_statuses p
    3 where ae.accounting_event_id = h.accounting_event_id
    4 and h.period_name = p.period_name
    5 and p.application_id = 200
    6 and p.closing_status = 'C'
    7 and ae.event_status_code = 'CREATED';
    no rows selected
    SQL>
    As you can see, i cannot find similar situation. My database has data since 1998. Perhaps we are using different APPS versions, mine is 11.5.10.2
    Octavio

  • JOptionPane Closing Question

    I am trying to close a dialog window when a boolean variable in another class changes to false. I use JOptionPane inside of an instance of Dialog. I have tried using hide(), dispose(), and setVisible(false). The problem is that the dialog window does not know to check the variable. Do I need to add some kind of event listener or what? I know this isn't compilable but I think this is a simple question, I must just be overlooking something...
          Object[] options = {"Stop"};         
             JOptionPane optionPane = new JOptionPane("Playing...",          
                  JOptionPane.OK_OPTION,
               JOptionPane.INFORMATION_MESSAGE,
               dialogIcon,     //don't use a custom Icon
               options,  //the titles of buttons
               options[0]); //default button title
             Dialog playingDialog = optionPane.createDialog(frame, "Status");
             playingDialog.setVisible(true);
             //here is what needs to happen when the orhb class sets getPlayState to false
             if(!orhb.getPlayState()){
               System.out.println("done playing, close window");
               setVisible(false);
             }

    Here is the code that provoked my answer, above:Yea, I thought the same thing at first but then I when I re-read it, I realized that the OP was saying this code:
    //here is what needs to happen when the orhb
    class sets getPlayState to false
    if(!orhb.getPlayState()){
    System.out.println("done playing, close window");
    setVisible(false); is not being called and the question was where to put it. (Of course once he determines where to put that code he will have to call it on the appropriate object)

  • I seriously don't know what caused this to start being a problem until today it worked fine, but I added an exception for popups full question in DETAILS

    is there anyway to allow Firefox to allow pop ups from this 1 page of Facebook / well this 1 game https://apps.facebook.com/vampiresdarkside/ and not the entire pan in the Ass Pop up happy site, I cant see any sense in allowing popups from all
    apps.facebook.com
    and when I try to add it as the exception should be your program edits it to be that crap above instead of the exception I entered specifically,
    apps.facebook.com/vampiresdarkside/
    I seriously don't know what caused this to start being a problem until today it worked fine, but I added an exception for popups from this one site in Chrome and Firefox decided it wouldn't allow it popups from this part of Facebook and no I am not allowing all the FB apps to have popups I never had to before
    apps.facebook.com/vampiresdarkside/
    have popups after adding the popup exception in chrome, and no I did nothing to Firefox but it is kinda asking me to switch to Opera or some other crap browser with it acting like this, I modified the exception in chrome and Firefox now wont allow the pop ups it always had up until chrome allowed them WTF

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Lid closing question.

    I am an Apple newbie. I have a mid 2014 MacBook Pro that I just bought a few weeks ago and would like to know how to change actions when closing the lid. Is it possible to have the laptop blank the screen and lock as opposed to going to sleep when you close the lid? I can't find a setting for this anywhere. If I'm playing music over my bluetooth speaker and want to leave the room and close the lid, the laptop goes to sleep even when plugged in. The only settings I see are under "System Preferences - Energy Saver" but nothing there allows me to just blank the screen when closed.
    Any help with this would be appreciated. Thanks
    MacBook Pro 15" Retina (mid 2014)
    OS X 10.10.1

    Formally this is not possible. But there's an app for that.
    http://semaja2.net/projects/insomniaxinfo/

  • Popup Menu question

    When I make popup-menus, I the second layer has a little red
    x on it before it is highlighted. The first layer doesn't do this.
    I don't get it. How do I get rid of the red x. I am using DW 7.0.1
    and IE 7.0

    Glad to be of help, even in a roundabout way (o:
    Jo
    "magnum54o2" <[email protected]> wrote in
    message
    news:e4ne3e$kv9$[email protected]..
    >I think this is the wrong code, but I believe I've got
    it. Your hint about
    >an
    > image not loaded helped me find arrows.gif that was
    added to my folder
    > after I
    > added the second tier to the popup menu. I "put" the
    arrows.gif and now
    > it
    > looks fine. Thanks for the help!
    >
    > Dennis
    >

  • Remote Desktop - Cmd+D - save without closing question

    I'm trying to write a script that will allow me to quit an application (SketchBookExpress) without saving changes.  I'm having trouble with the syntax for the "Don't Save" (cmd+d).  The script runs but stops at the on screen Save/Canel/Don't Save dialog box. 
    What I have tried is the following:
    osascript -e 'tell application "SketchBookExpress" to activate';
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to keystroke "d" using {command down}';
    And I've tried:
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to key down command';
    osascript -e 'tell application "System Events" to keystroke "d"';
    And, I've also tried:
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to to keystroke "d" using {command}';
    I'm very new to Remote Desktop and AppleScript and would appreciate any help you can provide about how to close an app without saving it.
    Thanks.

    I think you need to turn this on its head.
    SketchBook Express is not scriptable, so you can't use the 'normal' method, which would be:
    tell application "SketchBook Express" to quit saving no
    The problem with your approach is that AppleScript is serial - each command is executed in turn, so it's waiting for the app to quit before executing the next command (unless you run all these commands in parallel, but that's a different issue.
    However, there's a simpler solution to your problem:
    killall SketchBookExpress
    This sends the Kill command to the app, quitting it, bypassing the whole 'Save changes?' process.
    This is a standard shell command, so you don't need AppleScript (or osascript) to run it. If you do want to wrap this in a larger script, just use 'do shell script':
    do shell script "killall SketchBookExpress"

  • Laptop opening and closing question.??

    Hi,
    When I open and close my laptop the screen housing seems too tight. It will make a pop sound when I start to close it. Or if I adjust the screen to fit an angle Im sitting at it will make that pop sound. Is there some kind of adjustment/tention or something. I dont want it to keep doing it and break something in the hinge area. I just bought it in January new. Thanks!

    Post this on the hardware forum for your laptop model since this forum really is for software that can be run on many different model Macs and is not the best place to ask about hardware of one model.
    Since it is new my inclination would be to take it back to the store and ask them about it.

  • IBook top part (screen) closing question

    Hi,
    Like to ask if is there any bad just close the top of the computer, wait until the white "lamp" lighting and move away only after?
    Can it make any demmage to the HD?
    Thanks in advance.
    laci

    Hi laci,
    When the iBook sleeps, it goes into a low power mode and the hard drive stops. What you describe is what I almost always do. I rarely shut it down.
    John

Maybe you are looking for

  • Multiple Apple IDs in use on iPhone

    Hi, I have a more or less problem iPhone but I'd like to solve it since I'm kinda a decent person. So I just reset mi iPhone and when I used my iCloud backup to restore all my files, apps and so on, it asked me to type in passwords for three Apple ID

  • Using Presenation Variables in the Report fields

    Hi, I have a report and the report format is column a (01/01/2012-01/31/2012), Column B (02/01/2012-02/29/2012), Column c (amount),Column d (amount),Column e (dimnesion) these are my report columns.column a and column b are dateranges.one is lastmont

  • Drag copy cells in numbers

    Right, am I being thick or has numbers changed?? I'm trying to copy a figure in one column to several rows below it, eg:  A1 reading £20 to A15 all reading £20 I did this before by going to the bottom right hand corner of the cell and dragging it dow

  • Needing Help w/ Ringtones

    i just want a cool ringtone---why is it so hard? i bought a ringtone from itunes & downloaded it, but it will not sync to my phone. can anyone help? <Edited by Moderator>

  • Clarrification about JSF and JBoss Seam

    Hi , i have just started a couple of hours ago reading about JSF and JBoss Seam and it seems interesting ...... here is my question : i have a form ( registration form ) written in jsp and a congratulation page (jsp page too) is right what i am sayin