Refresh the tab contant

Hello all:
I use ADF 10.3 with Jdevloper 11.
I have the following problem:
I use a master-detail table,
the main table added in tab 1 and table of detail added to the tab - 2
When I change the information in the tab-2 for detail table, I need to update the data in the main table, and I'm doing this successfully.
but when I click in the tab-1 I still see the old data I need to refresh the page to see the new data in the main table.

so, how can I refresh data in the tab-1 automaticlly.
I tried to use the following code, but it does not work:
String ID: corresponds to the id of the main table
    private void refreshComponentContainer(String id) {

             String comp = id;
             FacesContext fctx = FacesContext.getCurrentInstance();
            UIViewRoot root = fctx.getViewRoot();
            root.invokeOnComponent(fctx, comp, new ContextCallback() {
     public void invokeContextCallback(FacesContext facesContext,
              UIComponent uiComponent) {
                        AdfFacesContext.getCurrentInstance().addPartialTarget(uiComponent);
                    }
                });
        }
Published by: bara on October 27, 2010 02:03

Published by: bara on October 27, 2010 02:03

Published by: bara on October 27, 2010 02:04

Published by: bara on October 27, 2010 02:04

Hello

the problem seems to be that you update the company (ADF BC) not the link layer. So in this case, you should do is to get your hands on the DCIteratorBinding of the parent and to executeQuery() binding parent bed changed data

Frank

Tags: Java

Similar Questions

  • using a variable in refreshing the tab

    Hi all

    I want to use the following query in the refreshing tab of a variable

    Select count (*) in the Scott.abc where scott.abc.filename = #filename

    where #filename is declared variable that contains the name of a (text) file.

    But when I run this variable, it is not valid sql format.

    So can I use a variable in the refreshing tab of a variable? If Yes... How?

    Or if not how to compare the value of a column in a table of data with the value stored in a variable of odi.

    Kindly help.
    Thanks in advance.

    1. create an ODI variable named "filename."
    2. now, create another variable ODI with your query, use the variable created in step 1 in where clause
    That is to say where xyz = "#filename."
    3 create a package, drag and drop the variable created in step 1 & 2 in refresh mode

    works?

    Fati

  • When I open a new tab and type a URL, Firefox ignores me and refreshes the tab instead. I then type the URL again. How can I fix it?

    I just installed Firefox 8 and this behavior is new for the upgrade. I checked my extensions installed against the list of extensions of the issues, and I have none of them (not looking for bars, no AVG, etc.). I already rebooted in safe mode and also used the option bars of tools and commands to reset.

    This has not fixed the problem.

    In addition to the troubleshooting caused it seem more related to tab mix. I've upgraded to the current development version of that and the problem seems to have declined.

  • When I "Open link in a new tab" it does not load the link, I have to stop and refresh the tab to load the linked page

    The title of the question pretty much explains the problem.

    EDIT: "Open Link in New Window" works very well, as by clicking on a link or bookmark to switch from one tab to the linked page.

    "Reload Tab" does nothing. The page loads only when I stop and reload.

    Sorry to bother you, but I think I just solved the problem.

    In the last three days I closed & restarted Firefox several times and stop & restarted my computer twice without solving the problem, but I just started, open Firefox in mode without failure, then closed & restarted Firefox and "link in new window open" seems now function normally.

    Now I feel like a fool for not trying that before asking the question.

  • CSS refresh after javascript DOM change (tab Ajax control) and also refresh the list of objects of Navigation

    Hi all

    When I access a Web page, that I created in the browser or Widget that uses an ASP.NET Ajax Control Toolkit Tabs the action of switching between tabs works well but the tab header does not reflect the change to display the active tab.

    In a standard browser of the tab header will be change / light tone based on the css classnames active Ajax control for settings changes dynamically in the DOM when switching between tabs and I was wondering if maybe the BB browser will not reflect/refresh css when changes on the client side affect the DOM? If that's the case (?) is there a way to force that change somehow?

    Also in the same direction and on the similar question I posted yesterday on switching between Navigation power user mode in a Widget, so javascript client-side dynamically is change the 'x-blackberry-focus' of a DOM object possible to have the change reflected in the Navigation objects? Or is the list of objects that can be traversed only generated load initial page and cannot change without a new post?

    Thank you

    Derek

    I solved the problem with the Ajax Control Toolkit TabContainer uisng having to do a "dummy" DOM change in the TabHeader after that the tab is passed between the tabs then forcing the refresh and repaint the tab headers.

  • Refresh the included tab Page

    Hi all:

    I have a page of fxml with a TabPane element with two tabs tabOne and tabTwo:

    < BorderPane fx:controller = "lc.controllers.ControllerOne" xmlns:fx =" " http://JavaFX.com/fxml ">

    < center >

    < fx:id TabPane = "tabPane" >

    < tabs >

    < tab fx:id = "tabOne" liquid = "false" >

    < text > < / text >

    < content >

    < BorderPane fx:id = "agendaBorderPane" / >

    < / content >

    < / tab >

    < tab fx:id = "tabTwo" that can close = "false" >

    < text > TWO < / text >

    < content >

    < BorderPane >

    < center >

    < fx: include source = "tabActions.fxml" / >

    < /Center >

    < / BorderPane >

    < / content >

    < / tab >

    < / tabs >

    < / TabPane >

    < /Center >

    < / BorderPane >

    As you can see above tabTwo has a separate included in fxml.

    Now the content of the tab in tabTwo should be updated based on actions performed in tabOne. But however included class action tab initialize method is called only once for the first time when the fxml page load. Can someone give a hint about how the initialize method of tabActions.fxml can be forced to run whenever the tab charges?

    Enjoy it!

    Thank you.

    You can inject the controller for the included fxml (tabActions.fxml) in the controller for the main fxml. You have a fx:id attribute to the fx: include element:

    
    

    Then in the ControllerOne class:

    public class ControllerOne {
        @FXML
        private TabActionsController tabActionsController ;
        // ...
    }
    

    Here I assume that your references to tabActions.fxml a = fx:controller class controller "TabActionsController". The rule for injection is that if the fx:id FX: include is fx:id = 'x', then the injected controller has field name "xController" (fx:id = "tabActions"-> tabActionsController). See the documentation FXML on nested controllerssection.

    This allows you to do what you want, because now you can define (and expose) the functions needed to "Refresh" in your TabActionsController class. For example:

    public class TabActionsController {
        @FXML
        private TextField textField ;
    
        public void initialize() {
             // ...
        }
    
        public void refresh() {
            textField.setText( /* some default value, or etc. */);
        }
    }
    

    and then:

    public class ControllerOne {
        @FXML
        private TabActionsController tabActionsController ;
    
        public void initialize() {
            // ...
        }
    
        @FXML
        private void handleRefreshButtonAction() {
            tabActionsController.refresh();
        }
    }
    
  • problem with JQuery TAB when I refresh the Page

    Hello

    I use a JQuery tab and I have following tabs under the present.

    tab1
    tab2
    tab 3

    When I click on tab1, tab2, tab3 individually it works fine.

    problem... Now, when I click on tab 3 and then I refresh the page, the control returns to the first tab tab1.

    what I want... If I'm on tab2, and I update the page... control must remain on the same tab (i.e. on tab2)... control should not go back to tab1 *(the first tab) *.

    Thank you
    Deepak

    Hello

    This might help
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:195800346705831

    Kind regards
    Jari

  • Extracting data from table without refreshment and without using the tab key.

    Hi friends,

    I have a problem I want to extract data from table without discount in the text field without using the Tab key. When I enter a field value any value then the text corressponding should enter into corressponding textfield without using the Tab key.

    for example. When I get back emp_id 101 in a text field then first_name and last_name, address would come in to the text fields corressponding without refresh and use the Tab key.

    How can I do that.

    Thank you
    Maury

    Hi Maury,

    I guess it's similar to: retrieving data without refreshing rather than Re: value of a textfield should enter into an another textfield without using the TAB ?

    If so, the only change you want to bring on the first is to use the parameter "Onkeyup" instead of "onchange" in the 'HTML Form attributes of the element' element.

    Note, however, that the user must move away from the issue at some point (for example, to click on a button), so the onchange will fire anyway.

    Andy

  • I can't refresh the files that I opened on a server to FireFTP after I change them (HTML, PHP, etc.).

    For weeks I've been editing files on a remote web host (via FireFTP) that are also open in Firefox. From late in the evening, I can isn't just refresh the Firefox tab once I changed the file on the server. On the contrary, I have to close the file and re-open it completely. When I have the remote file open in a local editor time, date and size on the server as expected so I know this subject works.

    The url indicates the location of the remote as file:

    file:///C:/users/{account_name}/APPDATA/local/Temp/{filename.ext}

    and if I check this location on disk the file is there. Also note the file: Protocol that may or may not be standard.

    Firefox and FireFTP copy of the file in the directory of the user and displaying only the version of the file? The association with the remote/hosted file somehow does not work?

    I checked the Firefox command line options and do not see anything that looked like it might make a difference. I rebooted several times. I checked against viruses and malware and also perform several operations of registry cleaning.

    Still, it worked until a few hours and I have not installed or changed something that I know.

    Any suggestions?

    OK, I'm a complete jerk. The behavior I described is exactly what it should be. I was able to do a quick update when I was working with files * already on the local disk *, which is what I actually did most of this time. The view on the Web option is the only way to access a direct view of the file.

    The downside is that view on the Web looks like that it only works with the default browser. It would be nice to be able to select the browsers to use if more than one is available, but it's a niggle (or a feature request) for another day.

    Now you can beat me in the face with a crowbar. After that I'm done, of course.

  • Twitter: Your account may not perform this action. Please, refresh the page and try again.

    Since the update to Firefox 41.0.2 I couldn't use Twitter.com. When I try to tweet, favorite, or retweet the following error occurs. Your account may be able to perform this action. Please, refresh the page and try again. There are a couple of other users who have the same problem, but it was tinkered with Mozilla and the other pending.

    It started with the update to 41.0.2 and twitter works in all other browsers, but not Mozilla.

    Here's this other thread with the DIY: Impossible of Retweet, tweet or articles favorite on Twitter, even when I refresh the page.

    I think there must be a setting or a question Add on. Your extensions look pretty standard, so I'm leaning towards a parameter of the problem. You could test as follows:

    By default, Windows hides the .js extension. To make sure that the following steps work, you have to disable this feature, at least temporarily. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename prefs.js to something like prefs.old.

    Launch Firefox back up again and it must use the default settings (for example, integrated home page). If you need to restore your previous session windows and tabs, go ahead and select restore previous Session from the history menu.

    Twitter works best? If so, we could try to understand the precise adjustment at fault or you could rebuild your settings. Or you can undo the change by renaming the new prefs.js to prefs.txt and rename prefs.old back to prefs.js (with Firefox closed, as you did before) and understand it through a little trial and error.

  • Web site will not disappear after closing the tab AND restart Firefox.

    I went to a website to watch a video, and when I had finished I closed the tab on what the site was. When I had finished on my computer, I closed Firefox. The reopening of Firefox later he restored the page. I don't know why it does this, and I can't make it disappear. I deleted all my cookies/cache, etc., as well as do a virus scan and nothing can tell me why this is happening. It's pretty boring, and I would that my browser to work properly. I've recently updated to the latest version of Firefox, so everything is up-to-date. I'll take any suggestions anyone can throw on me because I am fresh out of ideas.

    Thanks in advance.

    Hello
    Thanks for letting us know about your problem. The problem can be solved very easily. Just reset your Firefox and your problem can be solved. To reset instructions, please see this article Firefox Refresh - reset the parameters and modules

    Please let us know if your problem cannot be fixed by above mathod.
    Concerning

  • Don't know what happened, but now, everytime I open a new tab, a new window opens that contains the same information as the tab.

    Don't know what I did, but now, everytime I open a tab, the tab opens as it should, but it ALSO opens a new window containing the same information as my original window. (same tabs, etc.) Almost a duplicate of my original window. I searched everywhere for a solution, but fails.

    Hello

    The reset Firefox feature can solve many problems by restoring Firefox to its factory default condition everything and save your essential information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

    Thank you.

  • Refresh the view current firefox page by using the keyboard shortcut without concentrating on the firefox window.

    I want to refresh the current page tab that the firefox browser open without focusing on that. For example, I focus on a text editor (creating a server-side code) and I save some changes and trigger my custom shortcut (IE [ctrl + alt + space + a]) key to refresh the firefox browser without concentrating on it.

    You can do that with a keyboard shortcut without opening/development the Firefox window.

    Maybe use this extension:

  • Whenever I try to open a new tab, the tab just becomes empty and said "new tab". I can't open any websites. What should I do?

    He started very suddenly. The tab just erased when I tried to open a new and then continues whenever I open a new tab. It loads the site selected for a milliseconds and then everything shuts off and says 'new tab '. In my own language of course. I tried to reinstall, reboot and nothing seems to do. I have Tab Mix Plus as a manager of the tab.

    What can I do? Help, please.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • Address bar does not match tab is selected. How can I get the address change and correspond to the tab I select a tab that has been previously loaded?

    If I open a new tab and type a url in the address bar tab load very well. When I return to an already open tab, the tab looks fine, but the address bar still shows that last typed url, not the url of the 'active' tab I do not see the url of the active tab and I can't use the "return", "Refresh", etc...

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for

  • 47 - fatal error code?

    I have an iPhone Apple 5 c 17 months. He lost a record carrier and thus Apple support told to download the last i.o.s via iTunes. He is constantly failed to load at the same point. Took to Apple store to confirm this and showed error code 47. IPhone

  • Satellite L650 - 1 M 0: could not activate the new wireless card

    Hello I replaced the wireless card in the laptop on WiFi + BT (Combo). New brand of laptop do not had favor of BTBluetooth and WiFi work correctly on the system drivers that the system itself. The only problem with the new adapter is unable to activa

  • VBAI - image acquisition misframe problem

    Hello I have a smart camera, NI C. 1776 when I tried to acquire the image, after 4 or 5 images, it ejects a weird picture half misframe. This will not suitable for imaging my self. I've attached a normal picture and a peak misframed to let the guys h

  • How to stop a while loop structure in the event of a main vi

    Hello; Sorry for my English I have to stop to a Subvi my main VI, the Subvi contains a while loop and an event structure, so I need to stop this loop while I tried directly from my main vi, global variable, but it did not work any help please or exam

  • computer hp laptop window 8.1 supports bluetooth?

    I am using bluetooth for listening to music on my TV with wifi connection, but I cannot locate or how to link to it. I'm doubting if my new laptop supports bluetooth. pls help me. Thank you.