HowTo refresh a stage?

Hey. I've got another Question. Is there a way to have a scene updated when changes occur?
My solution for now is to simpley re-set the scene into the stage. Is there a better solution?
Cheers

Let say your scene defined as:
Group root = new Group();
Scene scene = new Scene(root);
Your scene is updated whenever you execute the following statements:
root.getChildren().add……
root.getChildren.remove…..
This is only one example.

Similar Messages

  • Howto Refresh SAP BW Query Changes for roles (User menu)

    Hi All,
    I have apply new changes for combine hierarchy. However I have tested in Query Designer/web and its works ok hence the user cant see the change.
    Howto Refresh SAP BW Query Changes for roles (User menu)
    Below is the setup we do have (sap bw 3.5)
    1. User run query from User menu (They logon to bw backend and run query by click on the icon on thier user menu.
    Changes.
    1.Apply combine hierarchy (Rows in Query Designer)
    2. I have display query on the web and its work as expect
    Issue
    1. Query not refresh in user menu (Roles) Users run the query through user menu
    Regards Jon

    thank you

  • Howto refresh table after closing a popup

    Using JDev 11.1.1.3
    I have a table and a popup. The table is populated by records from a datacontrol.
    The popup has a form showing details of the selected record in the table. I also use that popup to create new records.
    I have problems when pressing the "OK" button on the dialog. The record is saved to the database, a commit has been executed but my table does not show the new record. I need to press F5 before i see the record.
    I have tried setting a partialTrigger to the table from the popup but that does not work.
    This is the dialogEvent code:
        public void enqueteListener(oracle.adf.view.rich.event.DialogEvent dialogEvent) {
           if(dialogEvent.getOutcome() != DialogEvent.Outcome.no) {
             BindingContainer bindings =  BindingContext.getCurrent().getCurrentBindingsEntry();
             OperationBinding operationBinding = bindings.getOperationBinding("Commit");
             operationBinding.execute();
             operationBinding = bindings.getOperationBinding("Execute");
             operationBinding.execute();
           else {
             BindingContainer bindings =  BindingContext.getCurrent().getCurrentBindingsEntry();
             OperationBinding operationBinding = bindings.getOperationBinding("Rollback");
             operationBinding.execute();
        }As you see the commit gets executed and after that i execute the Execute to refresh the table but it does not seem to work...
    How can i achieve that i do not longer need to press F5 so the record show up directly in the table after the OK button is clicked in the popup?

    Hi,
    you may add this helper method to your basking bean (or base backing bean)
    public void refreshUIComponent(UIComponent x) {
            AdfFacesContext.getCurrentInstance().addPartialTarget(x);
    }When using the addPartialTarget on your adf table component, it will refresh the table entirely.
    With the "fetching data....." message etc... (It is a bit heavy)
    What would be nice, is to refresh only the current row and not the whole table.
    How ?
    protected void refreshTableCurrentRow(RichTable xTable) {
            //Refresh Table UI Current Row
            Set<Object> selectedKeys = xTable.getSelectedRowKeys();
            assert selectedKeys.size() == 1;
            Object old = xTable.getRowKey();
            try {
                xTable.setRowKey(selectedKeys.iterator().next());
                List<UIComponent> colList = xTable.getChildren();
                Iterator iter = colList.iterator();
                while (iter.hasNext()) {
                    UIComponent col = (UIComponent)iter.next();
                    Iterator iterCol = col.getChildren().iterator();
                    while (iterCol.hasNext()) {
                        refreshUIComponent((UIComponent)iterCol.next());
            } finally {
                xTable.setRowKey(old);
        }And call it just after executing the "Execute" operation
    operationBinding = bindings.getOperationBinding("Execute");
    operationBinding.execute();
    refreshTableCurrentRow(getTable());
    Regards
    Nicolas

  • HowTo: Refresh Top Site Page Icon (non-RSS)

    I like Top Sites. I have four Google Sites pages that I used and Top Sites is a quick way to navigate between them. However, the Sites pages require a login and now all the icons in Top Sites for the Google Sites pages appear as the login page for Google Sites instead of the different Google Sites pages. This is annoying as I can't always remember which of the four Google Sites pages is which.
    How do I refresh the cache that Top Sites has or force it to refresh its cache?

    HI,
    This is annoying as I can't always remember which of the four Google Sites pages is which.
    For Google, you would be better off using Bookmarks instead.
    Navigate to all four Google pages. From your Safari menu bar click Bookmarks, name them Google 1, 2, 3, and 4 individually. (Or however you wish to name the pages to keep them separate). Save to your Bookmarks Bar.
    That's much easier then using TopSites for Google pages.
    Carolyn

  • Howto refresh MAC-filter list in WCS ?

    Hello
    We?re using WLC4402 with WCS 4.
    We are using MAC filters with WPA to limit which clients can connect.
    My problem is this:
    I think it is smoother to insert new MAC filters through the WLC web interface instead of using the WCS.
    When I do this the new MAC filters I put in through the WLC web interface will not show up in the WCS, how can I refresh the WCS to make the new MAC filters show up there ?
    /Dan

    Make sure the controller is using version in Release 3.2.78.0.If not upgrade the controller so that updates are sent properly to wCS .Max number of mac filter that could be configured is 512 on WCS 2.2

  • How to control stage resizing

    My main file displays a large number of dynamically generated graphics. I have a listener to remove and then re-position the graphics if the browser is re-sized:
    stage.addEventListener(Event.RESIZE, stageResized)
    //When stage is resized, remove all children from the main component.
    //When empty, refresh the stage content
    public function stageResized(e:Event):void{
       while(mainUIComponent.numChildren>0){
            mainUIComponent.removeChildAt(0)
            addContentToStage()
    My problem is that the function works perfectly if I use the Browser Maximize/ Minimize buttons, but not if the window is re-sized manually by dragging the browser window at the bottom-right side. If I drag the window to resize, many graphics are left unerased on the stage, but all the new graphics are drawn leaving a terrible mess. If I go back to select the Maximize/ Minimize again, the screen is cleaned properly once more.
    Can anyone recommend an approach to clear out all the old graphics on a manual drag?

    Maybe add your event listeners to the Application object, and ensure width and height are 100%?
    If this post answers your question or helps, please mark it as such.

  • RMAN restore from active database, ASM

    I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
    duplicate target database to dwstage
    from active database
    spfile parameter_value_convert 'dwprod','dwstage'
    SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
    SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
    The error message I'm getting is this:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
    Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Renaming Set Code and Stage Code for a refresh set in Concurrent Manager

    Hi,
    We're using Oracle Applications 11.5.10.2 on a 10.2.0.4 Database:
    Would anyone know how to rename the Set Code for the Refresh Set and Stage Code for the Stage for a Refresh Set in Concurrent Manager? I’ve seen it done in the two Report Sets but when I try to so it in the Report Set I’m creating, those fields are grayed out. How do I get around that?
    Thanks!

    950950 wrote:
    Hello folks.
    There is a request set that has three stages. I've got to remove the final stage but I don't seem to be able to do this.
    I'm logged in with a System Administrator role and I believe we're on 11.5.10.2.
    I'll keep poking around but I'm hoping one of you gurus has the information at the tip of your fingers, or could at least point me in the right direction.
    Thanks,
    GeorgeWhat is the error you get?
    Please make sure you remove the link stages for this particulare stage (from "Link Stages" window) before you delete it from the "Define Stages" window.
    Thanks,
    Hussein

  • Functional Module to refresh Material Master at different Stage in SD Cycle

    In Material Master we maintain Profit Centre. The requirement is such that the client requires to change profit center very often & the requirement is such that the latest Profit Center is captured at different stages, i.e Sales Order, Delivery & Billing.
    It is already assumed that we will require an enhancement for this & the logic will be that at each stage the enhamcement checks the Material Master & updates the latest update in Material Master.
    It seems that there is a Functional Module, which refreshes the details of Material Master, when it is triggered. I am not aware that which is the Functional Module, which refreshes the Material Master details, when triggered & would like to know the name of functional module?
    Regards,
    Rajesh Banka

    Dear Ashish,
    As an enhancement, we have already considered using User Exit & also the logic to arrive at it. But I was informed that if we trigger one particular Functional Module, it refreshes Material master data at transaction level, but do not know, which functional module it is.
    Thanks for your prompt response.
    Regards,
    Rajesh Banka

  • [OIM] GTC (DB App Tables) doen't refresh the OIM User Stages

    The scenario is as follows: I have one table as a trusted source. I mapped it to the OIM User using the stages screen (the OIM User plus some UDF Fields) and everything works fine.
    The problem arised when I need to add more UDF fields. The stages screen doens't show them, neither if I press the refresh button on the OIM User stage. The weird thing is that, for example if I make a Create User, all fields are shown and more weird, if I go directly to the provisioning process of the GTC connector, in the recon mapping these new fields appears and let me make the mappings. The strange thing is that I save this, and when I go to the GTC stages screen, the new UDF still doen's appear, neither the mappings I made in the design console.
    Have this happened to anyone? I don't want to mix GTC management touching directly the Design Console, I am trying to let it clean so I can make a clean export when it happen to put the connector in other environment.
    Thanks!

    Hi,
    I got the same problem... I added two UDF after I'had created the GTC and it didn't read them up, so I added the lines below in the xml schema in the database. After that, I could map the UDFs to the Reconciliation Staging fields.
    <Field default=" " keyfield="false" type="String " required="false" size="60 " encrypted="false" order="0 " name="USR_UDF_SAMPLE1" password="false">
    </Field>
    <Field default=" " keyfield="false" type="String " required="false" size="15 " encrypted="false" order="0 " name="USR_UDF_SAMPLE2" password="false">
    </Field>
    <Field default=" " keyfield="false" type="String " required="false" size="30 " encrypted="false" order="0 " name="USR_UDF_SAMPLE3" password="false">
    </Field>
    I think that would exist a button to refresh OIM User Schema used by the adapter, so the UDFs can be updated.
    tks.
    Renato.

  • Refresh cl_gui_column_tree?? Howto??

    hi gurus. Im using a tree of cl_gui_columm_tree and i need to refresh the tree after several funcionalities but using the method update_nodes_and_items the tree doesnt refreshs.
    Anyone knows another way to refresh the tree??
    Thk, Regards

    anyone???
    I really need some help on this
    Thk

  • Why is my stage not refreshing when I draw something on it in Flash CS6?

    I just did a fresh install of Flash CS6.  Now when I open my .fla to edit it, the stage will not update to reflect my changes unless I scroll the stage up or down.  For example, I draw an oval on the stage.  The oval won't actually render until I scroll the stage or try to move it using the move tool.
    Has anyone else experienced this or have any ideas?
    Thanks in advance for your help!

    I haven't experienced this yet and I've used it on as low as a 4GB laptop with quite a few apps loaded.
    If esdebon's issue is you'res as well then as soon as it happens again, close all other applications, wait a few seconds (commit purge of cached pages of memory) and see if it happens.
    You might also want to reduce the number of history states in Edit->Preferences->Undo. It's set to 100 levels by default. Change that to 50 and see if it helps. Sometimes changes are extremely complex and can rack up memory quickly. You might even want to turn it down to 25.
    Let us know if either of those help.

  • Howto stop ipad refreshing apps each time shifting the app to background

    IIpad 2 16 gb , 3G.
    application in the background are always refresh and start from zero if you left it for seconds and shift to another application, specially safari and a lot of other apps.
    how to stop this.

    This has been happening to me also since I hooked up Apple TV for the first time yesterday. My iPad gets two bars of wifi strength in our living room, which is fine for surfing but evidently not good enough for Pandora. When I bring the iPad 40 feet away to the router in my office, it gets all 3 bars of wifi strength and works perfectly.
    I think what is happening is that the less than full strength signal confuses the ipad when it is in Airplay mode, and then the iPad drops out of Airplay and defaults to it's local speakers. This is a drag, and so now I'm debating whether to buy the Apple Airport Extreme router, which everybody raves about for it's long range and powerful signal. My Linksys is not very impressive, and I've already spent too many fruitless hours with their tech support people tweaking the settings to no avail.
    It is surprising that two out of three bars is not adequate to ensure good Pandora streaming performance, so I have no way of knowing if moving to a better router will dove the problem.

  • Howto block the refresh rate ?

    Hello,
    I am having a display issue with my monitor. It doesn't displays specific refresh rates so that I cannot anything when starting my mini mac. I know it checks on boot what monitor is connected to have the best display.
    Actually I am using an old 15'' to force 60Hz display before plugin my IIyama monitor. It is annoying.
    Anyone knows how to prevent this problem? Is there a solution whitout buying another monitor? I juste want to fix the refresh rate and don't let it detect on bootup.
    Thanks in advance.

    AFAIK, there is no way to specifically stop Mac OS from detecting a display. That would be a handy feature in cases like yours.
    The best thing I can think to do is to make a VNC connection between your mini and another computer. In this way you should be able to make a useable resolution selection on the mini from the other computer. Once you do this, it will stay that way for good.

  • Problem when trying to refresh oracle screens with latest data

    hello experts,
    i have one problem,i want to refresh the oracle screen with the latest data from the data
    base.
    It is a two stage process.At first step one user will select a row from the screen and then he will press a button .
    now the second screen will appear and the detail of the employee will be displayed.
    First step has been completed and the data is coming in the second form via parameters and i can see the full information of the employee.
    Now i want to refresh the oracle form i.e. suppose if my dba has made any changes in the oracle table( EMP table) i want that after pressing the refresh button user can see the
    latest data from the database.
    in WHEN_BUTTON_PRESSED trigger i have written this codes.
    enter_query;
    execute_query;
    but they are not giving the expected result.
    And one more thing please suggest whether in the second form i should use database item
    or non database item.
    When i am using database item when i am trying to close second from one pop up is appearing
    and asking that whether i want to save the changes.
    please suggest how can i remove this message from my application.
    Regards
    Anutosh

    Hi,
    what data did you transfer via parameters to the second form ?
    how did you populate the datablock in the second form ?
    Typical solution would be:
    (For my example the block is both forms is named EMP, and is based on the table SCOTT.EMP)
    In Form 1, transfer the primary key-value of the current record to a global or parameter (will use global in my example):
    e.g. you have a WHEN-BUTTON-PRESSED-Trigger with the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    CALL_FORM('FORM2');
    </pre>
    In Form 2, you have a WHEN-NEW-FORM-INSTANCE-Trigger with code:
    <pre>
    DEFAULT_VALUE('GLOBAL.EMPNO', NULL);
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    END IF;
    </pre>
    On block EMP in Form 2 there is a PRE-QUERY-Trigger with following code:
    <pre>
    IF :GLOBAL.EMPNO IS NOT NULL THEN
    :EMP.EMPNO:=:GLOBAL.EMPNO;
    END IF;
    </pre>
    And at last, in your refresh-button would be the following code:
    <pre>
    :GLOBAL.EMPNO:=:EMP.EMPNO;
    GO_BLOCK('EMP');
    EXECUTE_QUERY;
    :GLOBAL.EMPNO:=NULL;
    </pre>
    Hope this helps

Maybe you are looking for

  • PO print for fax/email transmission

    Folks, Have a generic query. How would you print the POs that were transmitted by FAX or EMAIL without adding a new message type? The users in Prod. system have access to ME23N alone. If the message type was set as print, then no issues as they could

  • Odd wi-fi behavior

    Lately when I wake the iPad it connects immediately, then a few seconds later displays the message "connecting" in a pop-up window for a second or so. While that is going on there are no bars in the airport icon space (not even grayed ones). The conn

  • Tel Nav update error msg "JVM Error 545"

    dowloaded tel nav update and after re boot rcvd subject msg on a white screen background and device completely frozen. Several resets and no change.

  • Some email functions on aol not responding.

    Why, when I hit the reply button on an email, does the address of the sender (of the original email) not appear in the "To" box? I can't type into the message box, nor can I attach anything. I have had to return to Safari for emailing. I use aol on a

  • Create multiple textures

    Hi, how can i create multiple diffuse textures (advanced 3D skin mode)?