Asynchronous flash chart where update select list value changes

Hi devs,

I groped with flash graphics with dynamic when update select list point of changes in value.

First of all, I used the function of Denes Kubicek [http://htmldb.oracle.com/pls/otn/f?p=31517:229 | http://htmldb.oracle.com/pls/otn/f?p=31517:229:3039869356317498] update the value of the session from my dynamic selection list after change:
<script language="JavaScript" type="text/javascript">

function fnc_setItem (pItem)
{ 
  var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0);
  get.add(pItem,$x(pItem).value)
  gReturn = get.get();
  get = null; 
}
</script>
That has worked well. Then has been to change the update interval chart flash and:

Home > Application Builder > application 150 > Page 1 > Flash chart attributes > update >
Asynchronous update = Yes
Update interval (seconds) = 5

My report is automatically updated every 5 seconds. But how can I make it work just with the change in the value of the selection list?

The function is used to refresh the report: apex_RefreshChart (1, '2258227549390282', ' de');

Patrick Wolf was a good example for her: [http://www.inside-oracle-apex.com/auto-refresh-flash-charts-in-apex-30/ | http://www.inside-oracle-apex.com/auto-refresh-flash-charts-in-apex-30/]

But I couldn't make it work properly.

Thanks in advance


Tobias

Hello Tobias,.

Having defined with function of the Dene session state, you can refresh the table to help:

apex_RefreshChart ($v ('pFlowStepId'), $v('Pxx_REGION_ID').substr (1), navigator.language);

PXX_REGION_ID is the ID of the region of the chart area. You can set that in the bottom of the region to help;

$s ("Pxx_REGION_ID", "#REGION_ID #");

See [example: http://apex.oracle.com/pls/otn/f?p=41715:29]

Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • Change the value of the playlists selection to another selection list value

    Hi friends,

    I have a column select list(Yes/No) in an interactive report that has a default value as No.
    This interactive report realized extraction thousand lines.
    Users will check a batch of records and change the value of the selection to Yes and submit.
    They do the same process with the next Recordset.

    To remedy this, starting by selecting each selection list Yes in report users want a mass update selection list for Yes and no.
    Here's an example of what I meant: https://apex.appshosting.com/pls/apex/f?p=898:1:4477178916616585:

    Anyone can throw some light on this issue?

    Thank you very much.
    Raj.

    Raj:

    Edit and add this javascript in your page

    
    
    
    For the 'Html Attributes' of the 'Mass Update' select list specify
    
      onChange='doStuff(this)'
    
    Varad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
  • By the way Select list value to another page via report link

    Hello

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    1013248 wrote:

    Please update your forum profile with a real handle instead of '1013248 '.

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    Use the exact static text substitution method to reference the value of the element. This requires an end point ('.) ») :

    &SLI.
    
  • Get the display of selection list value

    Hello

    I use Apex 4.1 and I have a selection list in my page. I know that I can access the value of the element selected by: P1_SelectList, but I would like to know how to access the display value for the selected item.

    Thanks in advance,
    DS

    Hello

    I don't know what are your exact needs. I mean why you need display the selected value?

    If you want to access the List select using JS, then the element should be available on the page. If it is already display the value to display for the user.

    That's what I wanted, but I am trying to add this script in page 0, I want it, it is available in all applications except page 1 where the select control is there and the "Execute when loading the page" you mentioned article is not available in page 0. Any idea?

    Create a dynamic action which will trigger the Page load and who will do the following JS code.

    $("div#select-val").html($("#P1_SELECTLIST option:selected").text());
    

    Also create the region HTML DIV on the page 0. And again, the P1_SELECTLIST element must be accessible to all pages, so you can create this article in page 0 as well?

    Kind regards
    Hari

  • The highlight in the selection list values

    I have a list of selection of a code that display additional values. Usually I would only code values where the obsolete_ind = "N" and limits the selection to these codes, but when a record is displayed with a code rendered obsolete once the record was initially created, I MUST allow display additional values. IIF, that I don't have, the first value in the list by default, and it seems that it is the current value, which is not true!
    So, I have 'show extra values', but I would like to avoid the registration of 'saved' by using the now obsolete value. Of course, a validation that will solve, but the user will not know who are the valid codes to select.
    Can specific values highlighted in red or something? If the tag selectlist < option value = "" > id has also been = "", a code for the dynamic action, but I do not see how to add this 'id' to the tag option. "
    Any suggestions?

    Some options that come to mind
    -use apex_item to build your selection list, the parameter cattributes allows you to easily add custom attributes to color some entries
    -Several times in the past, I've seen some old values of code marked with an asterisk, then users are educated to know that they are the older options and validation (browser or submit) it applied.
    -Having a display-only field that shows the current value and a selection list that offers only the current options

    Scott

  • report of initialization does not not account selection list values

    Hello
    I have a problem to understand the way in which apex treats the sequence of events.

    I have a little select lists and checkboxes, which stores the settings for a report) the sql is issued by a plsql stored procedure).
    The items in the lists change according to different users, and values from LOV (with sql). A go button to refresh the report if you change the settings.

    Although where the view, the report seems to be after the selection lists, the first time the report not displayed with the settings selected in the lists (the first elements), but rather the default values... even if they do not exist in the current list.
    When you press the Go button it appears correctly.

    I also tried to put the report with the conditional formatting, with a request for status = expr 1 (setting like name th button expr1 go)... but the report would never display.

    I'm sure there must be a simple explanation... but I can ' t find.

    Thank you very much for your help.

    See you soon,.
    Boris

    Boris,

    The default was just an example, you can use the code you like in the query to make sure by default to the correct setting for the user. The point is that you (or rather business case) dictate how this default view should look like.

    You will need to fill in a few gaps for us here and tell us how each case should be handled (don't forget, we don't know anything about your precise needs other than that tell us;).

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • The selection list value does not change when the page is sent

    Hi all

    I have a selection list that acts as an entry for the report. the page is submitted using a button.
    The button uses the branch option "redirecting to page in the application. I select the same page.

    The problem is when I change other values in the value list always takes the first value

    I want to know if the problem is with the key or select list. What should I do about it?

    Concerning
    REDA

    Renon wrote:

    I tried your suggestion. Now that I ask, is the report is expected to show only when the button request is passed. I read to present the action of page the name of the button acts as a request.
    so now my report status is request = Expression1 and value of expression1 takes GO tell button name.

    The report does not appear but. I checked the session. It has the value of the selection list and the page is submitted as but the report is not displayed.

    ASK is disabled before the exposure treatment page unless it is set in a branch or a URL, this is why it has no value when they are referenced in your State in the region.

    Set the attribute request in your branch for & request to make available at the course to see the page the current value of the demand for treatment.

  • setting the selection list values in the tabular presentation

    Hi all

    I have a form of a table with a column that contains lists of selection I need to set the values for all rows in the form of tables.
    I'm trying to set the values on the click of a button, but apparently not enough to work.

    Is there another way to do it, perhaps with javascript?

    Any help would be appreciated.

    Kind regards
    Cleo

    Cleo,

    He's working now, sorry I missed the fundamental thing that you try on a selection list and not entry, as says my above entry script...

    Just use this code

    $('select[name="f10"]').val('Y');
    
    //OR this if you need to loop through them
    
    function approveAll(){
       jQuery.each($('select[name="f10"]'), function(i) {
        this.value ='Y';
      });
    }
    

    It was me!

    Published by: VC on July 13, 2012 15:57

  • Select list value is changed to the previous value.

    I have a selection list. When the user leaves the page, I reset the selection list to a default via javascript. However, when the user returns to the page, the selection list is in some sort to reset the previous value, the user has selected.

    What is the cause, or how I can fix this problem?

    Hello

    You could have what ever in the HTML by JavaScript document.

    Check the status of the database session. In the developer toolbar, there is option for that.
    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/concept.htm#sthref108

    Also check that you have all the calculations and what is your source of point.

    Kind regards
    Jari

  • The selection list value is not in the table

    Hi people

    I have a DML page; I put an a field at the top of the HTML to a selection list, of a dynamic LOV.

    I put it to display the name and return the value of the corresponding id.

    However, nothing gets entered or changed in the table (or on the pages in the Apex, in the table that I have reviewed in SQL * workshop)

    For the parameters of the ARTICLE: what should be the specifications from the Source?

    Should I pay something in the Page processing: Panel process?

    Thank you-
    Marion

    Hello

    Try to write the name of the column to uppercase.
    I think that wrap apex double quote when inserting

    BR, Jari

  • How to use the multiple selection list values in sql query

    Hi all
    In the search form, I have a multiselect llist tell (P3_STATUS) and I want to have a query using this element and fetch documents
    How to do a sql query based on the selection of the value of this element.
    SELECT "W"."START_DT" "Start Date",
           "W"."CAMPAIGN_CODE" "Campaign Name",  
           "W"."MKT_CHANNEL" "Channel",
           "W"."MKT_SUB_CHANNEL" "Sub Channel", 
           "W"."PROMO_CODE" "Promo Code",
           "W"."TRACKING_CODE" "Tracking Code",
           "W"."TFN" "TFN",
           "W"."STATUS" "Status",
           "W"."CAMPAIGN_CODE" "Edit"
           FROM 
             "WC_MKT_CAMPAIGN_DS" "W"
      
           WHERE 
         (MKT_CHANNEL = decode(:P1_CHANNEL,'%null%',MKT_CHANNEL,NULL,MKT_CHANNEL,:P1_CHANNEL))
       AND
    (MKT_SUB_CHANNEL= decode(:P1_SUB_CHANNEL,'%null%',MKT_SUB_CHANNEL,NULL,MKT_SUB_CHANNEL,:P1_SUB_CHANNEL))
    AND *STATUS = decode(.................*
    Please could someone help me on this?

    Thanks in advance
    Robert L

    Try to change your selection of status to

    AND INSTR(':'||:P3_STATUS||':',':'||STATUS||':') > 0
    
  • Referring to the display of a selection list value?

    I have a table shape with a non editable column (display text, saved state).
    When I 'add the line' I want this column to be empty, but instead have a defined value.

    I put this to help

    default type: point (the name of the application or page element)
    default value: XXXX

    the default value is the problem. This value is (or should be) decided by a selectlist. The problem is that the value I want to put it is the value display of the selectlist, not the return value.

    If I just put the name of the selectlist P66_SELECTLIST as value by default, get the return value...

    Is there a way to access the the selectlist displayvalue instead?

    Thank you

    Andreas

    Well, create a more hidden element on your page that will display value and use this element hidden as Source as a table.

    For the hidden item, you can set the default value as a PL/SQL function

    declare
    v_dummy varchar2(100);
    begin
    select display_value into v_dummy from tbl_name where return_value = :P66_SELECTLIST;
    return v_dummy;
    end;
    

    See you soon
    Hari

    Published by: Hari_639 on October 22, 2009 13:22

  • ADF: How to hide a table with drop-down list value change listener

    Hello

    IM using Jdev 11 G.
    I have a 2 tables (table1 and table2) and a list of choices. (select a choice with id soc1).
    on the evolution of the values pickist, I have to run query for table1 and table2 to hide.
    For this, I gave the partial relaxation of the tables to soc1 (id select only one option) but its not working.
    How to solve this problem?

    Clues?

    Thank you.

    After you have set the wrong table 2 visible

    this.getTable2 () .setVisible (false);

    You programatically raise the PPR on the table 2?

    Something like:

    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getTable2());
    

    Arun-

  • Object that can be bound but not updated when the value changes

    I have an object that is declared as [Bindable], which is updated in a component that is also declared as [Bindable] However, when the value is changed the user interface shows the change but the linked object never gets updated.

    Are there cases where related objects do not updated?

    Yes, as I said, pass the name of the property and the value in the change manager.

    Support rating allows you to set the value, not a switch statement. Some examples of code.

    Tracy

  • Refreshing a report on the change in value of the selection list

    -Very well, this should be very easy, but I can't seem to do things.

    I have 2 items on a page: a list of selection and a report.

    The report contains a WHERE clause that uses the value of the selection list.

    So when I change the value of the selection list, the report needs to be recharged.

    I don't want to use a 'Redirect and set' when I change the selection list, because I don't think it's very pretty.

    So I created a dynamic action that updates the State when the selection list is changed.

    Now for the problem: the report get updated, but the new value of the selection list is not used!

    How can I make select the value of the item to be stored in session state?

    I can't find this option anywhere in the parameters of the dynamic action.

    Thank you.

    popovitsj wrote:

    How can I make select the value of the item to be stored in session state?

    I can't find this option anywhere in the parameters of the dynamic action.

    It is in the region of report definition: Page to submit items in the Source section.

Maybe you are looking for

  • Equium A300D-13 x not power

    Hi all First post here need big help style. I got the laptop a little more a year now he got year last for Christmas, and all of a sudden, he decided that he did not want to power far more. So, Ive tried to take out the battery and put the cable in a

  • Portege 3500 - upgrade memory

    Necessary upgrade memory for a p3500. 'Expert' advised two sticks of 512 MB PC133, but on opening the rear of the location that a laptop computer and on the insertion of the new RAM it gives an error code beep. Is there than a single slot? and if so

  • Word 2010 to do as my default!

    I have Office 2010. Somehow, over the weekend Wordpad became mydefault program, instead of Word. I tried many things but could not find a way to make Word my default document program. I'm sure it's easy, but...

  • Manually uninstalling the program driver struggling for Photosmart C6280

    I had problems that motivated me to uninstall and reinstall my driver. Unfortunately, the uninstall program has been damaged and did nothing. I tried to reinstall it on top of the current program but the Installer did not provide this option when he

  • If the variable exists... vs, null vs. undefined object variable

    The first part of this script seems to work fine, it iterates through each document and if the name of the document matches a particular regex pattern, it gives a specific variable to be used later in the scriptOn line 37 of the script when I try to