Issue with Parameterized Popup

Hi,
I have created a parameterized popup which gets opened on click of an image. Opening the popup is working fine but custom close button (not the X icon) is not working. I have added javascript:closeit() as the destination URI of the button but nothing happens when I click the button. I also tried adding a javascript function for closing the window and put a PPR on the button to forward to the current page and execute the java script but no luck :-( Issue with using X button for closing the popup is - the control is still in the popup processformrequest afer I close the wondow using X. Whatever action I perform on the base page is yielding no results/undesired results. That's why I wanted a custom close button so that I can direct the control back to the calling page.
Please advise.
My requirement is to have 2 buttons on the popup region (save and close). On click on save, data should be saved and the calling (base) page should get refreshed and close should just close the popup and bring the control back to the base page. I have a standalone region created with desired fields and buttons and this region is added to the region popup.
Can anyone please help me with this?
Thanks in advance.
Shreevatsa

Thanks Peddi. Any other option of achieving this functionality in parameterized popup?
Also I saw the below in the dev guide.
You can handle user interactions for embedded and parameterized pop-ups as follows:
  All-Submit - Configure buttons on an embedded pop-up to submit the pop-up data and the base page data together. The pop-up closes and the base page submits after this event.
  Self-PPR - Define partial page refresh events on the pop-up to refresh the pop-up window alone. The pop-up remains displayed after a self-PPR event.
  Page-PPR - Define partial page refresh events on the pop-up to refresh the base page items. The popup closes after a page-PPR event.
I didn't understand completely as what are the differences and how we can enable these actions on popup. I am thinking of Page-PPR which might work for my requirement but I am not sure how to enable this. Is this same as enabling a PPR on a item on the popup region.
Thanks
Shreevatsa

Similar Messages

  • Issue with decision popup with yes/no combination

    hI,
    I'm having issue with create_popup_2_confirm method.I'm using yes no option in my popup.But when I click on yes button in the popup though OP_YES outbound plug is getting triggered of component GS_PTC, but not able to get any fired outbound plug in the closing event of popup i.e. event handler Save. CAn anybody help me on this?
    My code is as follows:
    popup = me->comp_controller->window_manager->create_popup_2_confirm(
    iv_title = lv_title
    iv_text = lv_text
    iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno ).
    Then set a close event and open the popup :
    popup->set_on_close_event( iv_view = me
    iv_event_name = 'SAVE' ).
    popup->open( ).
    Code written in Save event handler
    CHECK POPUP IS BOUND.
    lv_confirm_result = POPUP->get_fired_outbound_plug( ).
    CHECK lv_confirm_result = 'YES'.
    Thanks & Regards,
    Anirban

    Hi Anirban,
    I checked the code and I dont think there is any issue.
    The only question I could think of is  ...
    has variable POPUP been declared globally in the SAME view ?
    The outbound plug name 'YES' is case sensitive.
    Regards,
    Masood Imrani S.

  • Tab focus issue with 2 popups open

    Hi!
    I've just got a nasty problem with 2 popups and a tab focus.
    First poup automatically opens second popup and if you press TAB
    key focus goes to the first popup window - underneath the top one.
    As a matter of fact - if you open the second popup by
    clicking on the button in the first window - no problem. It happens
    only if the first window opens second via AS.
    I've found on the internet the following
    article:
    But my joy was premature - this piece code:
    quote:
    SystemManager.activate( popup );
    is simply uncompilable. I tried other methods, like:
    this.systemManager.activate(this);
    without any luck.
    Does anybody know the solution to this problem?
    Thanks in advance!
    Cheers,
    Dmitri.

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • Refresh issue with the popup

    Hi,
    I have a create form on which I have a command link which opens a popup. The popup contains a search screen(Search criteria and results), when the user searches for a record in the popup and selects a record, the record information should be populated in the create page. Sounds simple right? Let me explainin detail what Im having trouble with.
    The create page is bound to NominatorView object. The fields(first name and last name) that need to be populated via the popup selection are bound to PersonsView object. The popup screen is bound to SearchPersonView object. PersonsView and SearchPersonsView objects are tied to the same entity/table(PERSONS). In the popup when a person is selected I take the PersonId from SearchPersonsView and set it to the PersonId in the PersonsView object. And when the selection is made, the popup closes but the firstname and lastname are not updated on the create screen. Below is the code form the create and popup screens.
    CODE FROM CREATE
    <af:panelHorizontal halign="center">
    <af:panelLabelAndMessage label="Nominator: " partialTriggers="personSearchLink">
    <af:outputText value="#{bindings.PersonsViewFirstName.inputValue}" partialTriggers="personSearchLink"/>
    <af:outputText value="#{bindings.PersonsViewLastName.inputValue}" partialTriggers="personSearchLink"/>
    </af:panelLabelAndMessage>
    <af:commandLink id="personSearchLink" action="dialog:searchPersons"
    useWindow="true" immediate="true"
    partialSubmit="true">
    <af:objectImage height="24" width="24"
    source="/images/searchicon_enabled.gif"/>
    </af:commandLink>
    </af:panelHorizontal>
    CODE FROM THE POPUP
    <af:tableSelectOne>
    <af:commandButton text="Select">
    <af:setActionListener from="#{row.PersonId}"
    to="#{bindings.PersonViewPersonId.inputValue}"/>
    <af:returnActionListener value="#{row.PersonId}"/>
    </af:commandButton>
    </af:tableSelectOne>
    If anyone can help, I would be greatful.
    Thanks

    Hi Frank,
    Yes, tried that but still the same issue.
    If we have the partialTrigger only on the <af:outputText> then the scrolling continues. If the <af:outputText> is inside any other component and
    if we have the partialTrigger on the parent (any level), the scrolling stops. I could not see any difference in the <af:outputText> HTML rendered before and
    after the partial refresh.
    Thanks.

  • Hyphen (-) issue with parameters

    webSource.AddParameter "prompt0", PARM_UCP
    webSource.AddParameter "prompt1", PARM_FROM
    webSource.AddParameter "prompt2", PARM_TO
    webSource.AddParameter "prompt3", PARM_USERS
    webSource.AddParameter "prompt4", PARM_CLIENTS
    webSource.AddParameter "prompt5", PARM_PACKAGES
    webSource.AddParameter "prompt6", PARM_REPORTS
    if PARM_REPORTS has some hyphen symbols in it, the report fails to lauch. The same code was working fine with CR10. but it throws an error with CRXI saying "please correct the syntax for prompt6 and relauch.
    Please advice me how to over come this issue.
    Thanks
    Rama

    From the code given, I assume you are using the ActiveX viewer with the RDC SDK using classic ASP.
    Could you try HTML encoding the text
    e.g.
    webSource.AddParameter "prompt6", "My%2dParam%2dValue"
    Shawn

  • I am having issues with my popup blocker blocking a site, but my popup blocker is disabled.

    I am trying to access this site for my college class. It asks me to disable my popup blocker for access to the site, which I have done, but it still blocks my access to the site. I used Firefox last semester and I did not have any problems, do you have any advice? I did go in and make sure that the popup blocker was disabled, and then restarted my browser, but I do not know what else I should try. *Please note that I could very well be doing something wrong......but any advice you could give me would be great! I really do not want to use Internet Explorer if I do not have too, I love Firefox so much better! Thanks for taking time out of your day to help me :)
    Cami

    Hi Cami, in your system details it seems you have MySearchDial extension inactive, maybe the problem is there. MySearchDial is malicious software(browser hijacker), see if you have it in your win 7 and uninstall it (Start button > Control Panel > Programs > Programs and Features > Uninstall.)
    see also :
    * http://www.mysearchdial.com/removal-instructions/
    * http://malwaretips.com/blogs/mysearchdial-toolbar-removal/
    also '''delete''' in your [http://kb.mozillazine.org/Profile_folder_-_Firefox#Windows profile folder] the [http://kb.mozillazine.org/User.js_file User.js file] you have.
    The user.js file '''does not exist by default'''. If you create the file, forget it, if you have not create the file then delete the User.js file, to see if the problem goes away (some programs create and write in the file also).
    thank you

  • Issue with IR popup

    This is happening only on my machine. We are on 7.0 and recently upgrade to SP14. When I try to edit Data Type to change occurence, the pop up does not show up. The IR screen is greyed out. Not sure why this is happening...any idea? I have 1.6.0_03 java runtime installed.
    Thanks.

    I installed 1.4.2_17 and changed the env. variable to this new version. I did not uninstall the 1.6 version. I activated the java console to actually see which version is being used for IR. It should java webstart as 1.6 but JRE as 1.4.2_17...so I'm thinking its using 1.4.2_17.
    I still have the same issue.
    BTW, I restarted my system after installing and changing the java path.
    Thanks,
    Pam

  • Task flow-call  as a Dialog with inline-popup issue JDev 11.1.1.2.0

    I have a very serious issue with task flow-call running as a Dialog with inline-popup
    have bunch of data driven table components pointing to pageDefs with Iterators
    the problem is, the dialog comes first with nothing in it (blank) and it takes 3-5 seconds to fetch all views,
    this is useless, there is no option to control taskflow-call activation , like you do for af:region
    For reference : I am talking about this : http://jobinesh.blogspot.com/2010/08/refresh-parent-view-when-in-line-popup.html
    Download the workspace , connect as HR Schema and you will see what I am talking about
    looks really dumb, it would make sense to show dialog with data all at once, rarther than looking at blank screen to wait for the data to show up
    Edited by: user626222 on Sep 20, 2010 8:57 AM
    can I call this a bug?
    Edited by: user626222 on Sep 20, 2010 1:58 PM
    sometimes I wonder if anyone tested this, as soon as you have some data driven components on your page, you get all sorts of problems in ADF
    But something simple, Adf client side invokes the Dialog as a popup first, and then it thinks oh ya I get massive pageDef to load, so end-user customer will stare at the blank screen for 10 secs , hoping that something will come up or program is crashed
    Well, I am afraid to say you lost your customer :(
    Edited by: user626222 on Sep 20, 2010 2:29 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:36 PM

    ok, knowing this fact, I want to show some kind of status indicator during the wait time.
    Unfortunately, putting af:statusIndicator does not work untill after entire page loads
    <?xml version="1.0" ?>
    <?Adf-Rich-Response-Type ?>
    <content action="/EmpApp/faces/displayEmployees.jspx?_adf.ctrl-state=5plp6ahes_72">
    <fragment><![CDATA[<span id="f1::postscript"><input type="hidden" name="javax.faces.ViewState" value="!-e8tyzkiuc"></span>]]>
    </fragment>
    <fragment>
    <![CDATA[<div id="afr::DlgSrvPopupCtnr::content" style="display:none"><div id="j_id12" style="display:none">
    <div style="top:auto;right:auto;left:auto;bottom:auto;width:auto;height:auto;position:relative;" id="j_id12::content">
    <div id="j_id13" class="x142"><div class="x157" _afrPanelWindowBackground="1"></div>
    <div class="x157" _afrPanelWindowBackground="1"></div><div class="x157" _afrPanelWindowBackground="1">
    </div><div class="x157" _afrPanelWindowBackground="1"></div>
    <table cellpadding="0" cellspacing="0" border="0" summary="" class="x146">
    <tr>
    <td class="p_AFResizable x148" id="j_id13::_hse"> </td>
    <td class="p_AFResizable x14a" id="j_id13::_hce"><table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td><div id="j_id13::_ticn" class="x151"><img src="/EmpApp/afr/task_flow_definition.png" alt=""></div></td><td class="x14e" id="j_id13::tb">
    <div id="j_id13::_ttxt" class="xz8"></div></td><td>
    <div class="x153"><a href="#" onclick="return false" class="xz7" id="j_id13::close" title="Close"></a></div></td></tr></table></td><td class="p_AFResizable x14c" id="j_id13::_hee"> </td></tr><tr><td class="p_AFResizable x14j" id="j_id13::_cse"> </td>
    <td class="p_AFResizable x14g" id="j_id13::contentContainer">
    <div id="j_id13::_ccntr" class="x14h" style="width:700px;height:430px;position:relative;overflow:hidden;">
    <div id="j_id14" class="xne" style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px">
    <iframe _src="javascript:'<html&gt;<head&gt;<title/&gt;</head&gt;
    <body/&gt;
    </html&gt;'" src="javascript:''" frameborder="0" style="position:absolute;width:100%;height:100%">
    </iframe>
    </div></div></td><td class="p_AFResizable x14l" id="j_id13::_cee"> </td></tr><tr><td class="p_AFResizable x14n" id="j_id13::_fse"><div></div></td>
    <td class="p_AFResizable x14p" id="j_id13::_fce">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td class="p_AFResizable x14u" id="j_id13::_fcc"></td><td align="left" valign="bottom"><div class="p_AFResizable x14y"><a tabIndex="-1" class="x14w" id="j_id13::_ree" title="Resize"></a></div></td></tr></table></td><td class="p_AFResizable x14r" id="j_id13::_fee">
    <div></div></td>
    </tr></table></div></div></div></div>]]>
    </fragment>
    <script-library>/EmpApp/afr/partition/gecko/default/opt/frame-SHEPHERD-PS1-9296.js</script-library>
    This is how it launches the taskflow-call, so there is no way to control this behaviour from the calling taskflow's jspx, feels very closed system,why ADF is not making this behavior Open by some kind of client listener,
    <script>
    <![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"AFPopupSelectorFooterStart":"x11b","AFPopupSelectorHeader":"x114","af|panelWindow-tr-open-animation-duration":"300","AFPopupSelectorHeaderStart":"x115","AFPopupSelectorContentEnd":"x119","AFPopupSelectorContent":"x117","af|panelWindow::resize-ghost":"x144","AFPopupSelectorContentStart":"x118","AFPopupSelectorFooter":"x11a","AFPopupSelectorFooterEnd":"x11c","AFPopupSelectorHeaderEnd":"x116","AFPopupSelector":"x110",".AFPopupSelector-tr-open-animation-duration":"200"});AdfPage.PAGE.addComponents(new AdfRichPopup('j_id12',{'_dialogURL':'/EmpApp/faces/adf.dialog-request?_adf.ctrl-state=5plp6ahes_76&_rtrnId=1285074907739&__ADFvDlg__=true','_inlineFrameId':'j_id14','_launchId':'r1:0:cb2','_panelWindowId':'j_id13','_rtnId':'1285074907739','contentDelivery':'immediate'}),new AdfRichPanelWindow('j_id13',{'modal':true,'resize':'on','stretchChildren':'first'}),new AdfRichInlineFrame('j_id14',{'source':'javascript:\'\x3chtml>\x3chead>\x3ctitle/>\x3c/head>\x3cbody/>\x3c/html>\''}));AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('r1');]]>
    </script>
    AdfDhtmlRichDialogService.getInstance().launchInline there is no way for me to put af:statusindicator for the wait time using this way
    <script>AdfDhtmlRichDialogService.getInstance().launchInline('j_id12');*</script>
    </content>

  • I'm having a lot of issues with firefox and cannot figure out how to get help. It began when I updated to 13. I get all kinds of ad popups, I cannot play one

    I'm having a lot of issues with firefox and cannot figure out how to get help. It began when I updated to 13. I get all kinds of ad popups, I cannot play one game on FaceBook called Farm Town at all, and I keep getting an AVG popup about cookies that I cannot get rid of. These issues are causing me to use Chrome very often even though I like Fox better. I've searched and searched how to get help and cannot find anything. How does one get personal technical help?? These issues do not happen in Chrome at all. Thanks.

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Minor issue with open parameters upon initial PDF load

    Hello, everyone.
    I am experiencing an odd issue with using open parameters to view a PDF in a browser window.
    We are using ColdFusion Server 9.0.1 (soon to upgrade to 10) and the Solr Collection Server that is bundled with it.  The server is updating the collections on a daily basis via Scheduled Tasks.
    When a user (okay.. it's me.. still in testing mode) uses the form to search the collection of PDFs for a specific keyword (let's use "petroleum"), the collections indicate that there are about 31 PDF files that contain the word "petroleum".  Most of them (when opened via "http://domain.com/pdf_file_a.pdf#search="petroleum"&zoom=100") will highlight the word "petroleum" in the document, every time.
    However, there are some PDFs that when opened will indicate that there are ZERO instances of "petroleum" in the document.  But if you refresh the browser, it suddenly finds three instances that it didn't see the first time.
    Is this a bug?  Has anyone else experienced this issue?  Is there a fix or work-around for it?
    Thank you,
    ^_^

    Anyone?

  • Enable data paging with parameters count() on new php function issue (BUG?)

    I've got my app prototyped quickly with the default settings in Flex Builder 4.  Now I'm going back and adding/modifying features to polish the app off.
    For this application I'm using PHP5 as the server side.
    The data paging is really cool and simple to call using the default settings.  However, I'm running into issues with customizing the data paging feature.
    This is the default header of the php function that was created for me:
    public function getTblbrowserrecord_paged($startIndex, $numItems){...}
    Instead of dumping all data back to the function I want to be able to search on certain fields so I created a new function called:
    getTblbrowserrecord_search_paged ($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems  ) {...}
    The new function is tested and operates as designed.
    I set the input types of the variables and return type (Tblbrowserrecord[]) of the new function then went to enable data paging.  The first screen came up and asked me for the key to use which I selected.  The next screen came up and asked me for the number of records which I set to 100 then went to select the count operation.
    I initially selected the automatically created count() function but it came up with the error " Count operation parameters should match the paged operation parameters list."
    So I created another function to match the search function's parameter's list:
    public function count_searched($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems)  {...}
    But I still ge the error "Count operation parameters should match the paged operation parameters list."
    But they DO match.  I looked at the default functions that were created by FB4 and noticed that the automatically generated function count() has no parameters and the paged function has the two functions $startIndex and $numItems which are not identical yet they work.  I tried removing those two fields from the count function but got the same results.
    What am I doing wrong?
    Thanks!

    Nevermind... For some reason my FB4 is not updating correctly.  After removing the two control fields at the end of the list AND exiting the app/re-entering everything worked ok.  I've been having this issue a lot lately and am thinking that is is a bug of some sort?

  • Popup Issue with Application using SSL

    Hi
    I am having an issue with one of our apex applications using SSL.
    I have a few popups in my application and for that I am using the Popup2 function that is built into APEX.
    When I run the app without a secure layer (directly from the server) I am able to get the popups and everything works fine.
    but when I run the app using the regular url https: the popup(s) does not work. When I checked the source code on the web page the error I got is as shown below. I found that the following apex_legacy_4_0.js file was truncated in the source code. It was not retrieved fully.
    Message: Expected '}'
    Line: 1
    Char: 3769
    Code: 0
    URI: https://xxx/i/javascript/apex_legacy_4_0.js
    Can somebody please let me know how I can fix this issue.
    Please Note: This was an application that was working without any issues for more than 2years. All of a sudden (since last month) we are getting this error. According to Our Network and DBA's we have not made any changes/patches to our servers.
    Thanks
    knut
    Edited by: knut on Dec 16, 2011 11:18 AM

    Ok. I figured it out. The url rewrite was missing in the config. Put it there and its working now.

  • OAF Parameterized Popup Issue (12.1.3)

    I am unable to access the parameters set by the parameterized popup within the base page PR method.  The popup page controller PR method has no problem accessing the parameters but I need to access them in the base page controller PR method as I believe the popup documentation says is possible.  I've read everything I could find on this and I believe I have tried everything.  But the base page PR method gets null for the pageContext.getParameter("popupEvent") call when it is invoked after the popup is submitted.
    I am trying to use the popup as an LOV for a detail table since LOVs are not supported in detail tables.  And everything works except for the the base page PR method.
    Please help.
    Thank you

    It's all working except for the saving of the detail VO changes I make in the base page controller's PR method.  I can see the changes reflected in the rendered page but the changes don ot get saved to the database.
    XxmclApValidatorSetRevsVOImpl vo1 = (XxmclApValidatorSetRevsVOImpl)am.getXxmclApValidatorSetRevsVO1();
    XxmclApValidatorSetRevsVORowImpl row1 = (XxmclApValidatorSetRevsVORowImpl)vo1.getFirstFilteredRow("RevisionNumber",new Number(1));
    RowIterator rulesIterator = row1.getXxmclApValidatorSetRevRulesVO();
    while (rulesIterator.hasNext()) {
      XxmclApValidatorSetRevRulesVORowImpl row2 = (XxmclApValidatorSetRevRulesVORowImpl)rulesIterator.next();
      row2.setOperator1(operator);
    I can use the master VO object to update master VO attributes in the base page controller's PR method that do get updated to the database.  So I believe it's a problem with the detail VO.  Perhaps I need to call a method to tell the AM that the detail VO needs to be saved to the database.  Any ideas?
    Thank you

  • ADF Popup issue with table row not selected

    OK, imagine this scenario. There is a page displaying a table of employees, and when you click on the employee_id (which is shown as URL), which is one of the columns of the table, a popup displays, showing the details of that particular employee.
    Now in the properties of the employee table, we unchecked the row selection property. Now how will I be able to achieve the same thing?
    I dragged the setCurrentRowWithKeyValue operation on employee_id column, changed the bindings of the TEXT property, added a popup behaviour, but still the popup displays the first row which is fetched in the table.
    Where am I missing, or is there any other way to achieve the same thing?
    JDev version: 11.1.2.2.0
    Edited by: Sonal on Oct 11, 2012 3:11 AM

    I did an exercise where I created one page which was displaying all the employees, and once you click on employee_id (which is shown as URL), a 2nd page opens displaying the details of the employees.
    Now in the above exercise, ROW SELECTION was disabled, for which I had to use this setCurrentRowWithKeyValue operation and then set the NDValue with the binding of the employee ID. So whenever I used to click on the employee_id, the page was taking to me the form, which was displaying exactly the same employee details.
    Now this thing should work with the popup thing too, right? So I disabled the ROW SELECTION

  • Adobe 9 Multiple issues with scale resetting, hand tool disappearing, and bad parameters

    Hello and thank you for help!
    We are having a single machine have issues with the scale resetting on a documents after they have been saved.  We will set the scale to 1-30 and after re-opeing the pdf, its back to 1-1
    Also having issues with the hand tool reverting to the pointer tool after an indeterminet amount of time.  And lastly we recieve the bad parameter message when using the clouding tool, the feature can be used right after that with no issues.  Where to start troubleshooting this issue?
    Adam

    Are you saying that
    you are going to the Document Properties tab->Initial View and setting the magnification and then saving the file, that this setting does not stick when you reopen the file
    or
    you just changing the view magnfication while looking at the file, saving the file and that view mangification doesn't stick.
    If the latter, its not supposed to. If the former, then Houston we have a problem.

Maybe you are looking for