Problem in Popup Window in OAF

Hi,
We are populating a table results page in OAF based on the search items. In the Results table, we have a link(to a new page that has only one table region) on a column(itemstyle: link) so that it should open in a popup modal window. On closing the same, I should be able to conduct a new search.
But what happens here is, after closing the popup window, we are not able to conduct a new search on the same page; the Result table is populated based on the previous search values (that is the master page still holds the old search values and when Go button is clicked the results based on the previous values would be displayed). Even if I click ‘Go’ button, the process form request method is not being called. Also the firePartial actions such as making a field mandatory are not working. This happens only after opening the link & closing the popup window. If we do not click to open the pop up window, we are able to make n number of searches.
The link to open the popup window is:
javascript:openWindow(top,'OA.jsp?page=/ikn/oracle/apps/ak/webinv/webui/SearchCompPG&param1={@param1}&param2={@param2}&retainAM=N &addBreadCrumb=N', 'modal', {width:750, height:350},true, 'dialog', null);void(0);
Please let me know the fix for this issue.
Thanks in advance.

Ah, the daily OAF post.
There is an [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework Forum for these types of questions.
Regards,
John

Similar Messages

  • How to show Popup window in OAF on click of a button

    How to show Popup window in OAF on click of a button (Without using Javascript)
    1. I have one OAF page on which i should have button Called "Next"
    2. On clicking of this button a new window/page should be displayed with the image stored in database. on clicking on this "Next" button again next image from the database should be displayed on the newly opened window/page.
    3. Is it possible to configure OAF to render window_II in the opposite screen of window_I where the OAF client resides? (If the OAF-client resides in screen_I render window with image in screen_II). That is, at the first click on the Next-button, window_II appers on screen_II and not some random location. The user will have 2 screen/monitors on his work place.
    4. Given that the two windows reside on each screen, is it possible to make OAF remember the position of window_II ? The goal of this is to force the window to pop up on the same location on the same screen next time the Next-button is pressed.
    5. If window_II is closed (eg. by using X) and the Next-button in window_I is pressed again, will window_II pop up in the same location and screen as previously ?
    6. Is it possible to have a Print-button in window_I what prints the scanned picture in window_II ? Is it possible to have the click on this Print-button to open the standard print dialog on top of window_II ? Could the button be placed in window_II as well, having the same functionality ?

    I have tried to open home page window. You can change the URL according to your requirement.
    import oracle.apps.fnd.framework.webui.OAUrl;
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE"; // Calling Oracle Home Page
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    Above code will open the new page in new window.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with Popup window in BDC

    Hi Gurus,
    I have an SHDB record for transaction VA01 that is called by an ABAP code via "CALL TRANSACTION 'VA01' USING bdc_tab mode 'N' update 'S'".
    It does work when I use the 'A' mode, but when I use 'N' mode it shows an error that can't find a window. But this window is a modal popup asking for copy the taxes for all entries in ITEM TAB.
    We have many BDC here that works in 'N' mode, but none of them have modal popup windows.
    I've already searched for this problem in SDN but I couldn't find any answer.
    May anyone help me please?
    Thanks very much.
    Fabio Purcino

    I am trying to do this with ME15.
       1                                               T ME15 BS AA X   F
       2 SAPMM06I 0100 X                                                                                                                                                                                                                                                                         
       3                                                 BDC_CURSOR EINA-INFNR
       4                                                 BDC_OKCODE /00
       5                                                 EINA-LIFNR 0001100619
       6                                                 EINA-MATNR 93-0450C
       7                                                 EINE-EKORG 2000
       8                                                 EINE-WERKS 2000
       9                                                 EINA-INFNR 5300032946
      10                                                 RM06I-NORMB X
      11 SAPMM06I 0104 X                                                                                                                                                                                                                                                                         
      12                                                 BDC_CURSOR EINE-LOEKZ
      13                                                 BDC_OKCODE /00
      14                                                 EINA-LOEKZ X
      15                                                 EINE-LOEKZ X
      16 SAPLSPO1 0100 X                                                                                                                                                                                                                                                                         
      17                                                 BDC_OKCODE =YES
    it then keeps the last popup and I cannot stop that...
        PERFORM BDC_DYNPRO      USING 'SAPLSP01' '0100'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'SPOP-OPTION1'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                       '/00'.              "1432 7/22/2014
    *                                   '=ENTR'.              "1357 7/22/2014
    *                                  '=YES'.               "1356 7/22/2014

  • Firefox 5.0.1 on OsX Lion: big problems on popup (window.open)

    I just updated OSX to the recent Lion. Firefox 5.0.1 have a big problem with EVERY POPUP invoked by
    onclick="window.open(this.href,'win2','width=400,height=350,menubar=yes,resizable=yes'); return false;" in the a tag, with href correctly specified.
    Ignores the widths and the heights (goes almost full screen, without bars) and the problem is that it doesn't load any page.... it remains blank!
    It occurs on every joomla site having print and email icon on articles, or any other site that uses this kind of opening a popup.
    UPDATE: discovered the problem. Firebug, latest beta build.

    Not only on youtube, but everywhere: other video sites, browser games, etc.

  • Issue with table selection in popup window in oaf

    Hi ALL,
    I have a popup seach window in that i am displaying search data in table region below, from that i need to select the number of rows and clicking on a button the same selected rows should display in another page.
    i tried with using RowSetIterator but not able to achive this , please help me out on this.
    Thnaks

    Can anyone please help me on this
    Thnaks

  • Problem closing popup window in flash player 10.0.32.18

    Hello,
    I'm new to the forum so please bear with me. I posted this in the actual "Flash" forum yesterday but I realized afterward that the ActionScript forum would be a better place to post the question (sorry about that). I'm a web designer but I don't use a lot of Flash. I'm sure this will change as time goes on. For now, I'm still using an old version of Flash MX on my Mac - Flash MX version 6. But I don't think this has anything to do with the problem I'm experiencing. I designed a flash animation for my wife's website back in 2004 and it has always worked perfectly up until installing the most recent Flash Player 10.0.32.18 just a few days ago. Here's the problem:
    On the main page of my wife's website, we have a special link called "view presentation". When you click on that link, a smaller, new browser window pops up in front of the main page (the window sits "over top" of the main page - a typical pop up window). Inside of this new pop up window is the flash animation (the actual swf file). Inside of the HTML code for the pop up window, I have coded the following javascript:
    function closeWin() {
       if (document.images) {
         self.close();
    The above script, closeWin() is called from a button called "Quit" that the user clicks on in the actual swf file inside of the pop up window. Here is the code from the swf ActionScript:
    on (release) {
        stopAllSounds();
        getURL("javascript:closeWin();", "_self");
    This has always worked perfectly right up to Flash Player version 10.0.22.87 - the window closed as soon as the user clicked on the button. But now, with the most recent Flash Player 10.0.32.18 installed, it no longer works. The pop up window no longer closes.
    Obviously, something has changed in this latest version of Flash Player 10.0.32.18 which is preventing this from working. Does anyone have any ideas on how I can fix this?
    Any help would be greatly appreciated. Thank you so much,
    Mike

    Well, thanks to your help - I got it solved. It's not the Security Update, it's not javascript, it's not the difference in flash versions, it's nothing in the ActionScript itself or any of the other things I/we thought it might have been. I looked really closely at your HTML code and compared it to mine and changed it so that it was almost exactly the same as what you had coded - here's what made the difference (I've bolded the changes so you can see the differences):
    old code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="tour" width="600" height="450" align="top">
    <param name="movie" value ="tour.swf">
    <param name="quality" value ="high">
    <param name="bgcolor" value ="#ffffff">
    <embed name="tour" src="tour.swf" quality ="high" bgcolor ="#ffffff" width ="600" height ="450" align ="top" type ="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveconnect="true"></embed >
    </object >
    new code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="450" id="tour" align="top">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="tour.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#ffffff">
    <embed src="tour.swf" quality="high" bgcolor="#ffffff" width="600" height="450" name="tour" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    </object>
    Now works perfectly - the pop up window closes every time (I also took out swLiveconnect="true" - not sure where that ever came from).
    I'm not exactly sure how the above changes could make it work but they did so I am thrilled that you were kind enough to help out. If you have any ideas as to what actually did make the difference, please let me know as I am very curious. Maybe is was the "codebase" line? Seems like adding in the "allowScriptAccess" also had some sort of effect.
    Thanks again,
    Mike

  • Popup window error : You are trying to access a page that is no longer..

    Hello guys,
    read all the threads related to popup windows and everything works fine except one thing: all the time I get following error :
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed."
    Let's define setup I did :
    1. page installed and should be fine, some controller created as well;
    2. new function defined using following params : Type = SSWA jsp function, web HTML = OA.jsp?page=/xxcompany/oracle/apps/icx/por/req/webui/xxPage
    3. function added to menu used in particular responsibility
    IF I define some Promt for this menu entry, I can access this page following way : OA_HTML/RF.jsp?function_id=25860 - everything works fine but I need to get it in popup window
    Fine, popup window URl (no problems with popup window at all) : OA_HTML/OA.jsp?page=/xxcompany/oracle/apps/icx/por/req/webui/xxPage return mentioned error message.
    Fine, let's try this : OA_HTML/OA.jsp?OAFunc=XX_FUNCTION return same error again.
    What else I tried? Well, post params like resp_id and so on = nothing helps so far.
    Something missing in setup?
    Any ideas?
    Message was edited by:
    user642776

    Hi,
    is it a seeded page or a custom one?
    In the first case, have you extended the root AM?
    I had an error like that when I tried to extend the root AM in a seeded page, before to know it was not possible.
    Bye
    Raffy

  • Resizing siebel In built popup windows in VMware

    Hi,
    I have installed Siebel 7.7 in windows xp using vmware as my personal laptop has got windows vista.
    when I am using tools I am facing problem with popup window as its size is too large and not able to update the window.
    For instance to Apply changes in table ,I clicked Apply button I could not update ODBC Data Source as I am unable to navigate.
    Could you please suggest me any solution for this.
    Thank You,

    Is there any suggestions for this
    Edited by: user578578 on Aug 6, 2009 7:01 AM

  • Popup windows are small and cannot be resized in Firefox v31.0. v30.0 and earlier does not have this problem. Example: Hostgator's SmarterMail. XP, 7, 8.1.

    My webmail interface is SmarterMail from Plesk as supplied by Hostgator. When Firefox updated to v31.0, I lost the ability to send mail because the popup windows for "New", "Reply", "Reply All", and "Forward" are too small to enter information and cannot be resized or maximized.
    This problem does not occur with older versions of Firefox (tested 16.0.2, 21.0, 24.0, and 30.0) or with Chrome or Internet Explorer. While I am writing to you from a Windows XP Pro SP3 system, I have also verified the problem under Windows 7 Pro (x64) and Windows 8.1 (x64).
    It's not profile settings, malware, or add-ons. I've tried Firefox Safemode and I've tried "Reset Firefox".
    For the time being the workaround is to disable Firefox updates and downgrade everybody with v31 to v30. Please fix this ASAP. You have lots of people reporting it.

    As a temporary workaround, you can block website scripts from resizing windows. It's a bit of a sledgehammer, but another user who has this problem indicated that it does stop the SmarterMail script from rolling up the window.
    Here's how:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''dom''' and pause while the list is filtered
    (3) Double-click the '''dom.disable_window_move_resize''' preference to switch it from false to true.

  • Windows 7 on MacBook Pro Retina late 2013. Showing popup window as "Windows detected a hard disk problem"

    I have installed Windows 7 64 bit version in my MacBook Pro Retina(13") late 2013 model . It was working fine from last 8 months but recently popup window showing as "Windows detected a hard disk problem" once login. Please check the following image.
    I have contacted Apple Support team. They have tested the hard disk while booting from Mac OS and all the reports showing as hard disk is fine. Then I thought might be it was some virus and removed the Bootcamp partition and re-installed Windows 7 Operating System. But once updated Windows 7 with latest updates. This message showing again.
    Would you please help me out to fix this issue. Anybody faced similar issue?

    No I think that all drive are really on failure
    I've boot with an ubuntu livecd and smartmontools see also the failure.
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x001a   200   200   000    Old_age   Always       -       0
      5 Reallocated_Sector_Ct   0x0033   100   100   000    Pre-fail  Always       -       0
      9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       1872
    12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       762
    169 Unknown_Attribute       0x0013   253   253   010    Pre-fail  Always       -       4003597393408
    173 Unknown_Attribute       0x0036   100   100   100    Old_age   Always   FAILING_NOW 12124890467160
    174 Unknown_Attribute       0x0022   099   099   000    Old_age   Always       -       7469954
    175 Program_Fail_Count_Chip 0x0022   099   099   000    Old_age   Always       -       4989854
    192 Power-Off_Retract_Count 0x0012   099   099   000    Old_age   Always       -       31
    194 Temperature_Celsius     0x0022   064   064   000    Old_age   Always       -       36 (Min/Max 11/75)
    197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
    199 UDMA_CRC_Error_Count    0x001a   200   199   000    Old_age   Always       -       0
    240 Unknown_SSD_Attribute   0x0022   100   100   000    Old_age   Always       -       0
    When I use the Mac disk tools from the startup menu, it see also the problem.
    Now the big question is : Why I've this type of issue with 2 MBA and 1 Macbook pro 15".
    Their configurations are the same : windows 7 with truecrypt.
    Maybe Windows drastically reduces the lifetime of the Apple SSD drive.
    The 3 Mac are used for less than 6 month !!!!

  • Problem with popup conformation windows in SAP XI 7

    Dear XI community,
    in our company we have installed the latest available release of SAP XI (nw2004s) and I have the following problem. When the system (web interface) try to display a popup window in order to confirm the user actions as for example the deletion of a technical system, then the system freeze and the only acceptable action you can do is to refresh the web browser. The action that the user has done is not completed.
      Does anyone have meet the same problem and is there any suggestion for this ?
      Thanks in advance
         John Syrigos

    Which browser are you using ?
    IE7 has some problem...
    Regards,
    Sandro

  • Problem with combobox gets dispalyed infront of popup window

    when ever popup window is open and kept on combobox ,combobox appears in front or overlaps the popup window,where exactly i have to check the code.which place of code i have to look into... plz help if there is any problem with css then plz specify which property i have to look into..

    [problem with combobox comes infront of popup window|http://forum.java.sun.com/thread.jspa?threadID=5291468]

  • Getting error in popup search page window in oaf

    Hi ALL,
    I have a custom OAF page ,in that i am calling  a popup window by using java script.in the popup window i have to do search operation by selecting soem field.
    so for that i followed below approach.
    1>Created a new AM
    2>Created a new VO
    3>Created a method in AM for search record and initialize the VO
    4>then called that method in process from request after a button pressed.
    But when i am entering some fileds and pressing search button in the popup window i am getting below error,
    The view object XXTESTAM.XXTESTLINESVO1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    Please help me on this
    Thanks

    Hi,
    Go throw these similar threads  they may serve your purpose....
    https://forums.oracle.com/thread/2318938
    https://forums.oracle.com/thread/2382876
    regards
    DEV...
    Message was edited by: Dev586

  • Problem with a navigation from a Popup Window in an other Window

    Hi Experts,
    i have a problem with a popup window. I explain my problem. I have a DC Component in which there are two different Windows (MainWindow and PopupWindow) and one of this Window is a popup Window. I desire to navigate from the popup window to the main window of the component. Is there a way to accomplish that ?
    I have created the popupWindow and it works very good.
    Thanks a lot for your help.
    Gregorio Perillo
    Edited by: GregorioPerillo on May 28, 2010 5:45 PM

    Hi ,
    By using this code you have to Open Popup Window
    public void popup( )
    //@@begin popup()
    poplink=wdComponentAPI.getWindowManager().createModalWindow(wdComponentAPI.getComponentInfo().findInWindows("Wd_POPupwindow"));
    poplink.setWindowPosition(500,30);
    poplink.open();
    //@@end
    Wd_POPupwindow-- This is Window Name Under this window you can create in View that view having OK and Close Buttion.
    When click on Submit button that time you call the popup method. that time you will get popup window
    Regards
    Vijay Kalluri

  • af:showPrintablePageBehavior problem against af:treetable on Popup window

    I just used <af:showPrintablePageBehavior> for <af:treetable>, but got a wrong printable page. I faced this problem on new popup window, which is a browser popup window rather than adf faces inline popup.
    After treating <af:treetable> using <af:showPrintablePageBehavior> in popup window, I just found all cells in the table was gone on the printable page while the table header was preserved. It seems like this:
    Item | Col1 | Col2 | Col3 | Col4 | Col5 |
    Rows 1-0 of 4
    Such effect is kinda like the situation when u configure *<output-mode>printable</output-mode> in trinidad-config.xml*, which simply truncates the treetable.
    Such effect is gone when you are not using popup window. In other words, you won't face this problem and will get a normal treetable with full data when using tab or browser window.
    But currently the requirement needs that this is be done in popup window.
    Anyone give me a hint on solving this?

    I am able to get the details by designing the screen in jsp page instead of jspx page.

Maybe you are looking for

  • Mac Mini Slow

    I have a 1.5 (i think?) ghz solo mac mini with 2 gb ram, 60 gb hd with about 7 gb free that I use as a media server on a large flat panel lcd tv. I have noticed that it is very slow and choppy in playing many files in quicktime or streaming some web

  • Saving fillable forms

    I have tried to create an electronic version of a paper manual that uses fillable forms for parents to keep track of their child's healthcare records.  I know how to create the forms as fillable forms, but I'm not sure how to get them to be "saveable

  • Invoice - discount

    Hi Guys, I want to find out the discount amount a customer can take on a invoice (not the discount a customer has taken). Do i have to go back to the billing document for that. But on the billing document i dont find anything like this. Is it a calcu

  • Only ONE contact not working for Messages?

    Hi All, Hope you can help me with this one... and please, I'm hoping for input from as many who have an idea, so please don't feel like there's no need to jump in on this even if there's someone else here posting with a solution. These threads are mo

  • Access rights issue on windows formatted HDD

    i have a windows formatted HDD connectd via USB, and there seems to be an access privelidges problem. i can't create folders on it, and can't move/delete "some" files. is there any way (without connecting it back to a windows PC) to reset the access