[solved]Refresh doesn't work - what did I do wrong?

Hello,
I'm trying to implement a filter in my application (ADF/Swing) using setWhereClause(). However, the graph and the table that belongs to "ServiceStatisticPerD_TotalHitsIterator" doesn't refresh although you can see the application working.
    private void ButtonRefresh_actionPerformed(ActionEvent e) {
        Object selectedItem = jComboBox1.getSelectedItem();
        String whereClause = "STEP = '" + selectedItem.toString() + "'";    
        voHits.setWhereClause(whereClause);
        voHits.executeQuery();
        System.out.println(voHits.getQuery());
        DCIteratorBinding dciter = (DCIteratorBinding ) panelBinding.get("ServiceStatisticPerD_TotalHitsIterator");
        dciter.executeQuery();
    }This is the result of the println:
SELECT ServiceStatisticPerD.TOTAL_HITS,
ServiceStatisticPerD.DATE_TIME,
ServiceStatisticPerD.STEP FROM SERVICE_STATISTIC_PER_D ServiceStatisticPerD WHERE (STEP = 'something')The SQL is valid and shows the wanted result if i put it into a SQL Worksheet.
This is the matching iterator in the *PageDef.xml file:
    <iterator id="ServiceStatisticPerD_TotalHitsIterator"
              Binds="ServiceStatisticPerD_TotalHits"
              DataControl="AppModuleDataControl"/>Why doesn't the chart and the table refresh? Thanks in advance for your help.
Message was edited by:
user586578

Sorry I didn't copy the variable declaration.
ViewObject voHits = am.findViewObject("ServiceStatisticPerD_TotalHits");am was defined as:
ApplicationModule am = Configuration.createRootApplicationModule("model.AppModule","AppModuleLocal");What did you mean with:
Make sure the Application Module is accessed through ADFHow else can I access the Application Module than I did? I tried the search and looked into the reference but couldn't find it.
Alex

Similar Messages

  • Photo Booth doesn't work, what did I do wrong?

    I just got a new iSight, and in the very beginning everything worked properly, including the camera and the front row remote control. However, after I have installed few softwares I need to use (Backup 3, Microsoft Office, and the wireless Logitech keyboard and mouse, the Photo Booth would not open any more and gives me the following warning: "Make sure your digital video camera is properly attached and turned on. If you are using the camera with another application, close that application before trying to open Photo Booth again." The remote doesn't work either. Could anyone help with the idea what it might be? Thanks a lot as always.
    Zo

    The issue has been solved thanks to the great guys on the Support Web Chat, they lead me through the resseting PRAM and NVRAM, and now everything works just fine.
    Cheers to all.
    Zo

  • I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    # Question
    I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    The backend end is in serious pain....on many levels.
    Try this: Connection Problems Form

  • HT4061 I have an iphone 3gs - the new ios 6.1 (?) upgrade has inabled my phone. I get a white apple on the screen. can't reset phone - doesn't work. what can I do besides take phone into Apple?

    I have an iphone 3gs - yes, an older iphone. 
    This morning apple had a msg that asked if I wanted to upgrade to the new ios 6.1 (?).  I said yes.  Now I can't use my phone.  I've tried hitting the power and other buttons.  I get a white apple on the screen. can't reset phone - doesn't work. what can I do besides take phone into Apple?  This *****!  I realize (now from reading internet) that my phone/system may be uncompatible.  Help!

    I have a 3GS (a true classic design!) and have upgraded it to 6.1 today.  The process did not go without a glitch - it took a few attempts to get the app's to sync but after detecting the ones causing an issue and deleting them it works - so far!  I have had issues about 50% of the numerous times a new OS is uploaded to this phone and always take the new OS with trepidation.  But at least you know there is a 3GS with 6.1 working OK.
    I suggest you do a fresh restart to the phone several times - without it being connected to the computer - to see if it gets its act together and starts.  I think it will.  Hold down the top 'power' button and front round control button until it shuts down - goes blank and dead.  Then press the top power button to re-activate - reboot - it.
    If that does not work then plug into your itunes computer, navigate in iTunes to see your iPhone and hopefully you will be able to sync it or at least 'restore iPhone' from the 'summary' tab.
    If you can not get onto the iphone perhaps you will still be able to sync if in iTunes by going - 'file' - 'devices' - 'sync iphone' or failing that try transfer purchases' and ultimately 'restore from back-up'.
    I had technical problems with my old 3GS (suffered a failed wireless antenna) so I took it to an Apple Store and they issued me with a service-replacement/reconditioned phone for a very modest charge.  So if worst come to the worst get a new phone that way!

  • I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    There is no more LiveType with Motion 5.  You may want to go to the Final Cut Express forum, as that's the only place it's existed for the last few years.

  • My ipod touch 5th generation will not turn on and the home button doesn't work. what do i do?

    Hello my name is Leslie and i would like to ask you guys a question on how to fix my ipod or what is wrong with it. My ipod touch 5th generation will not turn on and the home button doesn't work. what can i do to fix it ?

    Has the home button worked in the past, or is this been something that hasn't worked for some time? The only way to reset the device is with the sleep/wake (power) and home buttons together. Without it, you would have to wait until the battery dies and then plug it in to try and reset it. The Home button is used for several user troubleshooting steps. Without it, you cannot perform a reset, put the device into recovery mode, or place it in DFU mode. You need to get the home button repaired.

  • I have synced my Iphone 3GS to the newest itunes version to get IMessage, it worked but now it doesn't and i have tried resyncing my phone but it still doesn't work. what should i do?

    I have synced my IPhone 3GS to the newest iTunes version to get IMessage, it worked for a while but now it doesn't work and I have tried resyncing my phone but it still doesn't work. what should I do?

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as new device.
    If you have been through ALL of the troubleshooting steps and you're still having problems, then you'll need to bring your phone to Apple for investigation.

  • I upload my iPhone 4s and it went to recovery mode i have tried to exit recovery mode by pressing the home  and the power bottom but it doesn't work what more can i do please help me

    i upload my iPhone 4s and it went to recovery mode i have tried to exit recovery mode by pressing the home  and the power bottom but it doesn't work what more can i do please help me

    http://support.apple.com/kb/ht1808

  • I just updated my computer to OS X Lion but my ical doesn't work, what do I do?

    I just updated my computer to OS X Lion but my ical doesn't work, what do I do?

    - Try connecting to comutr and then try to restor.
    - If still white screen, let the battery fully drain. After charging for an hour try the reset and restore again.

  • I'm stuck on a safari/app page.My power button or home button doesn't work.What do I do?

    I'm stuck on a safari/app page.My power button or home button doesn't work.What do I do?I cant get to the home page or shut it off.

    Try the steps here that you can accomplish. You can use this program to place the iPod in recopvery mode
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    - 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       

  • Forgot my passcode and the computer i backed it up on doesn't work, what can i do.

    forgot my passcode and the computer i backed it up on doesn't work, what can i do.

    Erasing the device is supposed to erase the passcode which is supposed to allow you to activate the device again. Let it go for the 10 minutes and then see if you can activate it again. You can also try erasing the device again and see what happens.
    Go to icloud.com/#find.
    If prompted, sign in with your iCloud Apple ID.
    Click All Devices at the top of your browser window.
    Select the device you want to erase.
    Click "Erase [device]" to erase your device and its passcode.
    Use the Setup Assistant on your device to restore the most recent backup.
    This is what Apple recommends, so you have to trust that it is going to work .....

  • I have downloaded the Adobe CC free trial.  But when I tried to use the photoshop, it always tells me the photoshop was not working and will be closed.  What did I do wrong ?

    I have downloaded the Adobe CC free trial.  But when I tried to use the photoshop, it always tells me the photoshop was not working and will be closed.  What did I do wrong ?  I like to try it before I buy.  Help, please !

    Could you go to (in Photoshop) Help>System Info>Copy and paste here in its entirety? Also, if there is a crash report paste it here as well.
    Benjamin

  • I upgraded my software to OS X version 10.9 and now my Canon MP145 scanner doesn't work, what should I do ?

    I upgraded my software to OS X version 10.9 and now my Canon MP145 scanner doesn't work, what should I do ?

    Welcome to Apple Support Communities
    There are two Applications folders: /Applications (in the root level of the hard drive) and ~/Applications (in your user folder).
    If you have a look at the bottom part of the screenshot, you can see where Chess is stored, and it indicates that it's stored in /Applications, so you are looking for applications in the wrong folder.
    Open a Finder window, go to Finder menu (on the menu bar) > Preferences > Sidebar, and mark Applications. Then, close the Preferences window and you will be able to access to the Applications folder in the Finder sidebar. Another option would be to go to View menu (on the menu bar) and type:
    /Applications

  • Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    More information please.
    Version of Reader? OS?  Can you open reader by double-clicking on its icon? Can you open reader by double-clicking on a pdf file? What programs are trying to open reader? Some programs might be restricting your ability to view pdf files using the Reader plug-in due to security concerns. If this is the case you need to find out how to enable the plug-in in the case of each application.

  • Firefox sent an update but it wouldn't download because it said it came through an e mail improperly coded or tried to use adobe acrobat and that doesn't work. what do I do

    firefox sent an update to my imac but I couldn't download it because it said it came through an email improperly coded or tried to use adobe acrobat and that doesn't work. what do I do??

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
     Cheers, Tom

Maybe you are looking for