Unable to return from a column link to popup page in the same window

Using 3.2
I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
Thx.
Sandie

Use the template 'Popup' for your page.
Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
Do not create any branches on the popup page or any target in your Save button.
If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
htp.p('<script>');
htp.p('window.opener.location.reload(true);');
htp.p('</script>');
I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
Edited by: rbheemir on Nov 10, 2010 2:56 PM

Similar Messages

  • How to Link another JSP Page in the same portal component

    Hi Guys,
      I am a new guy to SAP, currently, I want to add href link to another JSP in the same component, so I used <a href="<%=webpath%>/jsp/AboutPage.jsp">, but obviously, the link can not display target page due to privilege restriction, does anyone know how to resolve this problem? thanks very much!
      Best Regards
      James

    Thanks srinivas,
       Sorry for late response, too busy yesterday.
       Currently, I want to create a URL link in the page which links another JSP page in the same portal component, but the problem is this JSP page is under PORTAL-INF folder, so due to privilege problem, I can not create the link like the following:
    <a href="jsp/test.jsp">Link</a>
       I konw if I move test.jsp out of folder PORTAL-INF, the above way should work, but then, I found the JSP page can not access componentRequest and get resource bundle object.
      Am I clear, please let me know, thanks!
    Regards.
    James

  • How do I link to another page in the same iBook?

    I am trying to link from within the text of my book to another page in the same iBook. How do I do that in iBooks Author?
    For example...
    The text on page 1 might read.... "If you'd like to jump to the page on herbivores, click here". And that text would be linked to page 49, which is about herbivored.
    Any ideas? Greatly appreciated!!

    It looks like I figured this out by playing around with it.
    The reason that I couldn't bookmark the text earlier is that I had created a text box and entered text in there. When you create a text box, that text is not recognized by the bookmark widget. However when you type directly into the page template itself, it recognizes the text just fine. I'm able to set bookmarks and then link to those bookmarks using the hyperlink featuer. Looks like it's solved, I was just trying to use the wrong tool for text entering.
    Thanks for your help Don, you've been great!

  • Go back to previous location after linking to another page in the same document

    I have set up links in a pdf file and would like to have the form go to the page view attached to the link and then return to the location that initiated the link.  I usually use bookmarks to move around pdf forms, but the user didn't want to see the bookmarks and wanted the look of html.   Please let me know how I can link to a location and then go back where I came from.
    Thanks for the help!
    Ken K. - 2191

    Yes. Use a JavaScript action with this code:
    app.goBack();

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • Navigate from one iview to another and open in the same window

    Hi,
    I created two iviews with Visual Composer 7.0 SP8.
    In the first iview I create a button with hyperlink action, that call the URL of the second iview. The two iviews are in separates pages.
    The problem is that the second iview is open in a different window, and I want to open this iview in the same window. I changed the propertie start in new window with "show in the portal content", but It is still open in another window.
    How can I open the second iview in the same window?
    Thanks,
    Ivan

    Hi Marcus,
    I created two iviews, the property of the first iview is window type = primary window, the second iview is defined like window type = nested window.
    Now the problem is that I can not deploy the second iview in the portal.
    Do you know what is happening?
    Best regards,
    Iván.

  • Opening the link in the same window in WAD

    Hi,
    I have a view when I run it dispalys th data in the same view I have link when I click on the link it should own in the same window instead of opening it in the new window ,how can this be done in WAD3.5
    Regards,
    Priya

    Priya,
    This opens up another template in the same IE session for us:
    "<SAP_BW_URL CMD='CHANGE_TEMPLATE' TEMPLATE_ID='Ztrad_Ww005'>">Cash Targets by Branch"
    Note: Start the link with <Ahref="   .... and end with </A>.  When I put these into the link all you see is the Cash Targets text.
    Regards
    Gill

  • Calling a function/procedure from a column link in a report

    Here's what I'm trying to do. I have a hidden page item variable that stores my security settings as a string like so:
    SETTING_1:SETTING_2:SETTING_3:SETTING_4I have a report that prints out security settings for our site. What I want to do is make this report have 2 columns. The left column is the security setting in plain text, and I want the right column to be a link where if the user clicks on it, it deletes the value from the page item variable string (from where I store all the security settings). I tried searching the boards and the APEX docs, but couldn't find anything on how to make that right column a link to achieve what I'm trying to do. Any thoughts on how to do this?

    Never mind. I figured out a workaround for this. I made the link in the right column a call to a javascript popup window where I pass in the value I want to remove. In this new page, I perform the string removal and close the popup and reload the original window. Not sure if it's the easiest or best method but it works.

  • Need to invoke a process from a column link and then redirect to a url

    Is it possible to invoke a process from a column link then redirect to a url
    I want to invoke a process that has a pl sql block of code which will do some table inserts and then redirect the user to an external url.
    Any help would be appreciated.

    Howdy Scott,
    I thought this might help me but I've got a dynamic form with apex_application.g_f01(i) items on it ie tabular form. How can I take the value of these arrays with me to the temporary page with the onload process?
    Thanks
    Gary

  • My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message.

    My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message. I also tried to remove iTunes from the add/remove sector on Control Panel but it also refused for the same reason. Help, please.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HT1349 I am unable to update printer settings I have printer from brother model no brother HL2140 please update the same in brother printer catagory

    I am unable to update printer settings I have printer from brother model no brother HL2140 please update the same in brother printer catagory please assist
    <Email Edited by Host>

    In the Print dialogue box click on the little triangle to the right of the name of the printer. That will expand the dialogue box.

  • My I Phone 4 keeps putting me on hold or mute or hanging up on me from my face touching the screen. returned one phone and now my replacement is doing the same thing. this is crazy. my iphone 3 didn't do this!

    My I Phone 4 keeps putting me on hold or mute or hanging up on me from my face touching the screen. returned one phone and now my replacement is doing the same thing. this is crazy. my iphone 3 didn't do this! the screen is suppose to turn black when it is near my ear so that you can not do this and then turn on again when you pull it away. This phone is not doing this. 

    Are you using a case around your phone? If yes, did you make sure the proximity sensor is not covered?
    Try without the cover to make sure the sensor is working.
    A protection film on your screen can also cover the sensor and result in a dysfunction of the sensor.

  • I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    You can connect the iPad to your Mac's iTunes and do File > Devices > Transfer Purchases, that should copy it over to the Movies part of your library.
    Depending upon what country that you are in, and whether the film studio allows it, you might also be able to re-download it on your Mac via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page.

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Open link in the same Window

    Hello,
    i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?
    data:
    lt_parameters TYPE TIHTTPNVP,
    ls_url               type string,
    lo_window_manager type ref to if_wd_window_manager,
    lo_api_component      type ref to if_wd_component,
    lo_window                type ref to if_wd_window.
    CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application       = 'ZHRMPBA004'
            bsp_start_page       = 'ZHRMPBPTI006.htm'
            bsp_start_parameters = lt_parameters
          IMPORTING
            abs_url              = ls_url.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    CALL METHOD lo_window_manager->CREATE_external_WINDOW
              EXPORTING     URL            = ls_url
             RECEIVING     WINDOW         = lo_window.
    lo_window->open( ).
    thanks for replays

    You are calling CREATE_external_WINDOW. That API is designed to open the application in a new window.  So that isn't appropriate for what you want.  If you want to navigate in place then you should use an Exit Navigation Plug.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

Maybe you are looking for

  • Cannot load java applets in Safari

    I have several accounts on my machine. In one, the one I use most of the time, Safari will not load java applets. I have checked preferences and compared with those set on the other accounts. They are the same, including enabling javva and javascript

  • Dacf; gridcontrol cell; put edits

    To put all those discussion into a practical example and question... I have a dacf grid control. The user can edit a part number ( 1 of 350,000 possible.. no list boxes ) that is one of the columns. I want to make sure that part number is valid via a

  • Process code error

    I am getting error in IDOC. Its giving a error in Status Records i.e 51 error no. Its giving a error message that Function MOdule APPL_IDOC_INPUTI is not found. Can you please let me know what should be the problem. Thanks, vinay.

  • I was told that there was a option for a delete button. Where?

    My songs keep deleting, however I was told that there was a option for a delete button. Where is it?

  • Reg Re-authentication for Tcode access

    Dear All,     I want to enable Re-authentication for certain tcode access in my SAP ABAP system. The SAP as such supports this with the SSF settings. I have the SSF working but am not sure how to enable the particular tcode for Re-authentication.For