Refreshing the JUTreeNodeBinding when we use whereclause with the view

Hi There,
I am facing a problem with refreshing the JUTreeNodeBinding after adding a whereclause to the underlying view object. I have a BC4J view object for a database table which has a parent-child relationship between the rows. This is established using a VL between the same view. Now on click of a button we add a whereclause to the view object (parent/source view object). Lets say it appends a whereclause like:
QRSLT (where deleted = true)
And then I execute the query for the underlying view object. It refreshes the 1st level nodes accordingly. But the child nodes remains as it is and the whereclause application is not reflected. I have tried finding the VL and then getting the destination end (a view object) and setting the whereclause for it followed by an execute query on the same. This does not affect the child nodes. I have tried traversing through all the nodes and getting the user objects using ((JUTreeNodeBinding)node.getUserObject()) and tried refreshControl() as well.
  private void executeDestinationQuery(ViewObject vo, String viewLinkName, String whereClause)
    ViewLink vl = vo.getApplicationModule().findViewLink(viewLinkName);
    ViewObject destVo = vl.getDestination();
    destVo.setWhereClause(whereClause);
    destVo.executeQuery();
    private void executeQueryOnChildNodes(JUTreeNodeBinding nodeBinding)
      nodeBinding.refreshControl();
      java.util.List children = nodeBinding.getChildren();
      if(children != null)
        for(Iterator childrenItr = children.iterator(); childrenItr.hasNext();)
          executeQueryOnChildNodes((JUTreeNodeBinding)childrenItr.next());
    }

Hi,
Do you use ADF binding ? If yes, why do you refresh the tree node on teh business service and not the binding layer, in which case the UI would be refreshed accordingy ?
Frank

Similar Messages

  • How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?

    How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?
    I have been using Windows to write files to my 1TB WD external hard drive and I do not want to format to loose the files capacity of around 500GB
    Someone, Please help

    Hi Allen,
    Is there any way to store the back up to Mac and restore after formating?

  • I have purchased a eos 6d. When I use it with the iPhone app the connection dies after about five m

    I have a 6d and when I use it with the iPhone app the camera turns off after about five minutes and the connection is lost. So when I am photographing wild life I keep having to break cover to reactivate the connection. Is this correct or is there a way to keep the connection alive.

    You just need to go into the menu and set the camera's sleep mode to "off" or "never". It sounds as if it's currently set to 5 minutes.
    Letting the camera sit active continuously, i.e. preventing it from going into sleep mode, will drain the battery(ies) a lot faster. I don't have a 6D, nor do I leave them on full time (in fact I set sleep mode to a very short duration, since tapping any button on the camera quickly re-awakens it).... so I really don't know how quickly a battery will drain. But you might be prepared with spares. If battery life is too short for you purposes, you could add a battery grip which will double the battery capacity.
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

  • How can I get to see the app NoteTaker HD in the options I have when I use " Open with ..."

    How can I get to see my app Note Taker HD in the options that I have when I use " Open with ...  "  I am trying to open a PDF that I have attached to a mail document in Note Taker HD.
    Thanks

    To buy Apps or to check out the Apps available via your iPad use the App Store App.
    On your iPad your Music is kept in the iPod App and the movies are on the Movie App after you have synced the Music and Movies from iTunes on your computer to your iPad.
    S.

  • When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list (I do with Mail.app)...?

    When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list. I *do* when I use Mail, so it seems like a Thunderbird thing. I'd really like to see my own emails come back to me in the conversation so that I know where my remarks fall in the discussion; it's very disorienting when you can't tell if your email has arrived at the list, or not. I can't seem to find the setting, and I've searched thru your help topics, etc., to no avail. Thanks.

    It's both gmail and mac.com email accounts, and it's all email lists -- including some privately hosted on servers, that are not Google groups, not Yahoo groups.
    I'm not sure what you mean by "saving a copy of your messages yourself" in Mail -- if I email to the lists with Mail on my laptop or iPad, I can see it on my desktop computer too, right in line with other email messages in the thread, after the list resends the message I've submitted. It's only Thunderbird that this "invisible posts" behavior happens, and it didn't use to happen this way. I used to get my emails posting right in the thread.

  • I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • When I use Siri with Voiceover on my iPHONE 4S. Voiceover will not respond to any finger jestures. Why does this happen?

    When I use Siri with Voiceover on my iPHONE 4S. Voiceover will not respond to any finger jestures. Why does this happen?                                           

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • HT204347 When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

    When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

    When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

  • Flex sampling frequency changes when I use it with apple loops

    Flex sampling frequency changes when I use it with apple loops in a 24 bit 88.2 project

    sorry  !
    Flex changes sampling frequency when I use it with apple loops in a 24 bit 88.2 project

  • I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it

    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?

    STEVEN1A wrote:
    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?
    The top layer is indeed the one that is visible, unless there is/are area(s) of translucency on that layer, so that you can visualize a portion of the subjacent layer.
      the finished photo it doesn't look right.  It's as the layers have not flattened correctly. 
    Are your settings targeted to have the printer manage colors, or, to have PSE manage colors?

  • When i use firefox with mafia wars none of the pictures display - i think i hit a hide picture button?

    using mafia wars, it does not show any of the pictures only the words so it makes it difficult to know where to click. mafia works fine when i open in chrome - so it is something i did while using firefox.

    With the site on display, click on the site identity button (for details on what that is see [https://support.mozilla.com/kb/Site+Identity+Button]) and then on More Information. This will open up the page info dialog.
    First select the Permissions panel, make sure that "Load Images" is set to allow (selecting Use Default should also work)
    Next select the Media panel, then click on the first item in the list. Use the down arrow key to scroll through the list. If any item has the option "Block images from (domain name)" selected, de-select the option.
    This should hopefully resolve your issue, but also see [https://support.mozilla.com/kb/Images+or+animations+do+not+show].
    Some add-ons can also block images, for example if you have AdBlock Plus installed, make sure that you have not accidentally created a filter to block the images.

  • HT3887 Hi I have just got some new wWas iireless head phones and when I use them with the Bluetooth on my iPhone 4S it breaks up all the time even from short distance but when using my girlfriends iPhone 5 or iPad it's fine no problems atall!!! Any ideas

    Hi I have just got some wireless head phones and while using Bluetooth with my iPhone 4S the sound breaks up all the time but if I use a friends iPhone 5 or my iPad it's fine no problems atall! Any ideas what the problem could be people??????

    Unpair the headset from the phone with the problem. Restart the phone (hold HOME and SLEEP until an Apple logo appears), the pair the headset again. Also, look for things nearby that may be causing interference in the Bluetooth band. Cordless phones are a common cause of interference.

  • How does materialized view work when refresh the view vs create the view?

    I am using a materialized view, and I cant set it to fast refresh because some of the tables are from remote database which does not have materialized view log.
    When I create the materialized view, it took like 20 30 seconds. however when I was trying to refresh it. It took more than 2 3 hours. and total number of records are only around 460,000.
    I understand that when the view refreshes, it would take extra step like purge the table however I am not sure why it made so much difference in execution time perspective...
    Does the dbms_mview.refresh('MY_MATVIEW', 'C', atomic_refresh=>false) do the same exact insert as when I created the view?
    Could anyone please let me know how would this happen? Thanks,
    Code looks like as following
    create materialized view MY_MV1
    refresh force on demand
    start with to_date('20-02-2013 22:00:00', 'dd-mm-yyyy hh24:mi:ss') next trunc(sysdate)+1+22/24
    as
    ( SELECT Nvl(Cr.Sol_Chng_Num, ' ') AS Change_Request_Nbr,
           Nvl(Sr.Sr_Num, ' ') AS Service_Request_Nbr,
           Nvl(Sr.w_Org_Id, 0) AS Org_Id,
           Fcr.rowid,
           Cr.rowid,
           Bsr.rowid,
           Sr.rowid,
           SYSDATE
      FROM [email protected] Fcr
    INNER JOIN [email protected] Cr
        ON Fcr.w_Sol_Chng_Id = Cr.w_Sol_Chng_Id
    INNER JOIN [email protected] Bsr
        ON Fcr.w_Sol_Chng_Id = Bsr.w_Sol_Chng_Id
    INNER JOIN [email protected] Sr
        ON Sr.w_Srv_Rec_Id = Bsr.w_Srv_Rec_Id
    WHERE Sr.Sr_Num !='NS'
    );I have tried to use dbms_mview.refresh('MY_MATVIEW', 'C', atomic_refresh=>false) but it still took 141 mins to run... vs 159 mins without atomic_refresh=>false
    Edited by: 986006 on Feb 20, 2013 2:15 PM

    Welcome to the forum!
    Whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION)
    >
    I am using a materialized view, and I cant set it to fast refresh because some of the tables are from remote database which does not have materialized view log.
    When I create the materialized view, it took like 20 30 seconds. however when I was trying to refresh it. It took more than 2 3 hours. and total number of records are only around 460,000.
    I understand that when the view refreshes, it would take extra step like purge the table however I am not sure why it made so much difference in execution time perspective...
    Does the dbms_mview.refresh('MY_MATVIEW', 'C', atomic_refresh=>false) do the same exact insert as when I created the view?
    >
    What Oracle version are you using? The 'atomic_refresh' parameter default was changed to TRUE starting with 10g.
    See the PL/SQL Packages and Types doc
    >
    atomic_refresh
    If this parameter is set to true, then the list of materialized views is refreshed in a single transaction. All of the refreshed materialized views are updated to a single point in time. If the refresh fails for any of the materialized views, none of the materialized views are updated.
    If this parameter is set to false, then each of the materialized views is refreshed in a separate transaction.
    >
    What that means is that if the value is TRUE Oracle uses a DELETE to remove the existing rows. If the value is FALSE then Oracle uses TRUNCATE.
    If you really are using the FALSE setting you should not be seeing that much of a time difference between creating the MV and a complete refresh so something else must be going on.

  • Query not refreshing all data when run in workbook with other queries

    All,
    I have the following problem. I have a workbook that has two queries, one on each tab.
    The specific thing I notice that the company code is not showing up in the query at first until I hit refresh. Both queries use the same company code and user variables. When running the workbook I have each query set to "refresh query when running workbook". I have been able to duplicate this problem in either of the two queries, depending upon which company code variables I use. When I run the workbook, one of the two queries never updates company code variable unless I "refresh" the query directly after pulling up the workbook.
    I have changed the company code variable and used other company codes in each query, some required, some not, but ultimately a few of the key figures are not populating with current data and the company code is missing...unless I hit refresh on that query. I have tried creating new workbooks and removing and reinserting the queries, but this doesn't work either.
    And both queries run fine when executed alone.
    Again, Both queries use the same company code variable.
    Any help will be rewarded with points and is appreciated.

    Tasha,
    Remove the queries from the workbook and reinsert them. This should show the desired result.

  • When i use skype with earphone, i cannot hear conversation

    Firstable, my earphone is working well. Because i used everyday with iphone4 .  So, about two weeks ago. When i connect my earphone with ipad2 and start skepy conversation or others similar program, i cannot hear conversation, but my contact cans hear me as well.
    I tried to test with ipod music, i can hear it.
    How can i do?
    Thank you

    Make sure you push the plug in firmly.

Maybe you are looking for

  • How to install an SSD on my macbook pro

    Hello. After many months of indecision I finally made up my mind to experiments the delights of SSD. I bought an OCZ Vertex 2E 120gb 2.5 sata II, and I am waiting for it to arrive. In the meantime, in spite of an almost endless googling I could not f

  • XSLT to Text

    Hello XSLT gurus. I'm completely new to the game. The project I'm working on needs to be able to alternately render to either html or text.  I decided to try XSLT's so I could modify the output without really changing the underlying code structure. 

  • Is there a list somewhere of HP Failure IDs and what they mean?

    I'm getting the following Failure ID when I run system disgnostic test on the HDD in a HP Envy U0823F-6BA705-XD7X1F-60UE03 Anyone know what it means or where I can find out? The disk itself appears to be running ok. I ran a chkdsk \F on it in a separ

  • Want to change frame rate, help, please !!

    hi all, i want to know whether, jmf does provide any support for changing the frame rate ? is there any ways by which one can change the framerate, of a live captured video ? i came across one class "FrameRateControl" in jmf, tried it, but wasn't suc

  • Can i pay for additional icloud storage annually or pre-pay?

    If I want to purchase an additional 20GB of iCloud storage...cost 99¢/mo...is it not possible to prepay or pay annually?  I mean...really...is it cost effective to pay 99¢ every month?