How to recharge areas after the end of the loading of Javascript?

Hello community,

I got JavaScript in the "run when the Page loads" - Section, which basically load content of the database in hidden Page items (with a conversion of XML).

These hidden Page items are part of the Source of my graphics in the Apex.

This works fine until now, my problem is now:

Given that my hidden Page items are filled on the loading of the page, I need to submit (or update) my page again so that the changes in these elements will appear in my paintings.

How to avoid that?

thought of a few possible solutions:

1 Refresh (dynamic action) my chart regions automatically once the page has been loaded. Could not get this to work, try loading the page events, before sending the page, after discounting, unloading of the page with the 'Refresh' True Action and selection-Type 'Region '.

2. let graphic-region-charge wait Javascript code at the end. If possible, can you tell me how?

Sorry if this is already answered in another topic, could not find an answer. (Was not yet sure how to search this topic)

Thanks in advance for any advice,

Thomas

-APEX version: 4.2.5.00.08

-DB version and edition: 11g

-Browsers used: Firefox (sometimes Chrome)

-Theme used: 2 - blue Builder (and 1 - red single)

-Models - of the region a report model

WOD wrote:

Why you use this approach? Why not produce all the necessary contents to see the processing page?

Well, I use because it's pretty complex (generate data dynamically) and from what I've read there is no more easy/other approach. Unfortunately, I do not know what you mean by 'page display treatment '. Could you please explain that?

Generate values for page elements hidden using calculations or processes at the points of execution before Header/After Header/Before regions.

You specify the items hidden in the properties of Elements of Page to submit of the graphic regions?

I don't have the "Page elements must send" - field in one of my areas. Are you sure that there must be a?

Yes. This property has been moved from the report attributes page as it is now supported by other types of region (e.g. graphics and plug-ins). For the parts of the diagram, the property is located in the section series of each series definition query.

If you use this approach, complete all of the necessary content generation and region is updated on a single charge of dynamic Page action is likely to be easier than trying to synchronize JavaScript running in two different places...

I will try the solution of dynamic load page all-in-One action. If I get this right, I should create a D.A. with the "Page Load" event and several real actions. First being "run the Code Javascript' with the JS Code, I am currently under"Run when the Page loads", followed by a simple"Refresh"Action-true, no?

Yes.

Edit: with the D.A. all-in-One I have the same problem as before. (JS code 1, 2) 'Refresh', type 'Region', the selection on the "mychartregion" region). Issue being, what I have to do an another refresh (update of manual button) so that the changes become visible.

This is because the elements with generated content are not specified in the elements of the Page Properties to submit for the series in the chart.

Tags: Database

Similar Questions

  • Vista black screen after the loading bar

    I have the problem that I am assuming that almost all users of Windows Vista have probably experiences - the black screen with the white cursor lonely after the loading bar 'Microsoft Corporation'. Here are the steps that I tried to solve the problem, but have not yet worked:

    • With the help of "last known good configuration" brings back me to the screen and the white slider
    • Go into safe mode which brings back me to the screen and the cursor
    • Activate the video mode low resolution which brings back me to the black screen and a cursor
    • Using Ctrl + SHIFT + ESC to appear during the black screen Task Manager
    • CTRL + Alt + Delete does not work on the black screen
    • I do not have access to the installation CD, as it was preinstalled on the computer

    Yes, as usual, what happened after a windows update - I really should stop waiting for something good to these updates.

    I'm under the original version of Vista Home Premium without service pack - these caused a similar problem, but at least I was able to return the system restore.

    Thank you in advance, I know how useful these forums can be.

    Yes, a new installation of Windows 7 was the way for me. Lucky he composed a back all my documents, however. Thanks for the help all. Unfortunately I have no where near more closely to solve the problem, then when I started.

  • Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    According to Apple, it has been addressed in the latest update of the iOS, iOS 9.2.

  • After the loading of barbie, equestrian club, his game is ok but the screen is black and doesn't let me do anything

    After the loading of barbie, equestrian club, his game is ok but the screen is black and doesn't let me do anything

    Hello

    1. what operating system is installed on your computer?
    2. is it works much earlier?
    3. don't you make changes before the problem?

    Check if the game is compatible with Windows 7 Compatibility Web site. The game mentioned above is not listed in the compatibility Web site, it may or may not be compatible with Windows 7.

    I suggest that you follow these steps and check if the problem persists.

    Step 1:

    Update of your display drivers and check if the problem persists.

    Step 2:

    Reduce hardware acceleration and check.
     
    a. click the Start button, Control Panel.
    b. now, select appearance and personalization. under display, select adjust screen resolution.
    c. now, select adjust the resolution.
    d. click Advanced settings.
    e. now, click the Troubleshooting tab, and select the change settings button.
    f. in the Security dialog box, click on continue.
    g. move the hardware acceleration slider to the third notch.
    h. click OK.
    i. restart Windows.

    Step 3:

    If the game worked fine in the earlier version of the operating system, I suggest you run the game in compatibility mode.

  • How can I speed up the load time of my site?

    Hello

    How can I speed up the load time of my site hosted on BusinessCatalyst.

    http://www.PW-energy.co.UK

    Is there a way to compress?

    Any help much apprecated.

    Thank you

    Hello

    The page/site seems to load very well at the moment.

    However if want to inspect what could slow down the loading of your page I recommend using 'firebug' and select the 'network' tab to follow every chronology file loading.  Then you can see which file takes more time to load to help make adjustments accordingly.

    http://getfirebug.com/

    Kind regards

    -Sidney

  • How could I install after the Installation of Vista Toshiba Utilities?

    Ok
    This may seem a bit silly. I currently have XP and I intend to upgrade to Vista. I was wondering how I could reinstall all utilities like ConfigFree, Touch and launch, etc,... after I have installed Vista. The recovery CD only works on XP, right?

    Help, please.

    You are right. Tools & utilities are not the same for Windows XP Home and Vista edition. First of all, it will be interesting to know what model of laptop you have. You must know that all portable Windows XP Home edition are not Vista support and if you have a laptop without Vista capable sticker you will not be able to find all this stuff for your laptop.

    Please post your model of laptop. Maybe someone can give you more information on the Vista support.

    Good bye

  • How to remove only after the passage of the Tween is finished

    I want last removeChild (dropBall1); statement, in this script to be executed only after the move from Tween is completed. How do I do that? right now it is, it is removed immediately.

    function onClick10f1 (e: MouseEvent) {}

    addChild (dropBall1)

    removeChild (bigBall1)

    dropBall1.x = 356.10.

    dropBall1.y = 28;

    var bigBDrop1: Tween = new Tween (dropBall1, "y", Regular.easeIn, 28, 156, 1, true);

    removeChild (dropBall1);

    do not take local interpolation function.  they are likely to be gc had completion and import the tweenevent:

    var bigBDrop1: Tween

    function onClick10f1 (e: MouseEvent) {}

    addChild (dropBall1)

    removeChild (bigBall1)

    dropBall1.x = 356.10.

    dropBall1.y = 28;

    bigBDrop1 = new Tween (dropBall1, "y", Regular.easeIn, 28, 156, 1, true);

    bigBDrop1.addEventListener ( fl.transitions.TweenEvent.MOTION_FINISH , tweenFinishF);

    }

    function tweenFinishF(e:TweenEvent):void {}

    removeChild (dropBall1);

    }

  • How to add Photos after the installation of the El Capitan

    I got Lion before I just installed El Capitan.  When I installed the iPhoto application has a circle with a line through it.  When I went to update to iPhoto, but I get an error that says "Update not available with this Apple ID" this update is not available for this Apple ID either because it was bought by another user or the elements has been refunded or cancelled. "That is not true.  It's the ID only I know that I and I got this computer since 2008, and iPhoto has been on it all the time.

    What should I do? I am not tech savvy, I back up using time machine but not safe, where the photos are on the time machine.

    I thought that maybe I should move to Photos, but I can't find this app to download either.  I thought that if I got this app, it would transfer my pictures of her.

    What should I do? I'm not the most tech savvy person so it's very stressful, because I don't know how to access my 10,000 photos.

    Any help would be appreciated.

    Photo is part of the operating system is installed on your system already - it is the white circle filled with a ring of smaller colored on the bench of the accused - circles and is located in your Applications folder

    LN

  • How to activate Windows after the 3-day grace period?

    HOW TO ACTIVATE WINDOWS AFTER PRESCRIBED PERIOD AGAIN?

    I forgot to activate my windows again after only three days in advance?

    I use a dial connection using a USB plug. It's SmartBro, location Philippines. My number is * removed *.

    I could not activate using the internet because I couldn't connect my dial-up access. I got a prompt to automatically connect bur that he had failed.

    I don't have a landline.

    I tried the phone activation. I got yhis installation ID:

    Can I have the confirmation through your answer ID? Give your could give me, this activates my windows again, even without an internet connection yet.

    Without this activation, I couldn't connect to internet...

    My activation key is: * delete *.

    Currently, I'm in a café of inet, I would be grateful if you could give me a solution to my problem.

    My email is: * address email is removed from the privacy * or * address email is removed from the privacy *

    Hoping for your quick response.

    Thnak you.

    Chris Maypa

    Hello

    Check out the link and follow the steps.

    How to activate Windows XP

    http://support.Microsoft.com/kb/307890

  • Network icon is missing from the notification area after the window updated

    I have some problems about the notification for the network and the volume icon!
    They are missing after the window updates!
    I tried to check the "Taskbar and Start Menu Properties' > 'Notification area', Volume and network are grey which I cannot check these boxes. Grateful if you could help me solve this problem!
    Thank you very much!

    Hi VisBo,

    Welcome to the windows vista forums.

    Please follow the steps below to resolve this issue:

    1. right click on the taskbar and click Properties.

    2 tab Area of Notification .

    3 check (on) or disable (off) the options you want or do not want to display on the Taskbar Notification area.

    For the network icon, you can also do with the registry.

    NOTE:

    Please be careful while making changes to the registry, any undesirable changes can affect your operating system.

    1. click on start.

    2. in the start menu search bar type regedit, and then on enter.

    3 Please go to this location in the registry by expanding each location by clicking on the brand more on the left side.

    HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\
    Microsoft\CurrentVersion\TrayNotify

    4. remove the keys 'IconStreams' & 'PastIconsStream '.

    5. start the Task Manager by pressing ctrl + alt + delete at the same time.

    6. in the Task Manager right click on explorer.exe and kill the process.

    7. click on applications in the task manage, press new task and type explorer.exe, and then press ENTER.

    Explorer will now reboot and your icons should return.

    Alternatively, you can try to uninstall the most recent update that has caused the problem. You can uninstall an update by clicking on the icon of the program features in Control Panel. Select the update that caused the problem, and then uninstall it.

    You can also make a selection of updates to install by setting the windows updates to notify you before installing an update. To open this Panel, and then click windows updates, click settings.

    I hope this information is useful.

    Please let us know if you need assistance.

    Concerning
    Rehman - Microsoft Support

  • How to eliminate zeros after the decimal point

    Hello

    I have the columns in the table of Planner has BEGIN_DAY BEGIN_MONTH BEGIN_YEAR and the values are coming as 12.00, 11.00, 2009.00.

    In the database there are no zeros after the decimal point, but when the tables are imported into OBIEE see zeros in columns above. Is it possible to remove the zeros after the decimal place to the RPD.

    Rgds,
    Amit

    Set the data type in the physical layer int.

  • How to 'Allow smoothing' for the loaded XML .jpg?

    I have a thumb wheel image that loads a bunch of jpg. They are be enlarged rollover in 1,05.

    I've seen pixelated at scale 1 x 1 as well as expanded.

    I'm happy prettey how Flash renders the images with "Allow smoothing" on.

    How would I do it for the loaded xml jpg? Would it be as a script in the main folder or in the xml file?

    Here's how to load images in AS3:

    function completeHandler_AppPopUps(e:Event):void{
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete
    
              //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);
    
              TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version
    
              TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded
    
    
    }
    
    

    I don't want to complicate things more than necessary, but just in case it's needed here is the complete code for the edification of the wheel section:

    /////Parse XML
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
              trace("build Scroller");
    
              for (var item:uint = 0; item<imageList.length();item++) {
                        var thisOne:MovieClip = new MovieClip();
    
                        //outline
                         var blackBox:Sprite = new Sprite();
                        blackBox.graphics.beginFill(0xFFFFFF);
                        blackBox.graphics.drawRect(-1, -1, 62, 92);//-1,-1 places rectangle 1px left and up.62, 92 draws rectangle 1px wider on all sides of placed image dimenstions of 60x90
                        blackBox.alpha = thumbFadeOut;//setting Border Tweens
                        thisOne.addChild(blackBox);
                        thisOne.blackBox = blackBox;//setting Border Tweens
    
                          thisOne.x = thisOne.myx = (60 + padding) *item;//replaces the line above for scale tweenw roll over calculation. "myx" is a made up term which defines the position. 61 is the width of the thumb
                        thisOne.itemNum = item;
                        thisOne.title = imageList[item].attribute("title");
                        thisOne.link = imageList[item].attribute("url");
                        thisOne.src = imageList[item].attribute("src");
                        thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
    
                        //Loading and Adding the Images
                        //image container
                        var thisThumb:MovieClip = new MovieClip();
                        //add image
                        var ldr:Loader = new Loader();
                        //var url:String = imageList[item].attribute("src");
                        var urlReq:URLRequest = new URLRequest(thisOne.src);
                        trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
                        ldr.load(urlReq);
                        //assign event listeners for Loader
                        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler_AppPopUps);//tells us when the loading is complete
                        ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler_AppPopUps);//tells us if there are any typo errors when the loading is complete
                        thisThumb.addChild(ldr);
                        thisOne.addChild(thisThumb);
    
                        //create listeners for this thumb
                        thisOne.buttonMode = true;//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem_AppPopUps);//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem_AppPopUps);//traces the title when the mouse is over the bounding box in the Output Panel
                        thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem_AppPopUps);//traces the title when the mouse is out the bounding box in the Output Panel
    
    
    
                        //add item
                        scroller.addChild(thisOne);
              }
              scroller.addEventListener(Event.ENTER_FRAME, moveScrollerThumbs);//adding movement on mouse position
              trace("termination of build scroller");
    
    }
    
    
    

    in your listener to full charge, enable the property smoothing to the content of your charger (expressed as a bitmap).

    function completeHandler_AppPopUps(e:Event):void{

    Bitmap(e.currentTarget.loader.content).smoothing=true;
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete

    //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);

    TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version

    TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded

    }

  • Brightness (key or setting) setting does not work on HP Envy17 2290nr after the loading of Windows 8?

    After the upgrade to windows 8, why the brightness adjustment is no longer works on HP Envy17 2290nr?  Went to set the charms and brightness controls do not work here either.

    Hello DJSZCZEP.  I understand you are having some problems with control of the brightness of your laptop in Windows 8.

    HP is still drivers for the update for Windows 8.   Most laptops that have been purchased after October 1, 2011 must be supported at the time.  Here a link to more information on the upgrade to Windows 8 and HP.

    The support page for your laptop does not currently listed drivers for Windows 8.  This does not mean that Windows 8 does not work on your laptop.  This simply means that some features and functions may not be available. Advanced features like the brightness control can be handled by the driver itself and require a complete driver for features.  Your the tender specifications lists the video card like the ATI Radeon 6850 M.  Here are the drivers for the 64-bit version of Windows 8.  Try using these drivers and tell me if this solves the problem.

    Keep an eye on the support page of your product for updates, including drivers for Windows 8.  I hope it's useful.

  • How to value objects on the load

    I read through some of the messages on the progress of Actions with conditional statements, but I couldn't find an answer.

    Very simple what I need: when the user clicks on one of the days of the week tab, I want the content to be placed in the Middle.

    I created a variable called 'day', but how I put "Monday" or "Tuesday" on the load so that when the user clicks the appropriate button I can run a conditional statement: If "day" = Monday then show 'content Monday. Is it possible to assign a variable without user interaction? as when loading a slide.

    I'm sure it's super simple, but I want to do th

    2016-04-10_22-11-29.jpg

    My apologies.  As I said, I wasn't sure I was understanding your intent.

    Looks like you need to have a number of text captions or Smart Forms hidden on the slide where you want the content to appear.  These objects will contain the relevant information for a given day.  But, you set all these objects to occupy the same space on the slide, one above the other, and their Visible in the OFF output value (so that they are initially invisible to the learner) and group together them.  Simply by going in a group makes it easier to HIDE with a unique action line.

    When your user clicks one of the buttons at the bottom which corresponds to a given day, this button comes to perform a Standard action that has two lines of action. The first line must HIDE the Group (so that all the visible objects of clicks on the back button are immediately hidden) and then SHOW the caption or the form chip that is the day the user has clicked.

    Unless you plan to do something else with the variable, there is no need to have a variable has a value just to achieve the interaction that I described above.  However, if you later NEED to know what day the user clicked (maybe to use it in a conditional Action) then you can add an action to the line that assigns the value of the variable.

    Which is closer to what you want?

  • How to test and remove the loader object?

    Hello

    I am trying to load an object swfLoader on the scene and vimeo player (which I do with great success) and then delete them when I click on a button. I can remove it each separately, but when I put them in the same function I get an error. I think I need to test to see if they are on the stage with an if statement before I try to remove them, because I am getting an error NULL when I click the button. The problem is that I don't know how to test for them. I got as far to put the name of the variable in the condition. Can someone help me please?

    In an effort to keep the code as simple as possible, I do not understand the code where variables are declared and the swf loader and loader vimeo are instantiated on the stage. But if I need more for the problem to make sense, please let me know rather than pass on my request for help.

    Thank you.

    closePortfolio_but.addEventListener (MouseEvent.CLICK, onClickClose)

    function onClickClose (e:MouseEvent) {}

    If {(moogaloop)

    moogaloop.parent.removeChild (moogaloop);

         }

    If (swfLoader) {}

    swfLoader.parent.removeChild (swfLoader);

         }

    }

    closePortfolio_but.addEventListener (MouseEvent.CLICK, onClickClose)

    function onClickClose (e:MouseEvent)

    {

    moogaloop.parent.removeChild (moogaloop);

    swfLoader.parent.removeChild (swfLoader);

    }

Maybe you are looking for

  • Hulu questions after Safari 9.1.1. Update

    Since the update of Safari to 9.1.1. -Installed may 25... I had terrible problems with all of the Hulu site.  On virtually EVERY page, Safari will crash out with the "there is a problem with this Web page, so it has been reloaded." - pages let maybe

  • Why your user interface let someone destroy any list of "next" one click - no confirmation?

    It is a really boring design. I thought someone would have this fixed for the latest Apple TV. I could have queued up to 30 songs to the following list, but if my finger slides while keeping the button down all pending the pop-up menu or the remote c

  • Time Capsule: No available backup drive

    I read a bunch of wires and nothing has worked. I have a MB Pro El Capitan 10.11.1, 2011 old version 2 TB TC running. I just moved and now have Fios new router/modem. Formerly Comcast. I plugged TC AC and ethernet to Fios. Got the green light. Open A

  • Satellite A200 - touchpad has stopped working

    I have a Toshiba Satellite A200. Touchpad has stopped working, I can no longer scroll. I tried all the settings, but it did not work. What should do?

  • Satellite L45-S4687 does not start

    My Satellite L45-S4687 has power but will not start.The DVD - RW turns for a while, I get a quick ghost on the screen, the led lights up, but then it stops. May I know whether the hard drive or the failure of the cpu? Ken