Running on load two fetch processes on the same page

I have two separate regions on one page build on two tables which have a one to one relationship. I want to to query both regions at the same time when the page loads using the automatic fetch process. If I try to run both I get "NO DATA FOUND" error. If I run each one separately (by setting a never condition on the other process) then each region returns data without problems. Is this a limitation of APEX that you can only have one on-load fetch process per page?
Paul P

Hello Paul,
>> Is this a limitation of APEX that you can only have one on-load fetch process per page?
Ultimately, yes.
The ‘no data found’ error you see is not related to your data table but to an internal APEX package array that the ARF process uses. As you are using more than one ARF process on the same page, they both use the same database session, and that means that the packaged array is not clear between calls, and in certain situations that can lead to the error message you see. In any case, if an error message is not display, the populated items will only be from the last call to the ARF process.
As I see it, you have two options. One is to populate the form items manually. The second is to create a view on the two relevant tables, and build your form on the view (with the appropriate Instead Of triggers, if necessary).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

Similar Messages

  • How to load multiple HTML5 canvas on the same page (the proper method)

    Hi,
    I've been struggling to load multiple canvas animations on the same page. At the beggining I thought that exporting the movies with different namespaces and reloading the libraries in a sequential flow might work, but it doesn't. It always loads just the last animation loaded. More info here: Coding challenge: what am I doing wrong?
    Here is a sample of what I'm doing:
    1st: Publish two flash movies with custom namespaces for "lib" set in the "publish settings": "libFirst" and "libSecond".
    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and the other one called "secondCanvas"
    3rd: Edit the javascript like this:
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
            </script>
    <body onload="initFirstAnimation(); initSecondAnimation();">
    Could someone please reply with the best practice on how to do this? If possible, without the need to reload all the libraries...
    If I only need to show one flash movie at a time, would it be more efficient to cut & paste the canvas tag using jQuery in the DOM and reloading a different lib on it?
    Many thanks!
    #flash #reborn

    I was able to fix it. At the end, it was easier than I thought. Just have to publish using a different "lib" namespace for each movie, load all the scripts at the end of the <body> and then add the following to the onload or ready events:
    $(document).ready(function () {
            var canvas, stage, exportRoot;
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • Can i load two different itunes on the same computer for two different ipods?

    Can I load two different itunes on my computer for two different ipods?  Or how can I get it so that when I click on itunes, only my songs come up and not my wifes?  And the same for her.

    Yes.  The simplest way is to have separate Windows accounts for each user.  When either user runs iTunes, he/she will have a separate library with distinct content, playlists, etc., and can sync individual iDevices as needed.

  • Is it possible to realize two different processes in the same time with TDMS?

    Hello all,
    we have one TDMS but a lot of workstreams. Is it possible that 2 different workstreams in the same time realize anonymization in TDMS?
    Thanks in advance!!!
    Ilkin Mammadov

    Hello Anita,
    I am sorry.I mean we have a lot of projects (for example Procurement, Finance, Logistics, etc) and each of them wants to anonymize. But it is existing just one TDMS. Can these projects start with anonymization in the same time or they have to wait till one of projects finished anonymization?
    Thanks in advance!
    Best regards,
    Ilkin

  • Two Interactive Report in the same page

    I created two interactive report following the suggestion this link
    http://roelhartman.blogspot.com/2009/03/two-interactive-reports-on-one-page.html
    using an IFRAME
    <IFRAME src="f?p=&APP_ID.:24:&SESSION."
    style="width:600px;height:600px"
    name="details"
    scrolling="no" marginwidth="0" marginheight="0"
    frameborder="0" vspace="0" hspace="0" />
    I am facing two problems.
    a. I could see the logo attached to the application in the IFRAME window
    b. I could not see the lower bound of the region where the IFRAME is assigned to.
    Any suggestion would be of great help.
    Thanks in advance
    Deb

    Hi,
    For your first issue.
    Use page template to iFrame page that do not contain substitution string LOGO.
    E.g. popup page template might not have that.
    Or create your own page template with minimal set of substitution strings and regions and use that for iFrame page
    Regards,
    Jari

  • Two tabular form on the same page

    Hi,
    There is a tutorial or a standard way to build two tabular form on same page?
    thanks in advance
    lukx

    Hi,
    You can see this example also.
    http://htmldb.oracle.com/pls/otn/f?p=31517:163:1033737280330848:::RP,::
    Thanks
    Tauceef

  • How can I use two tabular forms on the same page.

    I have create one tabular form in page and try to create second tabular form so
    it gives below error.
    1 error has occurred Updatable SQL Query already exists on page XXXXX.
    You can only add one updatable SQL query per page. Select a different page.

    I can get this to work but the page is submitted, either when I use a button with URL link or from a link on a display only text field.
    Is this how it is supposed to work? I thought it was supposed to work just on the browser so it is fast.
    IGNORE THIS!
    =============================
    I resolved it easily by modifying the URL from f?p=blah blah to #LINK_NAME
    Message was edited by:
    user530800

  • To create an application with a master and two details in the same page

    How I make to create an application contend a form master with two forms details in the same page?
    Tomaz
    Message was edited by:
    user517841

    Hi,
    You do not need to mount a screen. Just add a new region with several text fields inside. You should fetch a row by a process and populate the set when you load the page or click on a button. Insert, update, and delete should be done by processes. You have to have Next and Previous buttons to brows trough all rows of the detail table.
    The most important thing here is what the connections between tables in your database are.
    If they are the "One to many, One to one" you can use the approach described above.
    If they are "One to many, One to many" will be better to use buttons or links to lunch details' tables in separate forms.
    If the second and third tables are connected only to the master table you can use two buttons at the right of every master row. Clicking on the buttons will bring separate form for each detail table.
    If the third table is just a luckup table to the second one you can use "Select List" field into tabular form of the second table in one Master-Detail form.
    Konstantin
    [email protected]

  • Two Flex app on the same web page + BlazeDS

    Hi,
    On our welcome page, we have two small apps that display advertisement; they are both identical and use BlazeDS. When the welcome pas shows, I always have one of the app that receives this fault :
    [RPC Fault faultString="Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly." faultCode="Server.Processing.DuplicateSessionDetected" faultDetail="null"]
    I feel the problem comes from the fact that two apps from the same page access the same service at the same time. Am I wrong?

    Hi. I believe you are right. Using a HTTP sniffer such as Charles to look at the HTTP headers would tell us exactly what is happening but I think we can assume that you are in the ballpark.
    If the server gets a request with no session cookie header, I think it will create a new session and then send a Set-Cookie header on the response with the new session id. It is likely that if both your apps are making their initial requests to the server at roughly the same time that neither of the requests has a session cookie header. In that case the server is probably creating two sessions, one for each request and that is likely causing problems.
    While I haven't tested this particular scenario, I have been doing some testing around session cookie handling in BlazeDS recently. I would see if you can workaround this problem by already having a HTTP session established with the server before either of your apps runs. One way to do this would be by having a jsp page redirect to your welcome page. The call to the jsp page would cause a session to get created on the server. The server would return a Set-Cookie header with the new session id. The browser would then request the welcome page sending a session cookie header on the request. Your apps would load. Each app would make its initial request to the server only this time the requests would contain a session cookie header for the same valid HTTP session. . . and you would avoid getting duplicate session detected errors. . . at least that's I hope would happen.
    If I have some free time I will try running through this scenario (having two small apps on the same page) and report back.
    Hope that helps.
    -Alex

  • Two JavaScript widgets won't work on the same page [was: Not the first time]

    I ran into this a few months back and gave up on it. I have a page that has several javascripts running on it. They are:
    vnu_datestamp.js
    a flashing neon text script (inline)
    DW's own rollover image (MM_swapimgRestore) script (also inline)
    jquery1.2.2_pack.js
    overlapviewer.js
    lightbox.js (which also relies on scriptaculous.js, prototype.js and an "effects.js" to run)
    I know that's a "garbage pail" of javascripts to all be on the same page. Frankly I'm surprised that they don't all give me problems. But there is one.
    The lightbox and overlap viewer just will not play together.
    Depending on which one I list first in the header, the other one quits. Whichever one I lose goes from the image display effect to acting like a straight hyperlink to the designated image.
    It isn't a huge deal, but I'd like to be able to have the two of these on the same page and working. I have them running alone on other pages and can link to them, but it sort of defeats the purpose of making a web page to show the variety of things I can do for someone who whats a website built, if one or more of the things won't work.
    [Subject line edited by moderator for clarity]

    Please don't use cryptic subject lines for posts. The value of a forum is that other people might be searching for the answer to a similar problem. Meaningless subject lines prevent others from finding useful replies. They also discourage others who might be able to provide help more quickly if they knew what you're asking about.
    I've had a quick look at your page. Quite honestly, I find all the flashing rather nauseating, but if that's the way you want to design a page, it's your choice...
    The conflict is caused by the fact that overlapview.js seems to rely on jQuery, while lightbox.js relies on Prototype and script.aculo.us. Both jQuery and Prototype use $() as a shortcut, so you cannot mix the two libraries on the same page without taking special measures to prevent the conflict. In jQuery, you do this by loading all the jQuery, Prototype, and script.aculo.us libraries first, and then using the following script:
    jQuery.noConflict();
    Then load overlapview.js, replacing all instances of $ with jQuery. So, for example, the following line:
    $(t).fadeTo('normal', overlapviewer.endopacity, function(){
    needs to be rewritten like this:
    jQuery(t).fadeTo('normal', overlapviewer.endopacity, function(){

  • Multiple (updatable) details in the same page.

    Hello,
    I tried to put two updatable details in the same page and got the error
    "Updatable SQL Query already exists on page 11. You can only add one updatable SQL query per page. Select a different page"
    So having more than one updatable detail is not allowed in apex ?
    I have a master table with three details. Should I create one page for each one of them ?
    Thanks in advance
    Bye
    Nicola

    What you want to use are called collections. Here is a simple collection example:
    The process goes in 4 steps: gather the data, display the data, update based on user input, then write the changes. Each step requires it's own piece of code, but you can extend this out as far as you want. I have a complex form that has no less than a master table and 4 children I write to based on user input, so this can get as complex as you need. Let me know if anything doesn't make sense.
    First, create the basic dataset you are going to work with. This usually includes existing data + empty rows for input. Create a Procedure that fires BEFORE HEADER or AFTER HEADER but definitely BEFORE the first region.
    DECLARE
      v_id     NUMBER;
      var1     NUMBER;
      var2     NUMBER;
      var3     VARCHAR2(10);
      var4     VARCHAR2(8);
      cursor c_prepop is
      select KEY, col1, col2, col3, to_char(col4,'MMDDYYYY')
        from table1
        where ...;
      i         NUMBER;
      cntr      NUMBER := 5;  --sets the number of blank rows
    BEGIN
      OPEN c_prepop;
        LOOP
          FETCH c_prepop into v_id, var1, var2, var3, var4;
          EXIT WHEN c_prepop%NOTFOUND;
            APEX_COLLECTION.ADD_MEMBER(
            p_collection_name => 'MY_COLLECTION',
            p_c001 => v_id,  --Primary Key
            p_c002 => var1, --Number placeholder
            p_c003 => var2, --Number placeholder
            p_c004 => var3, --text placeholder
            p_c005 => var4 --Date placeholder
        END LOOP;
      CLOSE c_prepop;
      for i in 1..cntr loop
        APEX_COLLECTION.ADD_MEMBER(
            p_collection_name => 'MY_COLLECTION',
            p_c001 => 0, --designates this as a new record
            p_c002 => 0, --Number placeholder
            p_c003 => 0, --Number placeholder
            p_c004 => NULL, --text placeholder
            p_c005 => to_char(SYSDATE,'MMDDYYYY') --Date placeholder
      end loop;
    END;Now I have a collection populated with rows I can use. In this example I have 2 NUMBERS, a TEXT value, and a DATE value stored as text. Collections can't store DATE datatypes, so you have to cast it to text and play with it that way. The reason is because the user is going to see and manipulate text - not a DATE datatype. If you are using this as part of a master/detail form, make sure that your SQL to grab the detail is limited to just the related data.
    Now build the form/report region so your users can see/manipulate the data. Here is a sample query:
    SELECT rownum, apex_item.hidden(1, c001),  --Key ID
         apex_item.text(2, c002, 8, 8) VALUE1,
         apex_item.text(3, c003, 3, 3) VALUE2,
         apex_item.text(4, c004, 8, 8) VALUE3,
         apex_item.date_popup(5, null,c005,'MMDDYYYY',10,10) MY_DATE
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'MY_COLLECTION'This will be a report just like an SQL report - you're just pulling the data from the collection. You can still apply the nice formatting, naming, sorting, etc. of a standard report. In the report the user will have 3 "text" values and one Date with Date Picker. You can change the format, just make sure to change it in all four procedures.
    What is critical to note here are the numbers that come right before the column names. These numbers become identifiers in the array used to capture the data. What APEX does is creates an array of up to 50 items it designates as F01-F50. The F is static, but the number following it corresponds to the number in your report declaration above, ie, F01 will contain the primary key value, F02 will contain the first numeric value, etc. While not strictly necessary, it is good practice to assign these values so you don't have to guess.
    One more note: I try to align the c00x values from the columns in the collection with the F0X values in the array to keep myself straight, but they are separate values that do NOT have to match. If you have an application you think might get expanded on, you can leave gaps wherever you want. Keep in mind, however, that you only have 50 array columns to use for data input. That's the limit of the F0X array even though a collection may have up to 1000 values.
    Now you need a way to capture user input. I like to create this as a BEFORE COMPUTATIONS/VALIDATIONS procedure that way the user can see what they changed (even if it is wrong). Use the Validations to catch mistakes.
    declare
      j pls_integer := 0;
    begin
    for j1 in (
      select seq_id from apex_collections
      where collection_name = 'MY_COLLECTION'
      order by seq_id) loop
      j := j+1;
      --VAL1 (number)
      apex_collection.update_member_attribute (p_collection_name=> 'MY_COLLECTION',
          p_seq=> j1.seq_id,p_attr_number =>2,p_attr_value=>wwv_flow.g_f02(j));
      --VAL2 (number)
      apex_collection.update_member_attribute (p_collection_name=> 'MY_COLLECTION',
          p_seq=> j1.seq_id,p_attr_number =>3,p_attr_value=>wwv_flow.g_f03(j));
      --VAL3 (text)
      apex_collection.update_member_attribute (p_collection_name=> 'MY_COLLECTION',
          p_seq=> j1.seq_id,p_attr_number =>4,p_attr_value=>wwv_flow.g_f04(j));
      --VAL4 (Date)
      apex_collection.update_member_attribute (p_collection_name=> 'MY_COLLECTION',
          p_seq=> j1.seq_id,p_attr_number =>5,p_attr_value=>wwv_flow.g_f05(j));
    end loop;
    end;Clear as mud? Walk through it slowly. The syntax tells APEX which Collection (p_collection_name), then which row (p_seq), then which column/attribute (p_attr_number) to update with which value (wwv_flow.g_f0X(j)). The attribute number is the column number from the collection without the "c" in front (ie c004 in the collection = attribute 4).
    The last one is your procedure to write the changes to the Database. This one should be a procedure that fires AFTER COMPUTATIONS AND VALIDATIONS. It uses that hidden KEY value to determine whether the row exists and needs to be updated, or new and needs to be inserted.
    declare
    begin
      --Get records from Collection
      for y in (select TO_NUMBER(c001) x_key, TO_NUMBER(c002) x_1,
                 TO_NUMBER(c003) x_2,
                 c004 x_3,
                 TO_DATE(c005,'MMDDYYYY') x_dt
               FROM APEX_COLLECTIONS
               WHERE COLLECTION_NAME = 'MY_COLLECTION') loop
        if y.x_key = 0 then  --New record
            insert into MY_TABLE (KEY_ID, COL1,
                COL2, COL3, COL4, COL5)
              values (SEQ_MY_TABLE.nextval, y.x_1,
                  y.x_2, y.x_3, y.x_4, y.x_dt);
        elsif y.x_key > 0 then  --Existing record
            update MY_TABLE set COL1=y.x_1, COL2=y.x_2,
                 COL3=y.x_3, COL4=y.x_4, COL5=y.x_dt
             where KEY_ID = y.x_key;
        else
          --THROW ERROR CONDITION
        end if;
      end loop;
    end;Now I usually include something to distinguish the empty new rows from the full new rows, but for simplicity I'm not including it here.
    Anyway, this works very well and allows me complete control over what I display on the screen and where all the data goes. I suggest using the APEX forms where you can, but for complex situations, this works nicely. Let me know if you need further clarifications.

  • Can I print 2 different reports consecutively on the same page?

    I need to print two different reports on the same page. E.g.
    Page 1.
    Report 1
    Report 2
    --------------- page break ---------------
    Page 2
    Report 1
    Report 2
    --------------- page break ---------------
    Is there any way to ensure that the physical page in printer does not eject when Reports finishes printing Report # 1? Also Report # 2 could span to multiple pages, but Report # 1 will always be a fixed form report.
    Thanks for your help
    Aparna

    Hi Srini,
    I suppose I could do as you suggested, but then that would be a work around, not a solution... Actually the Report # 2 that I have can be called independently and hence if I do as you suggest, I would have to make the same report twice. Hence any other ideas?
    Thanks,
    Aparna
    null

  • Adding more than one custom binding to the same page

    Hi guys,
    JHeadstart 11.1.1.3.35
    How can I add two custom bindings to the same page ? I have 2 graphs on the same page (in tabbed regions).
    My FORM_GRAPH template for the first one is
    #macro (CUSTOM_BINDING1)
        <graph IterBinding="ActiveVisitsIterator" id="SubjectsActiveVisitsGraph" xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_STACK">
          <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Active"/>
                <item value="Inactive"/>
              </data>
            </series>
            <groups>
              <item value="VisitNo"/>
            </groups>
          </graphDataMap>
        </graph>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING1()")}
    <dvt:barGraph id="barGraph1" value="#{bindings.SubjectsActiveVisitsGraph.graphModel}" subType="BAR_VERT_STACK"
                                        threeDEffect="true" animationOnDisplay="AUTO" seriesRolloverBehavior="RB_HIGHLIGHT">
                            <dvt:background>
                              <dvt:specialEffects/>
                            </dvt:background>
                            <dvt:graphPlotArea/>
                            <dvt:seriesSet>
                              <dvt:series/>
                            </dvt:seriesSet>
                            <dvt:o1Axis/>
                            <dvt:y1Axis/>
                            <dvt:legendArea automaticPlacement="AP_NEVER"/>
                            <dvt:graphTitle text="Subject Status"/>
                            <dvt:o1Title text="Visit"/>
                            <dvt:y1Title text="Number of Subjects"/>
                          </dvt:barGraph>and for my second
    #macro (CUSTOM_BINDING2)
        <graph IterBinding="SiteActiveVistsIterator" id="SitesActiveVistsGraph" xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_STACK">
          <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Active"/>
                <item value="Inactive"/>
              </data>
            </series>
            <groups>
              <item value="VisitNo"/>
            </groups>
          </graphDataMap>
        </graph>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING2()")}
    <dvt:barGraph id="barGraph2" value="#{bindings.SitesActiveVistsGraph.graphModel}" subType="BAR_VERT_STACK"
                                                        threeDEffect="true" animationOnDisplay="AUTO" seriesRolloverBehavior="RB_HIGHLIGHT">
                                            <dvt:background>
                                              <dvt:specialEffects/>
                                            </dvt:background>
                                            <dvt:graphPlotArea/>
                                            <dvt:seriesSet>
                                              <dvt:series/>
                                            </dvt:seriesSet>
                                            <dvt:o1Axis/>
                                            <dvt:y1Axis/>
                                            <dvt:legendArea automaticPlacement="AP_NEVER"/>
                                            <dvt:graphTitle text="Site Summary"/>
                                            <dvt:o1Title text="Visit"/>
                                            <dvt:y1Title text="Number of Subjects"/>
                                          </dvt:barGraph>but only the first binding is being added to the page def ? I tried putting both graph bindings in the first custom binding but on generation I get an error "Error while parsing XML for page definition element JhsUsers: Expected 'EOF'." (although the code in the binding macro is exactly the same as in the pagedef when added manually ?
    How can I add both of these graph bindings ?
    Cheers,
    Brent

    Brent,
    In the statement
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING2()")}
    the second argument should be the id of the binding you want to add. You use twice "JhsUsers" as id for the binding.
    This id should be the same id as used in your XML page snippet, so for the first binding it should be "SubjectsActiveVisitsGraph" and for the second binding it should be "SitesActiveVistsGraph"
    Steven Davelaar,
    Jheadstart Team.

  • I want to run two or more firefox processes under the same user at the same time

    My setup: A laptop running Fedora 20 and Gnome 3. I would really like to have a Firefox window on the laptop screen, and at the same time another one on the VNC client I am running on another computer. Both under the same user account.
    Closing one of the firefox windows is a very poor solution, as I would lose all the tabs I opened, in addition to the hassle.
    Is that possible at all? If yes, how? And if not, can you suggest workarounds?

    You can use the -no-remote command line switch to open another Firefox instance with its own profile and run different Firefox instances simultaneously, but do not use -no-remote to start the default browser with the default profile.
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile
    * https://developer.mozilla.org/Mozilla/Multiple_Firefox_Profiles
    See also Remote Control:
    *https://developer.mozilla.org/Command_Line_Options

Maybe you are looking for

  • MacBook won't boot from disc

    On Sunday my ten-month-old MacBook froze up and made some nasty clicking noises. I forced a restart, but now it just boots to a white screen and, after a good five minutes or more, eventually displays the blinking, question-mark folder. I'm quite cer

  • Configuration not working 'intuitively'...

    I have a 720p TV ( 51 inch Samsung plasma) My 3rd generation AppleTV (purchased yesterday!) streams brilliantly full HD (1080p) vids directly from YouTube. But when I turn on desktop mirroring ( mac mini, mid-2011, now updated to Mtn Lion) - and play

  • Fully loaded and rendered external SWF printing problem.

    I have an application that loads external SWF files that I have not built and do not have the codebase for. I need to know when these SWFs are fully loaded and have rendered themselves on the screen. Even gone to the point of giving them 80 enter fra

  • Adding 2 files together.

    i`m trying to add an intro to a video but no matter what i do and what i search on youtube/google, nothing comes up.what i want to hapen is for my intro to fade away into the video so i can export it and upload it to youtube,but i can`t seem to get t

  • Math.atan2 Code Explanation Help

    Hello guys This is a piece of code from AS3 Making Things Move I tried to understand how this code works, but failed Please explain this code Thanks in advance