ADF: clearing all previous data in a page?

Hi Everyone,
im using Jdev 11G.
i have created 9 pages in ADF. i have used navigations to other pages through buttons from the first page.
all pages have data from different VOs.
Now the problem is : when i run the page for the first time it is working fine. but when i go back and run the page second time if data for some particular VO is not there (kept whereclause for VO in backing bean) then it should not display any data but it is displaying previous search data.
plz help to get out of this.
how to clear all the previous data while navigating to the page.
i have used VO.clearcache() methods also but didnt work.
Any ideas wil be really helpful.
Thank you.

Hi Desmukh,
Thanks for ur reply.
im executing the VO queries but if the parameters is not exists in the VO then it returns all the values in the VO.
i have used: vo.setWhereClause("EMP_ID=:empid AND EMP_NAME=:ename");
vo.defineNamedWhereClauseParam("empid ", emp_id1, null);
vo.defineNamedWhereClauseParam("ename",emp_name1, null);
vo.executeQuery();
here emp_id1 and emp_name1 are the values im passing to VO to filter VO.
if these two values doesnt match with any of the values in the VO then it returns allrecords from VO on the page.
Plz help.
Thank you.

Similar Messages

  • Issue in clearing of previous data of screen cl_gui_docking_container= free

    Hi All,
    My program displays an idoc list(screen 100). Then if user selects any row in the method
    gets the index no and details of that idoc are displayed in another screen(screen 200) .
    Then control returns to this screen again. Now if user selects any row from idoc list (screen 100) then data is displayed along with data from previous screen .
    In PBO of screen 200 : some code is :
    create object go_docking
              exporting
                dynnr     = '200'
                extension = 65
                side      = cl_gui_docking_container=>dock_at_top.
            create object go_grid_detail
              exporting
                i_parent = go_docking.
    some code
    create object go_custom_cont
              exporting
                container_name = 'DISPLAY_IDOC_CONTENT_200'.
            create object go_grid_detail
              exporting
                i_parent = go_custom_cont.
    some more code
    call method go_grid_detail->set_table_for_first_display
              exporting
                is_layout            = gs_layout
                it_toolbar_excluding = lt_exclude
              changing
                it_fieldcatalog      = fieldcatalog1
    create object go_docking
                exporting
                  dynnr     = '200'
                  extension = 65
                  side      = cl_gui_docking_container=>dock_at_bottom.
              create object go_grid_detail
                exporting
                  i_parent = go_docking.
    In PAI of 200 screen i have used :
    some code      
    free go_grid_detail.
          free go_custom_cont.
          go_docking->free( ).  free go_docking.
    After freeing all data and on call of screen 200 from screen 100 still it shows data from which was there previously on screen 200.
    How can clear all previous data . Even i have free the docking still not working .
    Kindly please help.

    Hi,
    if go_grid_detail is type ref to cl_gui_alv_grid, call go_grid_detail->free( ) before container->free( ).
    Regards,
    Clemens

  • How to clear all session data in adf through coding?

    Hi Everyone,
    i have created many pages in an application.I want to clear all session data when i get back to my first page.
    how to do that?
    such that my application should run as i am running for the first time.
    Thanks.

    Hi Jabr,
    i have used this code in initMethod() (Before phase) of my page.
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession session = (HttpSession)ectx.getSession(false);
    session.invalidate();
    this code got executed but the page has 2 lovs.
    im getting error null pointer exception that EmpLovVO not found.
    if i remove the above code then the page is running correctly.
    What to do now?
    Thanks.

  • I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    Just in case (even though your symptoms aren't explicitly mentioned in the document), let's check to see if there's a LSP problem in play here:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • How do I clear all personal data bookmarks history etc and import data from safari

    I have a MacBookpro 10.6.8 and I am trying to clear ALL personal data on my new Firefox 12 (Bookmarks History etc) and then import all settings from my Safari. I've deleted the Firefox application as well as Library/application support/mozilla and Firefox still retains all of the old settings (Bookmarks History etc) from the old version 3
    How do I do this.
    Thanks

    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    Make sure that Firefox is closed (Firefox > Quit Firefox) when you remove files in the profile folder.
    You can also create a new profile.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    You can transfer some files from the old profile to that new profile if you want to keep some data.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • When exiting browser a warning box appears that says do you want to clear all browser data, i would like to disable that

    started about 2 weeks ago, have searched for answer but can't find, probably staring me in the face, after I'm done on the net and go to exit a warning box appears and asks do you want to clear all browser data and whether you choose ok or cancel it does anyway

    hello, there are certain addons that have such functionality - do you have any privacy-related extensions in use?

  • Installing iOS 5 erases all previous data

    Installation of iOS 5 erased all previous data on my iPad. Help! Prior to iCloud being in the picture, where were all my photos and documents backed up?
    I am attempting to locate the files which vanished upon updating to iOS 5 - hundreds of pdf files, thousands of uploaded photos, screen shots, saved photos from web, ALL GONE. So were all my acquired apps, although those have been replaced - now I can begin or attempt to reconstitute the complex folder structure (notes, notes 2, notes 3, etc.) which grew over the last few iOS iterations, from too many apps stuffed into folders with strict limitations on contents. Tedious, but possible. Re all the photos, I'm still looking for clues: Is solid state storage similar to that on disk drives – does deleted information still reside on the drive, just not on the index?
    Also, post updating, I am continually being prompted to authorize my computer, even though it is, and my Apple ID is intermittently rejected as if invalid, this is causing syncing challenges.
    Thanks.
    Weary of chasing side effects of upgrading operating systems.

    Same for me, when install was finished all was gone, but strange enough the disk space bar was indicating 14Go other and that was exactly my content "in app" without apps, photos, video and music. So this data was not accessible due to missing apps and all my photo/video/music was gone.
    I had exactly the same issue last upgrade, and last time I decided to resync my media content and started to add apps one by one again, and by magic almost all the apps managed to find back their data in the 14Go "other" that was still in the IPad. But I had to redo a lot of work like Icon position, some settings, and some apps didn't restore well. Took me a very long time and effort to get back to a nominal situation.
    So this time I deciced instead to click "Restore" before doing any sync and used the backup that was generated automaticly just before the upgrade to 5.0 (so still with version 4 of ths IOS)
    The process started, the Ipad rebooted and firmware was then loaded again (still 5.0) and the 14Go data from the backup was reloaded also, and this time after this quite long step, itunes started to restore apps, music, photos and videos one by one ... was quite a very long process but at the end all was perfect, storage was back to 40 Go including my 14Go data and all photos, videos and apps, with all setting perfectly restored.
    Hope this help,
    Patrick

  • Clearing all historical data from the graphs

    Hi all,
    Now that I have upgraded to 4.1.1c I want to clear all historical data and start from scratch with the graphs/stats/reporting. Is there a way to do such a thing? Could not find anything in the docs other than "clear statistics all" which seems unrelated.
    Thanks
    Adrian

    http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v411/configuration/guide/monitor.html#wp1043484
    Enclosed is the report montioring and configuring guide.
    The clear statistics command clears all statistical counters from the parameters given. Use this command to monitor fresh statistical data for some or all features without losing cached objects or configurations.

  • What has happened to all my data files in pages, numbers and keynote?  they have all disappeared (though i do not yet have ios8)

    what could have happened to all my data files in pages, numbers and keynote?  they have disappeared - though i'm not using ios8

    I have the same problem. For about 1 month ago I extended my iCloud storage account (+20 GB) in order to maintain my backups for iPHONE and iPAD as my account would expire 14/10. In spite of this, I got an email 15/10, which said that iCloud was reduced to 5 GB. 2 hours later I received a new email with comfirmation on the purchase of +20 GB storage plan. However, I only have access to 5 GB on my iPad and iPhone. Called Apple Support but they couldn´t help me. Did you find any solution ?

  • How could I clear all my data(bookmarks) on Mozilla server side in new version of Sync (Firefox Account)?)

    Problem is the same as https://support.mozilla.org/en-US/questions/1000745?esab=a&as=aaq
    Also, there was no solution has been given in discussion.
    So, problem that noone could delete all data which have been synced with new Firefox account services.
    I've disconnected all my devices from previous (old) firefox sync system (which worked perfectly on several devices), after that i gone on link https://account.services.mozilla.com/ and deleted all my sensitive data.
    After I've created firefox account in new firefox sync system ( https://accounts.firefox.com ), and all my data (bookmarks exactly) now present in browser twice.

    I have a problem with over 12,000 unwanted bookmarks in my 4 PCs (all standard Mozilla bookmarks that have been replicated). So if I would like to purge my server side data. If I do this by deleting my Sync account can I re-use my same email address to re-open a "new" Sync account?

  • How do i clear all previous track changes in Incopy/Indesign

    Hi,
    I have an old document which i now need to work on again. We worked on the same document last year and we are going to use the old text and just rewrite it.
    We are many people involved and the things is that all our previous changes from last year are still visible. I would like to clear all the changes from last year to get the text "clean".
    We want to have new track changes to see all the new changes that are being made.
    How do I do that?
    I am working in Indesign and the team I am working with are using Incopy. I do the design and they handle the text.

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones.
    (121234)

  • How to create a subVI to Clear all charts data on a main VI

    Hi all,
    As I am writing a subVI to clear all the "charts" data on a main VI.
    The number of Charts is unknown, beasue this subVI need to run at
    difference main VIs. Therefore, I can only input a ref. of main VI into
    the subVI and find out all the control ref.,then check the classes of
    the control. If it is a chart, I need to use "To More Specific Class" to
    to select waveform chart. However, if the property node is not create
    from the chart directly, the "histroy data" will be missing.
    No matter my concept to build this subVI should be right, I donot succeed.
    Are there any other methods to do that?  
    regards,
    Ryan

    parthabe wrote:
    Did you file a bug report with NI, Coq?
    No i did not. I got it working with some diagram cluttering, and forgot all about it. As my motto is "If the damn thing works, ship it"
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Is it possible to clear all the data off of AppleTV?

    Recently, I started iTunes and it started doing a resync of all my music, movies, etc to my appleTV. I thought this was strange but let it finish the sync anyway. Several hours later when it was complete I took a look at the hard drive utilization from itunes and noticed that over 50% of the storage was marked as other and I'm using 2x the storage that I was using before. I'm assuming that the area marked other is my previously copied media collection and is now stuck in limbo for some reason.
    So my question is there a way to clear the data off so I can resync and regain my lost 64gb of space?
    Thanks.

    The sure fire way to do ti is to just restore the apple TV to factory and then do any upgades you need to do.. This will clear out everything for sure.
    Press and hold the menu + down button on your remote, then follow instructions 'til you get the option to restore.

  • Clearing all songs/data from Ipod

    Hello
    Is there an easy way to clear an Ipod Nano so that is has nothing on it - I bought one off of Craigs list that I want to give to someone but it still has some songs on there from the previous person. Is there a way to just 'clear' everything off so that it's like when you buy it brand new and there is nothing on there? I would appreciate any insight on how to do this. Thank you.

    Hello EDDG,
    And welcome to Apple Discussions!
    Restore the iPod through iTunes. This will erase all the content from the iPod and set it back to its original default settings.
    Here are the steps on how to perform a restore if need be.
    [Restoring iPod to factory settings|http://support.apple.com/kb/HT1339]
    B-rock

Maybe you are looking for

  • Horizontal scroll a movieclip in iOS

    Hello, I'm trying to found some extension or library to horizontally scroll a movieclip in a iOS aplication made with AIR 3.5. I tried some, but the perfomance are not so good, even in iPhone 5 or iPhone 3Gs, so if anyone knows a good way to do it, i

  • Find all records that have character alone in a string

    Oracle 10g Enterprise Edition Hi all, I must select from a varchar2 field, all the records that have a character (number or char) alone in the string. For example. ASDF BHGR H RR (yes, cause "H") ASDF BHGR H4 R (yes, cause "R") ASDF B H4 DDR (yes, ca

  • New curve 8310, thought I would say hello

    Hello everyone. I just got my first BB the other day and as a matter of fact my first real phone in like 4 years.  So its all quite overwhelming even for a technical guy like myself.  Im in Canada and chose Rogers but the phone itself is not Rogers.

  • Windows 8 Sign-in Options Missing

    In windows 8 after restarting the computer for the most recent update the Sign-in Options that allow you to switch between PIN or Password is missing. I am using a PIN code however now it is currently stuck on Password making me unable to log into my

  • Sorting HashSet without using the tree set?

    Hi, I need to sort the hash set by using the comparator, if i use the comparator in tree set to sort my hash set then it will check the uniqueness condition also using the same comparator. So i will lose some elements in the set. So i want to sort no