Session control lost in new pop-up window

Hi people,
In one of my pages in the Portal I have a link that opens a BSP Application in a new window.
The idea is to allow the user to open the same application with different info in different windows. But is not working, I have at least two problems.
1-     when I close the new window, the object  that I was editing is not free and session remains open.
2-     after I open a second window, the first window starts to point to the application of the second window.
I think that my problem is that when I open the new window, this new window is no longer associated with the portal session.
There must be a way to control this.
Thanks for your help.
Best regards,
Paulo Ruivo

Dhruv,
The link page is a BPS iView.
The link to the BSP page is the full url of the BSP page.
Should i use the EPCM class to do this navigation?
Regards

Similar Messages

  • How to pass value from new pop up window to the input field

    Hi,
    i have a F4 help on a input type field and adjacent to that two more input fields, on clicking the help on the first input field a new pop up window opens, the value in this pop up window is to be selected to give the value in that field and the other two values should be appeared in the input type. suppose the pop up window has three fields "15   LIMA  PLANT   45802 ", so on clicking it in input field only 15 should go to the firstinput fields and "LIMA PLANT" and "45802" should go to new window
    do anyone know this?

    avoid duplicate threads
    F4 help in dropdownlistbox and values in input fields
    if you feel that the thread heading or content is not what you wanted, you can edit it and leave a note in the same thread that you have edited it.
    Raja

  • How to open a new pop-up window on click of a link using OAFunctions

    Hi ,
    I have a requirement to open a new pop-window on click of the responsibility name(functions available under responsibilities). The current URL /link is driven using OAFunctions.
    Any idea, how can i open a new window while still keeping the parent window as it is?
    Regards
    Puja

    This can be achieved, you need to first create the javascript function which will open the popup and add that to the HomePage through and then call that function during onLoad of the HomePage. Here is a code sample,
    1. Extend the page level controller and write a new controller
    2. Write the following code in processRequest before calling super.
    StringBuffer popupScript = new StringBuffer("function customPopUp() { ");
    popupScript.append("newWindow = window.open(theURL,'newWindow','toolbar=no,menubar=no,resizable=no,scrollbars=no,status=no,location=no,width=300,height=500);}");
    pageContext.putJavaScriptFunction("customPopUp", new String(popupScript));
    OABodyBean bodyBean = pageContext.getRootWebBean();
    bodyBean.setOnLoad("customPopUp");
    3. Use personalization to replace the existing controller with your extended controller and the popup should be launched whenever you enter the homepage.

  • Foreign key not working in a table control set on a pop-up window

    Hi Experts,
    I have created a table control using EEWB on BUPA object. I have moved this table control using BUCO transaction to address view. As the address is displayed in BP transaction as a pop-up window, when the error message from the foreign key verification should raise the pop-up window is closed and nothing happens. What I want is the error doesn,t let the window to be closed and show an error message.  Any suggestion to achieve that?
    Thanks in advance.
    Rosa

    Hi,
    Please check demo program DEMO_DYNPRO_TABLE_CONTROL_2.
    Try to copy to custom program and make the following line changes.
    MODULE CHECK_ALL INPUT.
      CASE OK_SAVE.
        WHEN 'ALLM'.
          LOOP AT ITAB.
    *       IF itab-mark = 'X'.
    *         MESSAGE i888 WITH 'Zeile' sy-tabix 'markiert'.
    *       ENDIF.
            ITAB-MARK = 'X'.
            MODIFY ITAB.
          ENDLOOP.
    Hope this will help ...
    Regards,
    Ferry Lianto

  • Firefox will open a New Pop-up Window in Windows 7 Aero. When trying to Close it, it thinks it wants me to Close the Main Window. Why?

    I use Windows 7 Ultimate in Aero-mode. When a new Firefox window is opened, or a Pop-up window appears, I can't close it without first clicking on that page and clicking the "X" in the corner. Instead, whenever I try to close a window that is not the first window (my main window), it will ask me if I want to close the main window with all the tabs... I have noticed some other slight quirks in this stable release as well, but this one is always present.

    When I hover over the window, it does come up front, but as soon as I press the red "X" it goes immediately back to the main window and acts as if I was trying to close that one. Once in a while it will work, but shortly thereafter, it will just go back into this manner. Quite odd. This is the first time I've truly had any problems with Firefox.
    In addition to that problem I have noticed a few things, but one that may be linked is sometimes I'll click a link. Although I haven't specified to open it in a new window, it will do so anyhow. This gets annoying quickly. Usually shutting down Firefox and reopening will fix this (and once in a while just leaving it be for a long time). Somehow, I think this issue is somehow linked to the one above.

  • APEX:  Open a new Pop Up Window in PLSQL

    I call a stored procedure from APEX which generates a report in a directory defined in ALL_DIRECTORIES. After I call this stored procedure, I want to display the report just generated ( i know the filename and path) in a new window in my apex application. I am proficient in PLSQL but not in Java Script. Can anyone explin how to do this. I have tried to use window.open in plsql but it is not recognized.
    Sandra

    Thank you for pointing me in the right direction. I will used this stored procedure multiple times in this app as well as other apps.
    This is what I did.
    I created a stored procedure that passes in the directory name and filename
         Procedure p_uploadFileToBlob (v_directoryName varchar2, v_fileName varchar2) is
         v_filePointer     BFILE;
         v_fileContent     BLOB;
         src_offset     NUMBER := 1;
         dst_offset     NUMBER := 1;
         Begin
              v_filePointer := BFILENAME (v_directoryName, v_fileName);
              insert into flu_file_objects (name, subject, file_pointer) values
              (v_fileName, 'UsageReport',v_filePointer);
              update flu_file_objects set file_content = EMPTY_BLOB() where name = v_fileName;
              select file_content into v_fileContent
              from flu_file_objects where name = v_fileName;
              DBMS_LOB.fileopen(v_filePointer, DBMS_LOB.file_readonly);
              DBMS_LOB.loadblobfromfile (v_fileContent, v_filePointer, DBMS_LOB.getlength(v_filePointer),
                        dst_offset, src_offset);
              DBMS_LOB.fileclose(v_filePointer);
         End;
    THen with the help of this posting
    http://apex-notes.blogspot.com/2008/10/ora-01403-when-viewing-blob-data-in.html
    I was able to display the report. At first I tried to load as clob but I lost all report formatting. CHanged to blob and all worked great.
    Thanks again.
    Sandra

  • Regarding opening a new pop up window

    In order to open open in a new window I have used the following two approaches
    1.public void FormHelpUrl(ActionEvent actionEvent) throws Exception {
    FacesContext context = FacesContext.getCurrentInstance();
    ExternalContext ectx = context.getExternalContext();
    HttpServletRequest request=(HttpServletRequest)ectx.getRequest();
    StringBuffer serverName=request.getRequestURL();
    String serverName1=serverName.substring(0, serverName.indexOf("workflow"));
    HttpServletResponse response =
    (HttpServletResponse)ectx.getResponse();
    response.sendRedirect(serverName1+"/dashboard_help/guide?topic="+topic+"&locale=en");
    The first approach opens in the same window only.
    2.public String formHelpUrl() {
    FacesContext context = FacesContext.getCurrentInstance();
    ViewHandler viewHandler = context.getApplication().getViewHandler();
    UIViewRoot dialog1=new UIViewRoot();
    UIViewRoot dialog = viewHandler.createView(context, "/dashboard/ohguide?topic=ohj_about_ui.htm&locale=en");
    HashMap properties = new HashMap();
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.launchDialog(dialog,
    null, null, // no particular parameters
    true,
    properties);
    return null;
    The second approach above opens in a window - but it is not taking the new context root
    UIViewRoot dialog = viewHandler.createView(context, "/dashboard/ohguide?topic=ohj_about_ui.htm&locale=en");
    here in the above code , it has to start with '/' , so unable to change context root . please help me out

    Hi Dean,
    The item names and item values are passed as comma delimited lists in the url, so your url should be:
    url = 'f?p=&APP_ID.:49:&APP_SESSION.::::P49_DETAIL_ID,P49_FLAG:'+p_val[b]+',0';
    Regards
    Andy

  • HT1533 i have no control of my new imac as windows 7 starts suggesting system repair and usb ports seem to be

    how do i regain control of my mac to unhang it from needing system repair (windows7)
    should osx on an sd card work (only option?)!
    any response would greatly encourage success.

    If you are having Windows issues then you need to be in touch with a Windows forum for assistance. You did not state how you run Windows (Boot Camp, Parallels, Fusion, etc....) so I'm afraid I can't provide any more help than that. If you happen to use Boot Camp, there is a Boot Camp forum available which is where the Boot Camp and Windows gurus tend to hang out.  The same would hold true if you use virtualization apps such as Fusion or Parallels.
    Good luck.

  • After upgrading to 3.6.12 my browser is not opening pop-up windows and while closing the browser giving a message that some tabs are open and shall the same be closed? I have not encountered this problem with eralier version. Is there any known issues?

    Some of my web pages open a new pop-up window for entering credentilas and display sensitive information. After upgrading t0 3.6.12 i found that firefos is not opening pop-up windows (earlier version allowed). When I close the browser, it gives a quit message saying there are unclosed tabs and windows of firefox. shall they be saved for next time start.
    Also observed that the memory usage (from Task manager)is very high compared to earlier ones and the process is not closed even if I close the browser.

    3.6.13 is also behaving similarly.

  • How can I open the EP login page in the same pop-up window?

    is it possible for me to using / only one window(Browser) pop-up to EP Page(Login or iView...).
    In the firs general html page I create a EP login page link action[eg. "window.open('url', 'target_name')"],
    but always launching new pop-up window(Browser).
    How can I open the EP login page in the only one window(pop-up)?
    Could anybody help me by giving suggestion and codding?
    Thanks,
    jin.

    Hi,
    if you want to redirect the root of portal system (http://portal/) to the login page, edit the
    file and change the body tag as follow:
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
    <body onload="location.replace('irj/portal' + document.location.search)"></body>

  • Closing a Pop Up Window on click of a button

    Hi Forum,
    In the parent view there is a button, on click of this button a new pop up window is opened.
    This pop up window also has a button (Submit). Onclick of the submit button in pop up window I need to performe some code execution and then close this pop up window.
    I tried the steps given in the weblog
    /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
    But it does not seem to be working.
    Any other way to achieve this or what might I be doing wrong here?
    Thanks,
    Anubhav.

    Hi,
    I missed a parameter in parent window while calling the pop up window
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_window         TYPE REF TO if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window_for_cmp_usage(
                       interface_view_name    = 'WD_VALUE_HELP'
                       component_usage_name   = 'ZUSAGE_FORMNUM'
                       title                  = 'Additional Information For Item'
                      close_in_any_case      = abap_true <----Missed this earlier
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    lo_window->open( ).
    Now it is working fine.
    Many thanks to all.

  • How to show details from web part as pop up window

    Hello
    I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
    up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
    of the page that I need to show as pop up.
    Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
    <script>
    function showpreview<xsl:value-of select="$ViewCounter" />(o) {
    count = 1;
    for(i = 0; i &lt; o.childNodes.length; i++)
    var child = o.childNodes[i];
    if (child.style.display == &quot;none&quot; &amp;&amp; child.tagName == &quot;DIV&quot;)
    f = document.getElementById(&quot;n&quot; + count + &quot;<xsl:value-of select="$WPQ" />&quot;);
    f.innerHTML = unescape(child.innerHTML) + &apos;&#160;&apos;;
    count ++;
    </script>
    <div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
    <table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
    <xsl:choose>
    <xsl:when test="not($dvt_RowCount=0)">
    <tr>
    <td valign="top" style="width: 186px">
    <div class="ms-ppleft" style="width: 100px">
    <table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
    <xsl:apply-templates select="." mode="RenderView"/>
    </table>
    </div>
    </td>
    <td valign="top">
    <div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
    <table border="0" cellpadding="0" cellspacing="0">
    <xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
    <tr>
    <td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
    <nobr>
    <xsl:value-of select="@DisplayName"/>
    </nobr>
    </td>
    <td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
    </td>
    </tr>
    </xsl:for-each>
    </table>
    </div>
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    <td class="ms-vb">
    <table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
    <xsl:call-template name="EmptyTemplate" />
    </table>
    </td>
    </tr>
    <tr>
    <td height="5">
    <img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </table>
    </xsl:template>
    Alla Sanders

    Hi Alla,
    You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    var obj1=$("a[id='forum0-NewPostLink']");
    url="http://sp13"+obj1.attr("href");
    //alert(url);
    obj1.removeAttr("href");
    obj1.click(function(){
    openDialogBox(url);
    function openDialogBox(url) {
    var pageUrl=url;
    var title="New Discussion";
    SP.UI.ModalDialog.showModalDialog(
    url: pageUrl,
    autoSize: true,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK){
    //refresh parent window
    window.location.href=window.location.href;
    </script>
    Reference:
    https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How can i avoid a pop-up window when calling the avi.dll?

    Ok, here another try!
    My problem is as followed:
    My program calls the avi.dll to initialize, write into and close an
    avi-file.
    Now, when initializing it, a pop-up window is shown so you can choose the
    codec to use.
    My question is, can I pre-define the codec, so the pop-up window won't show
    up?
    The program is meant to write several files, some starting without the user
    having to control them, so the pop-up window really isn't helping.
    Any ideas?
    I attached the avi.dll in case you need it to look at the problem.
    Also helpful would be, if someone could tell me, how I can take a closer
    look at the structure of the dll. Is there a program I can do that with?
    Thanx!
    regar
    ds,
    Martin

    Hello Martin,
    I have used this DLL before and wasn't asked to choose a codec. Maybe if you use all three functions (init, write, close), it works without problems. Here's a example that uses IMAQ hardware to acquire an 8-bit image at 30fps and writes each image to an avi file.
    There are utilities to examine dlls (see what functions are exported and what the dependencies are, but you can't see source code since it is compiles.) Check out QuickView or DependencyWalker.
    Attachments:
    avigrab.zip ‏66 KB

  • Open a pop up window thr' running Applet

    hi,
    presently i'm running an applet on my site ....in which there are some links.....clicking on 1 of those link takes u to the new browser window showing that link result..........
    PROBLEM is-----------
    i don't want a new 'browser' window .....but i want new pop up window....as we do with javascript in ASP....
    PLZ tell me how should i insert that javascript like code in my applet file.......and where....???
    thanx....
    ...Amita

    Hi.
    * You can use swing Dialog component to show pop-up windows in your applet:
    http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
    * You can use Netscape's LiveConnect to call JavaScript functions (for example, one showing an "alert" pop-up) from your applet:
    http://developer.netscape.com/docs/manuals/communicator/jsref/pkg.htm#1003191
    Good luck.
    Felix.
    hi,
    presently i'm running an applet on my site ....in
    which there are some links.....clicking on 1 of those
    link takes u to the new browser window showing that
    link result..........
    PROBLEM is-----------
    i don't want a new 'browser' window .....but i want
    new pop up window....as we do with javascript in
    ASP....
    PLZ tell me how should i insert that javascript like
    code in my applet file.......and where....???
    thanx....
    ...Amita

  • No print icon in pop up window?

    Before this update, when a pop up window was launched I was able to see a print icon in the new pop up window. With this new update that does not seem to be the case. I have to hit ctrl+P in order to print the pop up window. Is there a way to enable the print icon to appear in the new pop up window? I tried to customize the toolbar and add the print icon but it only appears on the static page and not the pop up window.

    See:
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features

Maybe you are looking for