Troubles with af:treeTable based on ViewObject after replacing SQL query.

Hi everyone!
We have <af:treeTable> component in our application, based on 3 ViewObject instances. These instances have the following structure in the Application Module:
RootViewObject
|----MainViewObject
|----------|--------------ManagedViewObject
According to our business logic, we change SQL query programmatically, reexecute all queries, refresh <af:treeTable> component, but the content of our tree table does not change after these actions. I have tried to output content of ViewObjects after changing and reexecuting the queries, and I have found out that the data in the ViewObjects have been changed!
Why does the content of the <af:treeTable> component NOT change after refreshing it programmatically?
Any ideas?
Thanks in advance!
Edited by: Emin10 on 10.12.2012 0:28
Edited by: Emin10 on 10.12.2012 0:28

Kamaal, Saif Kamaal
I've already tried to put PPR on the parent container (in my case this is a toolbarButton).
I refresh treeTable programmatically using this code:
RequestContext rc = RequestContext.getCurrentInstance();
rc.addPartialTarget(mytreeTable);

Similar Messages

  • Having trouble with music apps shutting down, even after I swipe them off the screen. They go off then come back on in a few minutes. This happens in my car either ubs plugged in, or bluetooth. ANy one else have that issue?

    Having trouble with music apps shutting down, even after I swipe them off the screen. They go off then come back on in a few minutes. This happens in my car either ubs plugged in, or bluetooth. ANy one else have that issue?

    Hi, beth.lau.gr.
    Thank you for visiting Apple Support Communities.  
    I understand you have been experiencing issues with your iPhone restarting and showing you a blue screen.  I wont be able to give you an exact answer as to why this is happening.  However, this is the most relevant troubleshooting article for this issue.  This article also provides options to reach out to us via phone for additional assistance.  
    If your iOS device restarts, displays the Apple logo, or powers off while you're using it
    http://support.apple.com/en-us/HT203899
    Cheers, 
    Jason H.  

  • Interactive Report based on a function returning SQL query?

    Hi guys!
    I'm wondering if the IR based on a function returning SQL query will be available on the final release of APEX 4.0..I can't see this functionality in EA1 and EA2 and I think it should be there..dont you think?
    With regards,
    PsmakR

    Hi!
    You're absolutely sure you're talking about the Interactive Report region and not about the default SQL Report region ?
    With regards,
    PsmakR

  • Has anyone had trouble with their bluetooth headset? (even after pairing)

    Has anyone had trouble with their bluetooth headset? I have a Motorola H700 that pairs with the iphone but takes about 10 seconds after i hit send for the connection between the phone and the headset to be established. I also get allot of static when the headset is more than 3 feet away from the phone. (this headset worked perfectly @ about 40' with a Motorola Razr I had)

    Hi jmsemac,
    I understand you are experiencing some issues with Bluetooth connections. I have linked to an article which provides some troubleshooting steps you may want to explore: 
    iOS: Troubleshooting Bluetooth connections - Apple Support
    Thank you for contributing to Apple Support Communities.
    Take care,
    Bobby_D

  • Is anyone having trouble with the "home" button not responding after upgrading to 5.1.1 OS?

    Is anyone having problems with the "home" button not responding after upgrading to 5.1.1?

    You will not belive how I accidently solved this - !!!
    Yes I had the problem immediately after the 5.1.1 'cloud' upgrade, the problems started (on my iphone 4) ... I followed the 'get power down button, then hold HOME for 30 secs' solution, but no result, nothing seemed to work and I was starting to get a bit agressive with the keep it pushed, multiple double click frustrations, icopybot multigesture solutions etc. and paid money ... but this comedy solution now works ...
    I discovered it because I ordered a waterproof case for my iphone for my motorcycle ... I've just fitted it to my iphone and all the problems have gone ??? what! ... so wondering why I looked at what the home button on the casing was doing - it was pressing ACROSS the home button i.e. it converted my finger point into a wider 'PRESS
    so taking the new case off, instead of using the point of my thumb to press HOME, I used the flat of my thumb to emulate it ....and initially nothing, so I wondered if it wa making better 'cross button' contacts, so I licked my thumb, wiped it and then tried again! - it worked!
    I can't explain it but it seems to work - try it! if the double click on HOME doesn't work lick your thumb dry it and try again! I've just done it again
    what a mad techno world we live in! :-)
    Dave

  • How to return one ROW with Multiple value seperated by Colon in a SQL Query

    Hi,
    I have a SQL query as mentioned.
    select deptno
      from deptI want to mofidfy this query, so that this should return me department list with colon delimeted in one ROW.
    10:20:30:40.......Thanks,
    Deepak

    In 10g:
    select rtrim(xmlagg(xmlparse(content deptno || ':')).getstringval(), ':') data
    from   dept;
    DATA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    10:20:30:40with apologies for the abuse of XML...

  • Having trouble with using variables in functions and after functions..

    Morning,
    I have simplified this, as it represents the core of what’s I obviously don't know how to do. 
    Problem:
    Say I populate that variable by reading in a list if IP addresses from file, finding the line that matches the hostname and place that string into the $IPAddress variable for use later throughout the script.   I did not run into a significant problem
    until I decided to convert the routine of looking up the IP address and populating the variable into a function.   As soon as I made it a function, and called that function, the $IPAddress variable only had the data in it until the function completed. 
    Once the function had done its work, and had placed the data into the variable, I expected that “new” data to be available after the function had completed..in that variable.  But it’s like the $IPAddress variable in the main script is a totally
    different data then the variable with the same name that’s used within the function. 
    So I think this demonstrates some of what’s kicking my butt.. 
    $IPAddress = "This is the wrong data”
    Function TestFunction () 
    $IPAddress  #call to display the contents of the variable at the start of the function. 
    $IPAddress = Read-Host -Prompt "Please enter the text ‘Goober’" 
    $IPAddress   #call to display the contents of the variable at the end of the function. 
    TestFunction
    $IPAddress ​
    The output I get is: 
    This is the wrong data
    "Please enter ‘Goober’"  : where I enter Goober
    Goober
    This is the wrong data
    Huh? 
    I had expected:
    This is the wrong data
    "Please enter ‘Goober’"  : where I enter Goober
    Goober
    Goober
    What good is the repeatability of a function if it’s output is lost? 

    THis seems to work.. IS there any reason NOT to do this?
    $Global:IPAddress= "This is the wrong data” #"
    Function TestFunction{
        Write-Host $IPAddress-fore green
          $host.ui.RawUI.FlushInputBuffer()
         $Global:IPAddress =
    Read-Host -Prompt
    "Please enter the text ‘Goober’"
        return$Global:IPAddress
    TestFunction
    return$Global:IPAddress

  • Trouble with Pre/Post Roll tape, before/after segment... what the ****.

    I'm getting alternating error messages...
    "capture encountered a problem reading the data on your source tape. This could be due to a problem with the tape.
    To capture as much of your footage as possible, please capture a clip that ends before this segment, and another one that starts right after it..."
    And then something about Pre/Post Roll tape, basically the same thing as above.

    I'm getting alternating error messages...
    "capture encountered a problem reading the data on your source tape. This could be due to a problem with the tape.
    To capture as much of your footage as possible, please capture a clip that ends before this segment, and another one that starts right after it..."
    And then............
    "Batch Capture: Timecode error: Unable to locate the specified timecode. You may have specified a timecode with insufficient room for a pre/post roll operation."
    Am I doing something wrong here???

  • I am having trouble with Safari. It keeps crashing after about two seconds in and wont then let me send the report to apple

    I wonder if it is something to do with gmail. as gmail has been asking to store emails on my local drive and I have been saying no as I was worried it might be a virus or something - maybe I have too many emails on the system. I just dont know. I am using Firefox in the meantime but feel frustrated as I dont know my way around as well and I have work to get on with!

    IVE DONE IT - THANKS SO MUCH SIG. I googled empty cache safari and worked it out it was easy once you told me how thanks very much. By the way what do you think I should do about the gmail requests to store emails on my laptop?

  • I am having trouble with my log me in account after upgrading firefox

    my system recently upgraded to the new versionof firfox and now my logmein account will not work. i can get on with Internet Explorer so it must be something in Firefox....anyone having this issue and have a fix.

    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *http://www.mozilla.org/plugincheck/
    Update the Flash plugin to the latest version.
    *https://support.mozilla.org/kb/Managing+the+Flash+plugin
    *http://www.adobe.com/software/flash/about/

  • Trouble with back-up on Iphone 4 after IOS 5 update

    I have just downloaded IOS 5 on my iphone 4. Once itunes did a backup I found that all my message history and photos were not synced to my phone. I tried restoring my phone again with the backup with the same results. How can I fix this problem?

    I got the same problem....
    Have a thread here : https://discussions.apple.com/thread/3411029

  • Checkboxes don't update after executing SQL query

    I have a table bound to data from a database.
    in order to fill the data, i execute the RowSet after setting several required parameters (WHERE foo = ?).
    I use
            try {
                getSessionBean1().getModule_has_featureRowSet().setInt(1,userID);
                getSessionBean1().getModule_has_featureRowSet().setInt(2,submoduleID);
                getSessionBean1().getModule_has_featureRowSet().execute();
                module_has_featureDataProvider.refresh();
            } catch (SQLException ex) {
                ex.printStackTrace();
            }This works, but when I want to change to other parameter userID and submoduleID the checkbox (boolean values) do not update after calling the DataProvider to refresh.
    Anyone understands what I would like to know and can help me?
    Thanks.

    I still struggle with this problem.
    Ok, what I do is the following. I have one table (tbl1), where you can select a row. according to the row, another table (tbl2) is filled with data from a dataprovider and information from the row selected in tbl1.
    i do this using
        public void radioButton1_processValueChange(ValueChangeEvent event) {
            // ;) Ugly, I know.             
            int submoduleID = Integer.parseInt((String) RadioButton.getSelected("buttonGroup")) + 1;                   
            try {
                getSessionBean1().getModule_has_featureRowSet().setInt(1,userID);
                getSessionBean1().getModule_has_featureRowSet().setInt(2,submoduleID);
                getSessionBean1().getModule_has_featureRowSet().execute();
                module_has_featureDataProvider.commitChanges();
                module_has_featureDataProvider.refresh();
            } catch (SQLException ex) {
                ex.printStackTrace();
        }This should change the content of tbl2. And it does most of it. It retrieves the correct amount of rows and display a correct string field. The boolean entries, represented by text boxes, are not changed.
    I was checking, if there is something like 'refresh' or 'rerender' or similar in order to refresh the table with the information from the dataprovider. I think hte problem is that the checkboxes are not rerendered correctly after executing DataProvider.refresh().
    Can anyone help me on this?
    thanks!

  • Obtaining "rows selected" value after custom sql query in Database adaptor

    We are executing a custom query in a database adaptor. With other technologies (JDBC, etc.) the result of a query will not only produce a result set but a count of the number of rows selected. E.G. the script output of Oracle SQL Developer will print out something like:
    9999 rows selected
    at the end of the script output.
    I would like to obtain this value for a BPEL process. Of course, I could execute a 2nd query whose where clause is identical to the first, but selects count(*) instead. However, this is not only inefficient but (in rare circumstances in an active database) could be wrong.
    It is not obvious to this BPEL novice how to obtain the row selected value as well as the result set in one Invoke. Is this possible?

    This may not be the only solution - but it is how I have done it in the past.
    Following the invoke step of the adapter, use an assign/copy step to populate an integer BPEL variable using the count xpath function...
    <assign name="Initialize">
    <copy>
    <from expression="count(bpws:getVariableData('Invoke_Query_OutputVariable','MyTableQueryCollection','/ns3:MyTableQueryCollection/ns3:MyTableQuery'))"/>
    <to variable="NumberOfRecordsReturned"/>
    </copy>
    </assign>
    That should assign the number of records returned by the query.
    I hope that helps.
    Rod.
    Edited by: Rod Tunnels on Dec 15, 2009 1:16 PM

  • Problem with date fields in where clause after changing driver

    Hi,
    We have changed the oracle driver we use to version 10
    and now we have some trouble with date-fields.
    When we run this SQL query from our Java program:
    select *
    from LA_TRANS
    where LA_TRANS.FROM_DATE>='20040101' AND LA_TRANS.FROM_DATE<='20041231'
    We get this error code:
    ORA-01861: literal does not match format string
    The query worked fine whit the previous driver.
    Is there some way I can run a SQL query with date fields
    as strings in the where clause?
    Thanks!

    Keeping the argument of standard SQL or not aside, comparing DATE columns to a constant string (which looks like a date in one of the thousands of the formats available, but not in others) is NOT one of the best programming practices and leads to heartburn and runtime errors (as you have seen yourself).
    I would rather compare a DATE to a DATE.
    Also, constants like that would be another issue to fix in your code:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:6899751034602146050::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:528893984337,

  • Has anyone had trouble with photo albums after downloading a newer version of iPhoto?

    Has anyone had trouble with photo albums and viewing photos after downloading a newer version of iPhoto?

    I downloaded mountain lion and then iPhoto '11 in order to tap into iCloud capabilities with all of my devices. (My Mac was outdated in regards to operating platform to do this). After installing iPhoto 11, I had to repair and rebuild my library of photos.  However, after doing this, all of my albums were jumbled and, while I can see the image thumbnail, when I click on the thumbnail, and error that looks like a black triangle and gray exclamation pops up as opposed to the larger hi def image I want to view.

Maybe you are looking for

  • Surgery on corrupt preferences file?

    Hello. I used to have speakable items activated but turned it off in the speech pane months ago. However, am still getting a partial spoken warning from time to time (Agnes says only "ALERT...", usually when the battery runs down for example. Needles

  • Re Verizon Wireless Home Phone Connect garbled voice problems

    I hooked up a Verizon Wireless Home Phone Connect device and plugged my Panasonic KX-TG5665 5.8 GHz Digital Gigarance phone base into the home phone connect device in the center of my home.  We have several Panasonic extension phones in different roo

  • OVS implementation in Adobe Interactive Form

    Hi, I have to implement OVS in Adobe Interactive form, which will be part of WebDynpro component. I  have done this  in webDynpro, but i am not able to figure out how it is implemented in AIF. I am using NW04s SP09 , patch 2. Any documentation for im

  • SAP calendar synchronization tool

    Hi, Im looking for SAP calendar synchronization tool but i cannot find it. Someone have a suggestion?? Please reply to <removed by SDN Forum Moderator> Thanks and regards Fabrizio Gotta

  • Tool Tip is not aligning with data

    DBA Developer