Iterator in dynamic region located in a popup does not refreshed on cancel

Hi All,
i have the following scenario:
I have jsff made as a taskflow and added into a page on the following way:
<af:popup id="address" partialTriggers="saveAddressButton cancelAddressButton">
<af:dialog type="none" title="Create/Edit Address" modal="true" closeIconVisible="false" >
<f:facet name="buttonBar" >
<af:group>
<af:commandButton id="saveAddressButton" actionListener="#{AgentsBean.saveAddress}" partialSubmit="true" text="Save"/>
<af:commandButton id="cancelAddressButton" immediate="true" actionListener="#{AgentsBean.cancelAddress}" text="Cancel"/>
</af:group>
</f:facet>
<af:region value="#{bindings.dynamicRegion12.regionModel}"
id="dynamicRegion12"/>
</af:dialog>
I use this jsff, opened in a popup to create/edit rows. I create the new row into the main page backing bean method and when calling fragment it's iterator is get synch. with the created row. When i pass the row for edit , it is also synch with a fragment iterator.
The problem comes if i using the cancel button in a popup , then the iterator doesn't refresh anymore when i open again the popup. It stays on the last row where it was before pressing the cancel. I try to execute setCurrentRowWithKey with passing th key as param to the taskflow but method is also didn't executed.
I removed my logic from the cancel button and it's also the same.
I tried with built-in cancel on af:dialog - again the same.
It looks that submition with immediate =true and closing popup is enough to causing this.
I have Refresh="ifNeeded" on a taskFlow but this causes only refresh of input taskflow parameters.
<taskFlow id="dynamicRegion12" taskFlowId="${AgentsBean.addressTaskFlowId}"
Refresh="ifNeeded"
Any ideas how to refresh iterator?

Hi Frank,
I have followed the same approach. However in my case its a dynamic af:region which is causing the issue.
Any other pointers is much apprecitaed.
Thanks,
Vikranth

Similar Messages

  • Help!  After validation failure, Detail region of Master Detail page does not refresh.

    Hello.
    I am running a validation to prevent deletion of a purchase order (PO) when invoices exist for the PO.
    When the condition is found (invoices exist), the deletion process is halted and a message is posted to the page.
    I would like for both Master and Detail data of the PO to be refreshed.  However, only the Master
    record is refreshed.  I get the following error for the detail data:  The detail is found through the Master Header primary Key (DetailRecord.PO_ID = :P230_PO_ID )
    ORA:01445: Cannot select ROWID from, or sample, a join view without a key preserved table.
    ORA-06510 - PL/SQL unhandled user-defined exception.
    I'm not sure why this message should come up.  I do not clear cache or reset the page or anything like that.
    Any hints?

    Just an FYI for everybody who may have this very same problem in the future.  I fixed the error and it had nothing to do with ROWID or views or anything like that.  Under the Page Rendering section where you define the region definition under the source section, I had included the 'order by' clause in my SQL statement.  This was the cause of my ORA-01445 error!  When I removed the clause from the source definition and instead included it within the Report Attributes by checking the Sort box for the appropriate column (thus allowing APEX to generate the sort for me), the error disappeared!  The Oracle error message would NEVER have given me a clue into what caused the error.  I just happened to think 'what if I take the order by clause out'!  How's that for a flukey fix! 

  • ADF Dynamic region in a popup does not load

    Hi Experts,
    JDEV version used 11.1.1.5
    I have a page which has a table and each row has a command link on one of the columns.
    When I click on the command link an action listener is invoked which decides the DYNAMIC TF that is to be loaded in a pop up .
    The pop up has a dynamic adf region in it.
    Based on the record clicked (using command link) task flow is loaded in the dynamic region of the the Popup .
    But, when i click the same link for the second time or a different record the popup is displayed as blank , The taskflow in the dynamic region is not loaded at all.(getDynamicTaskFlowId is invoked and is also returing the correct TF to be loaded)
    First time it works as expected  , but its not happening from the second time.
    I have used conditional activation , but later due to the above issue I have tried to put an expression #{true} for the active property to test if it works. It didn't.
    Please note that first time there is no issue.It does not work from the second click on same record or any other record.
    Any other suggestions to fix the above issue  are much appreciated.
    Thanks,
    Vikranth

    Hi Frank,
    I have followed the same approach. However in my case its a dynamic af:region which is causing the issue.
    Any other pointers is much apprecitaed.
    Thanks,
    Vikranth

  • I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.

    I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.

    Hi vindog60,
    Thank you for using Apple Support Communities.
    To troubleshoot this issue where you get an installation error with iTunes on your Windows PC, please follow the steps in the article linked to below.
    Issues installing iTunes for Windows - Apple Support
    Cheers,
    Alex H.

  • HT4995 My location service on Google does not work and nothing is getting saved in my history bookmark

    My location service on Google does not work. It will not bring up my location. Also nothing is getting saved in my history folder in my bookmark.

    I have the same issue, I think. If I open Safari and search Walmart (google is my default search) it doesn't give me location results, and there is a little button at the top that says 'Use Precise Location.' If I tap that button nothing happens. Very frustrating. I've checked all my settings against my wife's iPhone, and my iPad, both of which work, and I can't find anything different.

  • How do I add an app to my location services when it does not come up automatically, How do I add an app to my location services when it does not come up automatically

    How do I add an app to location services when it does not appear automatically

    Have you tried Settings>Privacy>Location Services and see if you can turn it on in there?
    Obviously it has to be an app that works with location services so if it is and nothing else works, delete the app and download it again to make it ask again if you want to allow your location to be used with it.

  • When I change a password, sometimes I get a pop-up asking if I want to save the new password - sometimes it doesn't appear. How can I save the new password if popup does not appear?

    When I change a password, sometimes I get a pop-up asking if I want to save the new password - sometimes it doesn't appear.
    How can I save the new password if popup does not appear?

    The website may be using autocomplete=off to prevent Firefox from saving the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • My setting have changed: location in navigation toolbar does not work; there is no firefox safe mode in folder

    Something has changed in my settings. If I have the navigation toolbar, my page extends all the way across the screen and I can not see the right hand part. There is nothing in location and I can not enter anything in it. I just get a message that page does no exist when I try. I can not start firefox in the safe mode as it does not exist in my folder. and there is no folder containing my localstore.rdf.

    Hi Peter,
    I'm using IE8 to view the help as this is our target but I've also tested with Firefox 3.6.8. The behaviour remains the same in all cases.
    In addition I have tested the same System Administrator help module:
    while resident on my C:\
    while resident on a shared networked drive (inside and outside of my network domain); and
    while hosted on a SharePoint server.
    I spotted this problem while testing our upgrade from RH7 to RH9 but I've since tested earlier versions of the deliverables and found that the problem was there when we were using RH7; we simply missed it .
    Here is the help prior to clicking on the hyperlinked text to the unreferenced-topic:
    Here is the target topic with the navigation pane collapsed and clicking the index button to demonstrate that nothing happens:
    On clicking "Home" in the breadcrumb trail (top right of prev. topic), the topic is displayed but the helpset does not refresh nor is there a "Show" link to open the pane, as one gets when directly opening the Home page by double-clicking:
    Any help appreciated.
    Regards,
    Charles

  • Skillbuilders modal popup v2. - popup does not open, can't figure out why..

    Hi, I am using APEX v4.1 and have used skillbuilders modal popup v2 successfully in the past. For some reason, it is working on one page (calling page 700 to pull up popup page 360) but not working on another page (calling page 900 to pull up popup page 920).
    Both modal popup pages are called from HTML buttons using dynamic actions.
    Does anyone have ideas for debugging.
    thanks, Karen
    ps. when I run the console debug, I receive the following on loading the page. I am completely new to javascript and have no idea what this means....it does not happen on p700, only on page 900
    SCRIPT5007: Unable to get value of the property 'length': object is null or undefined
    apex_4_1.min.js, line 18 character 88940
    function initTabForm(a,b,d,h,g){
    var f="#init_row_"+a;
    gErrItems=g;
    gChangedItems=new Array();
    gNumRows=h;
    gNewRows=0;
    gTabFormRegionID=a;
    gTabFormReportID="report_"+a;
    gTabForm=apex.jQuery(f).parent();
    gTabFormDefaultBG=apex.jQuery(f).children("td").css("background-color");
    gTabFormInitRow=b+apex.jQuery(f).html()+d;
    apex.jQuery(f).remove();
    var c=$x_FormItems($x(gTabFormReportID));
    for(var e=0;
    e<c.length;
    e++){
    apex.jQuery(c[e]).attr("autocomplete","off");
    if(c[e].name!="X01"){
    gTabFormData[e]=c[e].value
    else{
    gTabFormData[e]="0"
    apex.jQuery(".row-selector").click(function(){
    highlightRow(gTabFormRegionID,this,apex.jQuery(".row-selector").index(this))
    apex.jQuery(document).bind("apexbeforepagesubmit",function(){
    apex.jQuery("input[name$=NOSUBMIT]",apex.jQuery("#"+a)[0]).each(function(){
    $x_disableItem(this,true)
    apex.jQuery(f).remove()
    Edited by: KarenH on Sep 28, 2012 10:39 AM

    Thanks Pete.
    This is a large application, and I have had difficulty posting to apex in the past because the schema is too large and cannot be exported...but at least it gives you an idea.
    I am trying to rewrite p900 as it is much too complicated, and thought the modal popup would help in terms of adding new rows and validating, rather than using collections. This code was inherited, so I am a bit confused myself...but hoping to make progress.
    The button in question is called TRIPHEADER (add/edit trip header).
    https://apex.oracle.com/pls/apex/f?p=4550:1:33303433963:::::
    workspace: KEH813
    user: guest
    pwd: fish
    if you have trouble with that, access my development site:
    http://warsaw-grouper.accsp.org:7777/pls/safisd_11/f?p=4550:1:0:::::
    workspace: SAFIS
    user: guest
    pwd: fish
    you will need to run application 200 and logon as MDFISHER/SHARKBAIT
    go to FAVORITES (p900) and press ADD/EDIT TRIP HEADER....nothing happens.
    if you go to menu-->FISHER INFO and press ADD/EDIT EMAIL, you will see the modal successfully appear.
    thanks again. Karen

  • Commandbutton inside popup does not fire action/actionlistener methods

    Hi,
    I am using 11.1.1.4.0
    I have a page and on click of a button on that page, I launch a popup (using showpopupbehaviour, triggertype="click") which has a region (taskflow) inside it. The region is within a af:panelWindow inside the popup. I have also added 2 commandbuttons in the popup. Everything works fine, but the when the popup is visible, and I click the 2 command buttons on the popup, it does not execute the action method (or actionListener) method that I defined for those buttons. Any idea why this must be happening?
    Code for the popup:
    <af:popup id="popup1" contentDelivery="lazyUncached" binding="#{BackingBean.popup}">
    <af:panelWindow modal="true"
    title="#{pageFlowScope.tabContext.outcomeForPopup}"
    id="paWin12"
    helpTopicId="TOPICID_ALL"
    resize="on">
    <af:panelTabbed id="pt123" position="above"
    inlineStyle="width:650px; height:650.0px;">
    <af:showDetailItem id="sdi0"
    text="#{pageFlowScope.tabContext.outcomeForPopup}"
    stretchChildren="first"
    accessKey="0"
    immediate="true">
    <af:region value="#{bindings.r0.regionModel}"
    id="r1"/>
    </af:showDetailItem>
    </af:panelTabbed>
    <af:commandButton text="First"
    action="#{BackingBean.firstClick}"
    actionListener="#{BackingBean.firstClick}"
    id="cb3">
    </af:commandButton>
    <af:commandButton text="Second"
    action="#{BackingBean.secondClick}"
    actionListener="#{BackingBean.secondClick}"
    id="cb4">
    </af:commandButton>
    </af:panelWindow>
    </af:popup>
    In the page definition of the main screen, I have this taskflow added
    <taskFlow id="r0" Refresh="ifNeeded" activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    taskFlowId="#{pageFlowScope.tabContext.taskFlowIdForPopup}">
    <parameters>
    <parameter id="outcome"
    value="#{pageFlowScope.tabContext.outcomeForPopup}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    <parameter id="tabContext" value="#{pageFlowScope.tabContext}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    </parameters>
    </taskFlow>
    Thanks
    Vishal

    Hi friend ,
    1,Inside the pop up u give two command buttons and double click the one button and it asking for create one bean.
    2.U create the bean and inside u give coding like
    public class popvisible
    public popvisible()
    public String page1naviagetion()
    // Add event code here...
    return "popTouser";(This is is Control flow case name it will go to another JSPX page.)
    public String page2navigation()
    // Add event code here...
    return null;
    }

  • Multiple Select List does not Refresh with Dynamic Action

    All,
    Scenario:
    Using APEX 4.2.2, I have a Select List page item (P4_SPONSOR) set to allow multiple values which has a dynamic LOV to populate the list.  What I would like to do is highlight the display values based on another page item's value (P4_DRIVER_ID).  When I set the source of P4_SPONSOR to static text, such as a delimited string of 1:2:3:4, any display values where the return values are equal to the static text are highlighted when the page loads.
    Problem:
    The problem lies in trying to use a query as a source for P4_SPONSOR which is filtered based on the other page item, P4_DRIVER_ID.  For instance, my SQL Query (returning colon separated values) returns the same as the static text noted above.  In the query's WHERE clause, I specify that the driver's ID is equal to P4_DRIVER_ID:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    This, as I understand it, would necessitate a refresh of P4_SPONSOR whenever the value of P4_DRIVER_ID changes.  So, I have a Dynamic Action that does just that.  When executed on the page, I can see the P4_SPONSOR multiple select list actually refresh, but none of the display values become highlighted.
    Thoughts?
    Thanks,
    -Seth.

    Seth,
    A dynamic action refresh of your select list will refresh the list of values (this is what you are seeing), it will not refresh the value of the item itself.  In fact, it will remove any values that you had already selected.  To refresh the value you will need to add additional dynamic actions.
    Create another dynamic action with:
    Event: After Refresh
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    If this was a normal select list you could just create a Set Value action and use your query to set the value of the select list.  Since this is a multiple select list your will need to get your colon delimited value first and then use some javascript to set the values of your select list.
    Create an hidden page item name P4_SPONSOR_TEMP.
    Add a true action to your new dynamic action:
    Action: Set Value
    Set Type: SQL Statement
    SQL Statement:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    Page Items to Submit: P4_DRIVER_ID
    Selection Type: Item(s)
    Item(s): P4_SPONSOR_TEMP
    Add another true action to your new dynamic action:
    Action: Set Value
    Set Type: JavaScript Expression
    JavaScript Expression:
    $("#P4_SPONSOR_TEMP").val().split(":")
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    --Jeff

  • Detail region does not refresh when selecting from a drop-down list in master region

    I am using DW CS3 and have updated to version 1.6.1 of Spry.  Using an XML dataset, I am able to create a Spry table as the master region that links to a detail region that displays a small JPG graphic.  It works fine in this format (clicking on a row displays the correct graphic).  However, my table has 80 rows and requires the user to do too much scrolling. So I changed the master region to a drop-down repeat list, but the graphic does not change when a new selection is made in the drop down list.  Listed below is the code produced when I used the insert Spry Repeat List.  I got the same results when adding a spry:setrow="dsChartNurse".  I also tried -- onclick="dsChartNurse.setCurrentRow('{ds_RowID}');" -- which again made no difference.
    When I removed children from the spry:repeat, the master region displayed as a two column list of all 80 items in a drop-down list format.
    <div spry:region="dsChartNurse">
           <select name="select" spry:repeatchildren="dsChartNurse">
             <option value="{name}">{name}</option>
           </select>
    </div>
    <div id="image" spry:detailregion="dsChartNurse">
       <img src="{dataimage}" align="center" style="margin:50px 0 0 0"width="320" height="164" />
    </div>
    Thanks so much to anyone who can help correct my code in order to have a drop-down list display information correctly in the detail region.

    Thanks for the quick reply.  I did solve the problem I was having by changing from onclick to onchange in the master region.  But, now I have another problem with, of course, IE.  I just put in online at http://www.minursemap.org/ageDistNurse.html.  When opened in IE, the drop down list displays the last entry, but the image is for the first in the list.  Thanks again for your help.

  • New window popup does not open on Windows

    hi,
    when I open an new window in a Premiere HTML5 extension on Mac, it works,
    but no window opens on Windows.
    newwindow = window.open('www.adobe.com','name','height=200,width=150');
    Trying to apply moveTo() or focus() after open() returns Cannot call ... method of undefined.
    I wonder what causes this, probably it just gets blocked. By Windows? Premiere on Windows? Chrome in the extension on Windows?
    Is there something I can do about this?
    I cannot open it in the default browser because ultimately the window popup is a Paypal popup
    opened by a webpage loaded in an iframe- which gives the same result as trying to open a window directly from within the extension as described above,
    thanks,
    Jeff.

    This is a known issue of CEP; we disabled these methods (with window.open() or <a href=url >) to open a new page. A work around is using API CSInterface.openURLInDefaultBrowser(url) to open it in system default browser. I am afraid that CEP does not provide other work around methods if openURLInDefaultBrowser() cannot suit your requirements.

  • The located assemblys manifest defination does not match the assembly reference.

    Hi,
    I have imported organization in new environment using .bak file. After completed deployment i am exploring the system but unfortunitly getting issues related to plugins on opportunity records. can you please anyone help me on this. Below i shared the log
    file and error screen.
    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Could not load file or assembly 'Microsoft.Xrm.Client, Version=5.0.9690.2165,
    Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)Detail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220891</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
        <KeyValuePairOfstringanyType>
          <d2p1:key>OperationStatus</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">0</d2p1:value>
        </KeyValuePairOfstringanyType>
      </ErrorDetails>
      <Message>Could not load file or assembly 'Microsoft.Xrm.Client, Version=5.0.9690.2165, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
    (Exception from HRESULT: 0x80131040)</Message>
      <Timestamp>2015-04-14T07:08:43.8293096Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>
    [OpportunityPlugins.Plugins: OpportunityPlugins.Plugins.PostOpportunityUpdateEstCloseDt]
    [2d74942a-9799-e411-a3d6-00155d012d28: PostOpportunityUpdateEstCloseDt]
    Entered OpportunityPlugins.Plugins.PostOpportunityUpdateEstCloseDt.Execute(), Correlation Id: a8fdba7f-8b53-48e3-a237-6fe6388ac1f5, Initiating User: 81e71657-a917-e111-af73-00155d011f08
    OpportunityPlugins.Plugins.PostOpportunityUpdateEstCloseDt is firing for Entity: opportunity, Message: Update, Correlation Id: a8fdba7f-8b53-48e3-a237-6fe6388ac1f5, Initiating User: 81e71657-a917-e111-af73-00155d011f08
    Exiting OpportunityPlugins.Plugins.PostOpportunityUpdateEstCloseDt.Execute(), Correlation Id: a8fdba7f-8b53-48e3-a237-6fe6388ac1f5, Initiating User: 81e71657-a917-e111-af73-00155d011f08
    </TraceText>
    </OrganizationServiceFault>
    Kindly help me.
    I checked plugins registered in Database.

    You plugin assembly (OpportunityPlugins.Plugins.PostOpportunityUpdateEstCloseDt) has a reference to v.5.0.9690.2165 of the Microsoft.Xrm.Client assembly, and the error indicated that v.5.0.9690.2165 of the Microsoft.Xrm.Client assembly is not available in
    the new environment
    Ideally, plugins should not use the Microsoft.Xrm.Client assembly, but instead use the Microsoft.Xrm.Sdk assembly, which will always be available. So, the preferred solution would be to recreate the plugin assembly without the reference to the Microsoft.Xrm.Client
    assembly
    An alternate solution, which may be quicker, would be to recompile the plugin assembly against whichever version of the Microsoft.Xrm.Client assembly is on the system, but this won't solve potential future errors with future Crm versions
    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.core.co.uk

  • Region does not refresh in Address ESS.

    Dear all experts,
    When updating address of employee who belongs to Kuwait country group on web portal ESS, all regions are Kuwait specific and regions do not refresh if employee chooses a different country to update emergency or permanent addresses.
    Can you help on this problem?
    Thanks and kind regards,
    TramNguyen

    You have to create a new address using the NEW button from the overview screen in order to enter a new country within the address screens. You cannot update country within the existing addresses as they screens will not update based on the new country selection. In fact the country should not even be an open field on the screen when in edit mode. If you do not have a NEW button on the overview screen, please check your configuration for subtypes for ESS within the IMG.
    Cheers,
    Mike

Maybe you are looking for

  • How to limit line items for 999

    Hi Gurus i heard that a standard setting should be there to  all company codes to create a second accounting document as soon as the number of lines reaches 800 or above   lines. Can you tell me where to check this settings ? can you tell  me the che

  • ITunes will not recognize my iPod Touch 4 so I am not able to restore

    I am trying to restore my iPod Touch 4th Generation so I can get rid of the jailbreak but whenever I plug in my device, the computer recognizes it but not iTunes. I have managed to get it to recognize it a few times which is when I try to restore it,

  • Not allowed to import classes without package names?

    Hi, I have a few questions on Packages and importing? 1. Is the following true that it is illegal to import classes in the same package as the current class, will this cause a comilation error? If this is the case where in the Java Language specifica

  • How to get the type of user role in ISF?

    We have functionality to hide all the buttons on Monitor task, which was successfully achieved by javascript. But we need to enable these buttons for only Site Administrators, so that they only can do necessary modifications upon request from end use

  • How can I get my AVI files to play on my PC?

    How can i get my AVI's to play with sound, whenever i load them there is a pop up directing me towards the quicktime page that has the add ons (CC, xvid, dvix etc) i tried converitng to divx and still no sound. HELP! I have downloaded DVIX and XVID a