How to refresh iterator to get the deleted item

Hi,
Scenario:
User loads the first page. He can see his profile details. He clicks on a edit link ; it opens a popup to edit details along with a save and cancel button. He deletes his phone number and click on cancel. The cancel button will just close the edit popup.
Problem:
He is not able to see his phone number in the front page. Only if he commits his phone number should get deleted. I think i have to clear the cache and refresh the iterator on click of cancel. I have added CacheResults="false" for iterator.
<iterator Binds="AdminVO1" RangeSize="25" DataControl="AppModuleDataControl"
id="AdminVO1Iterator" CacheResults="false"/>
I tried to refresh the iterator like iterator.setRefreshOption(8192);// as i found in one blog.
Its also not working. Can anyone please tell me how can i refresh the iterator to show the deleted row when he goes back to the first page on click of cancel

sorry for the post

Similar Messages

  • How to refresh VO to get the changed value in other AM or backend database

    one VO is refrenced by two AMs, when i insert or update data by VO in one AM, how to get the changed data in another AM ?
    another case is i have updated some attributes of the record in database by SQL statement ,but the client can not get the updated value at once .
    i have tried to use executeQuery() ,but it does not work. now i always do a rollback method ,a bad idea.:)
    pls help me ! thanks
    Message was edited by:
    Guo Qinghua

    Mind that ADF BC (probably like any other persistence framework) caches data. So when you update something in the database other than via ADF BC, you then have in the ADF BC cache what is called 'stale data'. When you try to commit that nevertheless, the database will tell ADF BC that the record in the database has been updated by another user, and a rollback will be done. That is all to be expected.
    You can find some more info on how this works here:
    http://download-uk.oracle.com/docs/html/B25947_01/bcvoeo007.htm
    It also explains how to clear the cache and enforce that data will be read from the database.
    Jan Kettenis

  • How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    How do I get my deleted emails to go to the deleted items in Outlook and not the archived folder?

    Who is the email account provider?
    With an Apple iCloud account, there is a preference setting with the account settings on the iPhone to archive messages - save deleted messages in your Archive folder.
    I believe the same is available with a Gmail account.

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • How to get the selected items from listbox

    Regarding listbox i have two questions
    1) I want to get the selected items as per the order in which ihave selected.Presently i'm getting in the ascending order.For example after selcting the 1,2,6 if i select 3 then its giving 1,2,3,6.But i want it in the order 1,2,6,3
    2)I want to select items from a single list box to many other listboxes.(ie) my first selection should goto first,second one to the second listbox and like this.How should i write the logic.
    please give me a suggestion.

    In order to have the selected items line up in accordance to the selection order, please do it one at a time. (That's the limit for that VI)
    If you need more than that (i.e. to regconize which item clicked first and which one comes later), you may have to figure it out ya
    Wish you good luck. Perhaps, someone else has a already made vi.
    Cheers!
    ian.f
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i c

    I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i can't because i don't have the earbuds and i have serches or them. now i am suck with a phone i don't like at all until my next upgrade. this is very dishearten

    1. If you are this unhappy with that phone, and the lost earbuds is the only thing stopping you from taking it back, why do not just buy some earbuds. That way you can get rid of that phone. It all depend upon how much you want to get rid of that phone.
    2. Yet if you are stuck with that iPhone, here is something might help you to control the data usage. By design, iPhones do turn off WiFi when they go dormant. So if a download is in progress and so forth when the phone goes dormant, it will switch to use cellular data, if this setting is left on. Therefore, from multi-sources I have learned that if you keep your iPhone connected to a power source, then it will stay connected to the available WiFi.

  • How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid

    How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid.  When I tried to type this in for registration, it does register as this numbers also contain letters in it.  Apparently the registration boxes accept numbers only.  What do I do with a useless product for which I have paid good money for it?????

    This is the simple solution which was offered to me when I tried to get the serial code on line.
    The box and disc sleeve do not contain a series with 24 numbers which I presume is the product code to install.
    I tried to redeem the registration code by following what they recommended, but inevitably it gets to the page that showed the registration boxes that need 24 serial numbers and I got stuck again.
    This product is so different what my previous experiences of other software products where I just enter the serial number straight from the disc sleeve and then I got registered and go on to use the software.
    I is really frustrating, spending the last two hours trying to get my product going....

  • Do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

    do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

    Sounds like you need a new battery.  I would make an appointment at the Genius Bar of an Apple store to confirm.  Apple will replace the battery for $79.  A third-party place like the folloing may be less expensive.  Google for more places.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    You can also replace it yourself if you are so inclined.  For parts and instruction:
    iFixit: The free repair manual

  • HT1338 I have a macbook on OS X 10.5.8 how do i update to get the latest itunes 7 do i need snow leopard and then mountain lion

    I have a macbook on OS X 10.5.8 how can i update to get the lates itunes 7 si i can sync my iphone 5

    Upgrading to Snow Leopard, Lion, and Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    You can purchase Snow Leopard contact Customer Service: Contacting Apple for support and service. The price is $29.00 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    You can purchase Lion contact Customer Service: Contacting Apple for support and service. The cost is $19.99 (as it was before) plus tax.  It's a download.
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.
    Model Eligibility for Snow Leopard and Lion.
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.

  • How to get the Clicked Item of a ListBox?

    I need to get the clicked item of a listbox.
    The item can be at first selected, when I click it again, it
    automatically gets de-selected, but I want to get that item
    whenever I click it. Any idea how to do this?
    This line does not work, because it gets the selected item.
    var pattern:String = event.currentTarget.selectedItem.myname;
    This one must work,but something is missing.
    Anyone can help me with this?
    marks is my ArrayCollection;
    var pattern:String =marks.getItemAt[??].myname;

    Here is my code. Am using this function in the itemclick
    event of the ListBox.
    My ListBox is a multi-select listbox. So am selecting several
    items by pressing "Ctrl" key and selecting each item using click.
    Say I have selected 4 items, when I press "Ctrl" and
    de-select one of the items, I want to get the itemname of the
    deselected item.
    public function createMarksList(event:ListEvent):void{
    // Alert.show(new
    String(event.currentTarget.selectedItem.myname));
    // var pattern:String =
    event.currentTarget.selectedItem.myname;
    // pattern = pattern += "," + pattern;
    // text1.text = pattern;
    <mx:List x="9" y="46" width="121" height="121"
    id="lstMarks" allowMultipleSelection="true"
    itemClick="createMarksList(event)"></mx:List>
    So, your help is required here buddy.
    I sitll can't figure out.
    Thx

  • How can i do to get the picture on the projector?

    When i connect my macbook with an vga adapter to my projector it does not work. The projector is saying: no signal. How can i do to get the picture on the projektor?
    Thanks

    Hi axel559,
    Try connecting the MBP to the projector with the projector on, then boot the MBP, if it does not detect the projector, go to system perferences>displays>click detect displays. You might then have to adjust the resolution to have a correct image, usually 1024X768.
    Hope this helps.

  • How do i disble edit menu's delete item on the oracle forms 11i

    How do i disble edit menu's delete item on the oracle forms 11i
    i have an oracle form that i created using standard template, i am able to disable the edit.clear button but cannot disable the edit.delete button.
    Pelase help.

    Hi user6010265
    Welcome here :)
    but unfortunatly u mis-choose the right forum pls follow the following link they might be more helpful than us..
    Transfer alert in 11i
    Regards,
    Abdetu...

  • My ipod is the second Generation, how can i upgrade  to get the latest game apps and such?

    My ipod is the second Generation, how can i upgrade  to get the latest game apps and such?

    You probably can't. Many games and other apps now require iOS 4.3 or later, and iOS 4.2.1 is the last version that will run on a 2nd-gen iPod touch. If you want to run newer games, you'll need a newer iPod.  If you want to look for games that will run on your iPod, here's a tip from another user that may help you:
    "I was running into the same problem trying to find apps for my daughters Iphone 3g running 4.2.1.  What I did was go to the Itunes store through Itunes on my PC, and then went to the bottom of the main page and clicked "Browse." On the browse page I selected, App Store, Games (category), Kids (subcategory), and then a list of apps appears below. 
    I sorted by date (oldest to newest) by right-clicking next to "price" and choosing "release date" on the menu that pops up. The date created field will then be showing, which you can click on to sort newest to oldest or oldest to newest.  I downloaded a bunch of free apps starting from the oldest (by name - you don't have much else to go on).  Of the 30 or so I added to my Itunes, about 27 of them were compatible with 4.2.1. 
    This is defintely not a perfect way of finding apps, but after spending a lot of time searching for a better way this was the best I could come up with."
    You can also check out these web sites:
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices
    http://findoldapps.com
    Other posts may provide other tips on how to look for compatible apps.
    Regards.

  • Upon upgrading to Yosemite, the Pages and Numbers apps will not open (although they are the latest versions) and Keynote will not upgrade; how do I go about getting the apps to open?

    Upon upgrading to Yosemite, the Pages and Numbers apps will not open (although they are the latest versions) and Keynote will not upgrade; how do I go about getting the apps to open? Is this a common issue?

    Hi Madhattanite,
    Welcome to the Support Communities!  When did you purchase your Mac?  The first thing I would suggest is to review the information in the resource below for the Up-To-Date Program for Pages, Numbers, and Keynote.
    Once Yosemite is installed, you should have the option to Accept the Pages, Numbers and Keynote apps in the Mac App Store Purchases pane.
    Apple - Up-to-Date Program for Pages, Numbers, and Keynote
    I hope this helps ...
    - Judy

  • I have an old MAC running OS X 10.2.8 and lost internet capabilities, how do I update and get the internet back?

    Help please, I have an old iMac running OS X 10.2.8 and lost internet capabilities, how do I update and get the internet back?

    Was it connected to the internet before, and if so how?

Maybe you are looking for

  • Calling LiveCycle Data Services from a Flex application within AIR

    Hi there, I was experimenting with AIR by migrating some of the Flex TestDrive sample applications and trying to run them as stand-alone apps. Following the examples I found on some blogs, I managed to run the applications that use WebService and HTT

  • Error while reverse engineering a Flat File

    Hi I am getting following error while trying to reverse engineer a Flat file. Could you help in identifying what's the problem com.sunopsis.core.SecurityAccessException: oracle.odi.core.exception.OdiRuntimeException: OdiInstance is closed      at com

  • Additional component needed

    I downloaded a movie file (.avi) and the video plays fine in quicktime, however, the audio is not playing. It said that I need and additional quicktime component that mine does not have. What component do I need to download?

  • Everytime I click "Rename Layer" the program shuts down.

    I recently got the trial version of Photoshop Elements 13 and it was working fine last night and was doing everything that I needed it to do, but today I opened it up and couldn't go through "Rename Layer" to add on a second layer, which I really nee

  • Disk installation keep crashing - Hard Drive corrupt

    Hi, I tried to fix a hard disk problem on my 2010 macbook pro. When I verify my disk with disk utility, it reports that 'The volume Macintosh HD was found corrupt and needs to be repaird'. So I follow the instruction by using the install disk to fix