Refreshing the screen that has af:table

Hi,
I have an Entity X, and I have an Edit screen where I can update attributes values of X Objects. On the Edit screen(JSPX), I have OutputText, InputText, selectOneChoice, selectBooleanCheckbox, and af:table components. On the Edit Screen I also have copy capability, the user can pick another Object of X and copy all its attributes values to the current object. When the copy is done, the copied values are instantly displayed on the screen for all the components except the af:table components(certain rows should be selected after the copy is done). I tried to refresh the page using the below code but didn’t help
protected void refreshCurrentPage(){
FacesContext context = FacesContext.getCurrentInstance();
String currentView = context.getViewRoot().getViewId();
ViewHandler vh = context.getApplication().getViewHandler();
UIViewRoot x = vh.createView(context, currentView);
context.setViewRoot(x);
x.setViewId(context.getViewRoot().getViewId());
I tried to add the table as a partialTrigger using the below code but that didn’t help
AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
adfContext.addPartialTarget(compsTableComponent);
I have been struggling with this for days, can anyone suggest any solutions to it. I use ADF Business Components
Thanks :(

Hi,
you lost me in the listing of components and what they do on the edit page. But I think that they are irrelevant for the question you ask anyway. So here are the options
1) call facesContext.getExternalContext.redirect("/yourViewId.jspx");
or
2) try refreshing the surrounding cotainer of the table. Sometimes its not the component you need to refresh, but the parent container
Frank

Similar Messages

  • When I open my internet and go to say Macys and try to bring up all pages for handbags, the screen goes black and it returns to the screen that has all my icons on it.  Why and how do I fix?

    When I open my internet and got to say the Macy's website and try to bring up all pages in the handbags dept, the screen goes black and it returns to the screen that has all my icons on it. Why?

    Safari is crashing.
    Try a reset:
    Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.

  • I just updated my ipod and now im stuck on the screen that has the itunes sign on it what do I do

    I downloaded the new update but im stuck on this screen that has the ipod charger pointing to the itunes icon i dont know what to do

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • My iphone is stuck on the screen that has the apple on it as if it is rebooting but it does not do anything has anyone had this problem?

    my iphone 3g is stuck on the screen with the apple on it as if it is rebooting has anyone had thisproblem?

    i have this prob too anyone help

  • Open apps on screen that has the dock?

    i can touch the bottom of the screen on my multiple monitors now to bring the dock to that screen instead.
    If I have an app that is the active app on a particular screen, but the DOCK on a different screen, and want to launch another app (e.g., to be side by side with the current one I am working on), the new app gets launched on the screen with the current program, not the screen with the DOCK.
    Is there a way - or an app that I can download - that launches new processes on the screen that has the DOCK, not the screen that has the active menu bar - because this is exactly backwards to how one would expect it to work.

    i have this prob too anyone help

  • My ipod touch (3rd generation) is stuck on the screen that shows me to sync it to i-Tunes.

    When I turn on the iPod touch, I get the screen that has a picture showing that I should plug it into iTunes, but when I do, I get a message that says I need a passcode.  I downloaded the latest version of iTunes and ran a diagnostic test to see if there were any problems and it said that iTunesHelper is currently not running. Everything else was working just fine.  I don't know how to make sure iTunesHelper.exe is running.  Also, the volume was not working properly before this happened.  I'm not sure if that is related to the issue.  Any suggestions?

    You'll need to connect in recovery mode to get past the passcode and restore the ipod. After that you can set up a passcode you choose. Log into the ipod after that with the new passcode and deactivate the passcode in the Settings of your device.  iPhone and iPod touch: Unable to restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    Message was edited by: Ingo2711

  • TS1702 After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • My iphone keep freezin on a screen that has the itunes circle with the usb cord on it what do i do

    what do i do when my iphone is stuck on a screen that has the itunes circle on it and a picture of the usb cord connection on it it is just frozen

    You probably have to go through a restore of the phone.
    Plug the phone in and launch iTunes, then select your phone from the left side of the menu.
    There will be an option to restore the phone and click that button.
    That will erase and restore the phone.  After it's done, it will ask you to restore from a recent backup, and you can choose to go ahead and restore.
    You should be back up and running from there, but may have to do some minor tweeks to get yourself back up exactly as you left off.  Some things like your visual voicemail password and email passwords may have to be entered again, but you'll be in good shape.

  • HT4623 My iPad 2 is stuck on a black screen that has the iTunes symbol and a charger that I'm guessing means "plug into iTunes". I did so and then waited four hours to download something. And now it is saying that its going to update my iPad but it isn't

    I clicked the button in my setting thatz is saying "software update iOS 6.1.2. It turned off and now My iPad 2 is stuck on a black screen that has the iTunes symbol and a charger that I'm guessing means "plug into iTunes". I did so and then waited four hours to download something. And now it is saying that its going to update my iPad but it isn't working. I tried to "update" twice. I am VERY ANNOYED beczuse the last time i updated it, it just turned off and i didnt have ot plug it in or anything. WHY IS IT DOING THIS.....?????? My ipad will not turn on or anything. Help me FIX THIS!!!

    hi Kinney. last hour, i update my ipad 2, then im having the same problems as u. im also hoping people can solve this issue.

  • My iPhone 5 has a grey-ish blue splodge on the screen. What is it and how can I get rid of it? The place that has the spot is about the size is about 2cm,it still works where the spot is. I haven't sat on my phone or hit it to hard, not that I remember.

    The place that has the spot is about the size is about 2cm,it still works where the spot is. I haven't sat on my phone or hit it too hard, not that I remember.  I  noticed a while ago. Will it disappear? I can see the things that should be where the spot is eg it's on the keyboard and I can see the keys. Will this spread to the whole screen? How can u get rid of this?

    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
    iPhone model
    Out-of-Warranty Service
    iPhone 5s, iPhone 5c,
    iPhone 5
    $269
    iPhone 4s
    $199
    iPhone 4, iPhone 3GS,
    iPhone 3G, Original iPhone
    $149
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax.

  • My mac keeps highlighting different boxes all the time and a text box has appeared on the screen that says what box is highlighted if the sound is turned up when you press a key or click on a box you are informed of the action any ideas what i can do?

    Hi my Mac keeps highlighting different action boxes (on its own) all the time a strange text box has appeared on the screen that informs you if you press a key or click on a item. if the sound is turned up you are informed when a item is highlighted or a you click on a item HELP!

    Hi Thanks for your help fixed the problem
    Kind Regards
    Nannedee

  • I was synching my iphone 4 and unplugged it. It's now stuck on a screen that has the chord and the music note that says itunes under it. I have tried to reboot and have even cancelled my last synching process. My phone is froze

    I was synching my iphone 4 and unplugged it. It's now stuck on a screen that has the chord and the music note that says itunes under it. I have tried to reboot and have even cancelled my last synching process. My phone is froze. I need help.

    You probably have to go through a restore of the phone.
    Plug the phone in and launch iTunes, then select your phone from the left side of the menu.
    There will be an option to restore the phone and click that button.
    That will erase and restore the phone.  After it's done, it will ask you to restore from a recent backup, and you can choose to go ahead and restore.
    You should be back up and running from there, but may have to do some minor tweeks to get yourself back up exactly as you left off.  Some things like your visual voicemail password and email passwords may have to be entered again, but you'll be in good shape.

  • There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.

    Hi All,
    i created one  enchancement to ME21n screen,
    i added one screen at header
    When i running the the transaction ME41 it shows the following error.
    This function not defined
    Message no. 06006
    Diagnosis
    There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
    Procedure
    Contact your system administrator.
    Am i need to add this functionalty to any  sap table.
    plz guide me on this.

    Hi Krishna
    Have you added any buttons in the custom screen if yes then you will have to maintain configuration data for Function code processing.
    Please search on SCN for the same
    Nabheet

  • My iphone 4 has an error message on the screen that reads "iphone disabled connect to itunes" what do i do

    My iPhone 4 has an error message on the screen that reads "iiPhone disabled connect to iTunes" I've tried connecting and can't get anywhere what do I do and what is the problem?

    Your phone is disabled for some reason. Maybe you entered the wrong Passcode too many times. In any case you need to do just as the phone is instructing you to do. Start the latest version of atones on your computer and connect your phone. iTunes should guide you through the process of getting your phone working again. Here's a link to an Apple support page on this:
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • My computer has streaks on the screen that won't come off

    I just got the new Macbook Pro with Retina Display about a month ago and now on the screen there are streaks all over the screen that won't go away. I have tried using water, glass cleaner, and glasses cleaner wipes but it won't come off. Is this some type of defect or is there some other way to clean it?

    You are still under warranty.  Call Apple Care. Make sure you get a case number as all repairs have an additional 90 days of warranty. 
    #1 - You have 14 days from the date of purchase to return your computer with no questions asked.
    #2 - You have 90 days of FREE phone tech support.
    #3 - You have the standard one year Apple warranty.
    #4 - If you've purchased an AppleCare Protection Plan, your warranty last for 3 years.   You can obtain AppleCare anytime up to the first year of the purchase of your computer.
    Take FULL advantage of your warranty.  Posting on a message board should be done as a last resort and if you are out of warranty or Apple Care has expired.

Maybe you are looking for