tool in interactive reports not made custom jQuery overlay

As the subject says, I had a problem in jQuery on an interactive report. He works on a pages unpaginated, like forms, as well as in interactive reports, but each time the data is paged, after that you go to the next page, jQuery does not work.


Here's the scenario:

I have an interactive reports page that shows the files in my table (all are images).

SELECT
("< img src =" #OWNER #.) DISPLAY_IMAGE_PROC? image_id ='
|| f.image_id
|| "" width = "64" height = '48' rel = "#img" | " f.image_ID | ("" / > ") AS IMAGE
FROM TABLE_NAME


The attribute rel of the image is one I use to get the jQuery to work.
The src of the image is a procedure to get the path of the image. (Based in the Dene Demo Application)


On the interactive reports Page, it displays the image correctly.
When you click the Image, it will display an image overlay with a size of 640 x 480.
But when you go to the next page, the function will not work and there is no data errors (javascript / error oracle / any other).

If you do not know how to implement a tool simple overlay in jQuery go here: http://jquerytools.org/demos/overlay/index.html

everyone the experience of something like that?

-Philip

Published by: 942717 on June 25, 2012 14:44

You must activate the overlay on after refreshing the report

Create a dynamic action

Event: after refresh

Selection type: region > and select your IR region

Action: run the JavaScript Code

Code: add your code to overlay something like below

$("img[rel]").overlay();

Tags: Database

Similar Questions

  • Data of the interactive report not displaying on the edit form.

    I have an interactive report that contains 3 rows. When I click the button change beside one of these lines, the edit form displays the data in this row.
    But when I click the buttons edit beside the other 2 rows of report, I receive an error message that indicates: "ORA-01403: no data found." Error line could not.

    I don't see why this is happening. The pharmacokinetics of the table involved is 'Date of application', so 'Column link' report is sent the value "Request Date" to the P54_Request_Date element in the page of the form.
    No idea why this would work properly for one of the lines report but not for the other 2?
    Obviously, each of the lines report must have a value for the PK, then why the form would not be able to find the same line that displays the report? Is this a problem with the process of "line of" form?
    Thank you.

    Hello:

    I'd know it before. The date format default for your application, as shown in the following debug output is DD-MON-RR
    >
    0.35:... "NLS: decimal separator Set =". »
    0.35:... NLS: Set NLS Group separator = ",".
    0.35:... NLS: Date Format Set = "DD-MON-RR.
    >

    So, it means that the part of time to a date column is never taken into account when matching a date field. You can change the default date of the application format (shared components-> change the attributes of the globalization) and the value is in the format that you specified for the column in the report (DD-MON-yyyy hh24miss). It will then do the ARF in the process of work correctly without the need of the value of the page element that contains the column of the massage table. However, the change may affect other pages in your application that may depend on the date is in the format "DD-MON-rr.
    You can try this workaround.
    Remove the header before process you added for re - format the value PK-item page
    Define a process lower than the RFA process before header with a sequence
    Set after a bidding process with a sequence that is lower than the process of automatic line (DML)
    Use the code below for each new process

    execute immediate 'alter session set nls_date_format=''DD-MON-YYYY HHMISS''';
    

    CITY

    Published by: city has 16 Sep, 2009 17:18
    Correction of errors in the date formats

  • Interactive report - strange not all columns are showing?

    Hello

    Something weird is happening with my interactive report, not all columns are displayed, and I have no idea why this is happening?

    In my column attributes, they are set to display as text, but only some of the columns are presented

    Another weird issue is the search bar is also not appear, and it is set to show?

    Any ideas on how to solve this problem, in particular the first issue with columns

    Thank you very much

    If you changed your IR source and added columns, then you must add columns in the menu actions IR indeed. Of course, the columns have to 'See' active in their attributes.
    If you don't see the search bar, check the IR options. Ditto for the menu actions. If both are true, make sure there is no dynamic action masking the region holding the IR tools.

  • Mix of traditional and interactive reports fails the process of RESETTING of PAGINATION.

    I have a tab page where I got 3 different reports REPORT_A (classic), REPORT_B (interactive) and REPORT_C (CLASSIC) in alphabetical order. I have a page to reset pagination process that will always draw (without condition) when you visit the page with the tab.


    Reset pagination process that exists in the front scene of the header is set to fire but not to reset the interactive report. It affects the subsequent classic report REPORT_C as well. The REPORT_A would be reset paging very well since it exists before the interactive report. Is this a bug in apex?

    I created an application of demonstration of test with specific steps to reproduce the problem. The steps are on the demo site itself.

    http://Apex.Oracle.com/pls/Apex/f?p=56638
    SUP: testuser
    P: password

    Apex Version: 4.2.4.00.08

    In my real application I wish a dropdownlist control on the page based on which I would like to filter the data. The dropdownlist control will have a corresponding branch of after-submit who will absolutely perfect pagination to reset & RIR. But when we visit Web site by tab the above problem would break the page.

    I tried the solutions like gReport.search ('SEARCH') but that will only set the interactive report, not the classic REPORT_C. It's just a hack anyway.

    Any ideas. ?

    Hello

    Create before that the process header on page 12 that calls APEX_UTIL. IR_RESET

    Kind regards
    Jari

  • It is possible to sort an interactive report with a default column?

    Hello

    I have a great request accompanied by an interactive report.
    select "ID", 
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE" 
    order by DATE_FIN desc
    Unfortunately, the interactive report not display using the order in the SLQ query.
    I tried to select the 'out' of each of the other columns in the attributes column Section, but without any improvement. If I remove the declaration of the order in the SQL query, nothing changes in the order.

    You have an idea on how to display the rows in the order of the sql query?

    Thank you for your knid answers!

    Geraldine

    Christian,

    This can be a little tricky at first. Try this:
    1 remove the order by clause of the query.
    2. close the application, not the generator, just the application.
    3 reconnect and try to use the interactive report options to sort the information.

    It work? If so:

    4. get the order of the way you want as the default. Note: you get more sort options if you use the Action Menu (milling wheel) and a sort by selecting more simply by clicking on the column headers.
    5. save the report by selecting the save the report option in the Action Menu. If you see a drop down, save the report 'by default'.
    6. close the app again and come back.

    It work?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • Refresh does not occur in the interactive report

    Hello

    There is a custom in our society theme. Man, I have found is when I type something in interactive report and click go. Page is said to be static is not showing the waiting or loading option when the research is happening. But the research is happening.

    Users have noticed the need to fix this bug please suggest me how to solve this problem.

    Thank you
    Sudhir

    Hello

    Your bar top theme mask loading icon. And for me, it hides the IR also search bar.

    What I quickly check, you can delete under form .navbar-fixed-up, low-fixed-.navbar class

    position: fixed;
    

    Or consult the person who created this theme

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

    Published by: jarola on 9 April 2013 12:10 AM

    Another method is to add the new style

    #apexir_LOADER {z-index: 99999!important;}
    
  • The interactive report update and problem of Plugin JQuery

    Hello


    I have interactive report in my page. So I use the plugin jQuery context menu when user right click on a column he get an option to add, delete, update and another option.
    javascript pseude code for context menu
    $(function(){
         context_menu();
    });
    
    function context_menu(){
    
      $('.Col1').contextMenu();
    }
    Suppose the user selects Delete option. In this case jQuery popup appears and users enter data that are saved in the table by using the application process. After you use gReport.search ('SEARCH'), I refresh the page...

    Now the question - now when I right click on the column of my jQuery context menu does not work...


    Used workaround solution - I've added onmouseover = context_menu () function for the column... link and it works fine...


    Now my question is... whenever the user moves the mouse over the column, it will run function context_menu()... There will be no unwanted problem... or memory leak problem...

    Please advice...


    Thank you
    shijesh

    Hello

    Okay, that's good.
    But if you take this plugin to use to select the option group you also code of loan that trigger events on IR Ajax calls.

    Kind regards
    Jari

  • Reintializing interactive report does not work...

    Hello

    We have made some changes to our interactive reports. When you click on 'reset default... "it does not work, it does not appear automatically the new columns. Consider them manually for each report.
    Do you know why?

    Thanks in advance.

    If you add new columns in an interactive report. You must add them with the function "Select columns" inside your app running in developer mode and save it as default value.

    There is no other way I know not.

    Tobias
    ------------------------------------------
    http://Apex-at-work.blogspot.com

  • Custom UI for interactive reports

    Hello

    Can anyone help me regarding the custom user interface of interactive reports?

    I want to have the color of line replacing in the grid of the interactive report and instead of using existing apex themes I want to have my own custom theme with my choice of colors and settings, can someone tell me in this regard?

    To a certain extent, I tried to achieve in java script code bt tht is nt a value.



    Thank you

    The HTML of the Page header is a great way to try this out. Or a link to a file css on your Web server and modify the css in there.
    If you use Firefox with Firebug you can clearly see the css that is applied to each element.
    You can use jQuery to apply (one) another css-entry to a TR or TD, or other. But the first step is to override the settings. Then, you can change the standard IR into something like this.
    You can also check here or here.

  • Interactive report search bar does not work

    Hi all

    I'm working on a report. I have two areas, one is for the list of selection criteria and other sql query.
    To remove the data forund No.. I added REQUEST = 'GO' for the region of sql.

    When I run the report by selecting all my criteria and click on search, I get the interactive report. But the tool does not work. If I remove the REQUEST = 'GO' it works.

    Can someone help me please.

    Thank you

    Christelle

    Christelle,

    Happy to help you... You can reward the answers by marking them as being useful or correct ;-)

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

  • Query does not work in: interactive report _ APEX

    Hello

    I have two table QB_COLLEGE_DETAILS and QB_STUDENT_DETAILS, in the college details are stored in the QB_COLLEGE_DETAILS table and by studying the details are stored in the QB_STUDENT_DETAILS table. In the primary key table and foreign key in the COLLEGECODE.  Now, I created the interactive report using code below, but does not receive the correct value in the number of student column (see image below).

    SELECT COLLEGENAME, COLLEGECODE, COORDNAME, COORDEMAIL,

    (SELECT count (s.STUDENT_REGISTER_NUMBER) AS STUD_COUNT of QB_COLLEGE_DETAILS c, s QB_STUDENT_DETAILS

    where c.COLLEGECODE = s.COLLEGECODE) "STUDENT_COUNT".

    of QB_COLLEGE_DETAILS;

    Report.JPG

    My requirement is necessary find the number of students at the corresponding College. When I used above mentioned request that total student number appear in all lines.

    could you add your suggestion, I have to do?

    Thank you

    Issac

    ISSAC-Oracle wrote:

    I have two table QB_COLLEGE_DETAILS and QB_STUDENT_DETAILS, in the college details are stored in the QB_COLLEGE_DETAILS table and by studying the details are stored in the QB_STUDENT_DETAILS table. In the primary key table and foreign key in the COLLEGECODE.  Now, I created the interactive report using code below, but does not receive the correct value in the number of student column (see image below).

    SELECT COLLEGENAME, COLLEGECODE, COORDNAME, COORDEMAIL,

    (SELECT count (s.STUDENT_REGISTER_NUMBER) AS STUD_COUNT of QB_COLLEGE_DETAILS c, s QB_STUDENT_DETAILS

    where c.COLLEGECODE = s.COLLEGECODE) "STUDENT_COUNT".

    of QB_COLLEGE_DETAILS;

    My requirement is necessary find the number of students at the corresponding College. When I used above mentioned request that total student number appear in all lines.

    could you add your suggestion, I have to do?

    What you need to do is ask questions properly, providing useful information that allowing the problem can be reproduced, rather than unnecessary screenshots.

    This is the base of SQL. Oracle run internal SQL training courses?

    There is no correlation in your "virtual column" subquery to restrict the number of students for each college. The request must be:

    select
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
      , (select count(s.student_register_number) as stud_count from qb_student_details s where c.collegecode = s.collegecode) "STUDENT_COUNT"
    from
        qb_college_details c
    

    However, unless there are a large number of colleges to which no students registered, it is likely that it will be more efficient to use an outer join:

    select
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
      , count(s.student_register_number) student_count
    from
        qb_college_details c
          left outer join qb_student_details s
            on c.collegecode = s.collegecode
    group by
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
    
  • ORA-20987: APEX - interactive report region does not exist in the application

    ORA-20987: APEX - interactive report region does not exist in the application

    I'm trying to get the query of an international registration (interactive report) on a specific page in my application.

    The code I am using is thesi:

    create or replace function get_report_query (nPage_id number)

    return varchar2

    as

    l_report apex_ir.t_report;

    l_query varchar2 (32767).

    l_list varchar2 (32767).

    number of nRegion_id;

    number of nIR_id;

    OWA.vc_arr nm;

    VL owa.vc_arr;

    BEGIN

    SELECT region_id

    IN nRegion_id

    Of apex_application_page_regions

    WHERE application_name = "E-BRIL.

    AND page_id = nPage_id

    AND source_type = "interactive report";

    nIR_id: =.

    apex_ir.get_last_viewed_report_id (p_page_id = > nPage_id,)

    p_region_id = > nRegion_id);

    NM (1): = "DUMMY_JUST_TO_SET_UP_OWA_UTIL";

    VL (1): = 'WHATEVER ';

    OWA.init_cgi_env (nm.count, nm, vl);

    l_report: = APEX_IR. () GET_REPORT

    p_page_id = > nPage_id,

    p_region_id = > nRegion_id,

    p_report_id = > 0);

    l_query: = l_report.sql_query;

    because me in 1.l_report.binds.count

    loop

    l_list: = l_list | i||'. '|| l_report. Binds (i) .name | » ='|| l_report. Binds (i) .value;

    end loop;

    Return l_query;

    end;

    /

    I want to get the query of the IR on my page 3. And I run;

    get_report_query (3)

    That's what I get:

    ORA-20987: APEX - interactive report region does not exist in application, page 3 and 1278226325207011749 region. -Contact your administrator of the application.

    ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 630

    ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 911

    ORA-06512: at "APEX_040200.WWV_FLOW_WORKSHEET_UTIL", line 33

    ORA-06512: at "APEX_040200.WWV_FLOW_WORKSHEET_UTIL", line 55

    ORA-06512: at "EBR_OWNER. GET_REPORT_QUERY', line 19

    The regio_id seems ok, because when I ask this region_id of apex_application_page_regions, id 1278226325207011749 is returned.

    Page 3 is also correct.

    I tried to follow Denes Kubicek his blog (Denes Kubicek ApEx BLOG: interactive report query is).

    What I'm doing wrong here?

    We use the Apex 4.2.

    Thanks in advance.

    Reg,

    Chris

    1717220 wrote:

    Please update your forum profile with a recognizable username instead of "1717220": Video tutorial how to change username available

    ORA-20987: APEX - interactive report region does not exist in the application

    I'm trying to get the query of an international registration (interactive report) on a specific page in my application.

    The code I am using is thesi:

    create or replace function get_report_query(nPage_id IN number)
    return varchar2
    as
    l_report  apex_ir.t_report;
    l_query  varchar2(32767);
    l_list  varchar2(32767);
    nRegion_id number;
    nIR_id number;
    nm  owa.vc_arr;
    vl  owa.vc_arr;
    BEGIN 
    
        SELECT region_id
        INTO nRegion_id
        FROM apex_application_page_regions
        WHERE application_name = 'E-BRIL'
          AND page_id = nPage_id
          AND source_type = 'Interactive Report';
    
        nIR_id :=
          apex_ir.get_last_viewed_report_id (p_page_id        => nPage_id,
                                            p_region_id      => nRegion_id);
    
        nm(1) := 'DUMMY_JUST_TO_SET_UP_OWA_UTIL';
        vl(1) := 'WHATEVER';
        owa.init_cgi_env( nm.count, nm, vl );
    
        l_report := APEX_IR.GET_REPORT (
                        p_page_id  => nPage_id,
                        p_region_id => nRegion_id,
                        p_report_id => 0); 
    
        l_query := l_report.sql_query;
        for i in 1..l_report.binds.count
        loop
            l_list := l_list||i||'. '||l_report.binds(i).name||'='||l_report.binds(i).value;
        end loop;
    
    return l_query;
    end;
    

    I want to get the query of the IR on my page 3. And I run;

    get_report_query (3)

    That's what I get:

    ORA-20987: APEX - interactive report region does not exist in application, page 3 and 1278226325207011749 region. -Contact your administrator of the application.

    ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 630

    ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 911

    ORA-06512: at "APEX_040200.WWV_FLOW_WORKSHEET_UTIL", line 33

    ORA-06512: at "APEX_040200.WWV_FLOW_WORKSHEET_UTIL", line 55

    ORA-06512: at "EBR_OWNER. GET_REPORT_QUERY', line 19

    The regio_id seems ok, because when I ask this region_id of apex_application_page_regions, id 1278226325207011749 is returned.

    Page 3 is also correct.

    I tried to follow Denes Kubicek his blog (Denes Kubicek ApEx BLOG: interactive report query is).

    What I'm doing wrong here?

    We use the Apex 4.2.

    The '0' in line 31 should be "nIR_id".

    What is the purpose of the lines 24-26?

  • Do we not have option to deselect ascendant and descendant of the options in interactive reports 4.2

    Hi all

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    Version 4.2 of the apex

    Theme-Light blue-100

    Kind regards

    Sruthitamiri.

    Sruthi Tamiri wrote:

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    The option is in the Actions of IR menu. Go to Actions > Format > sorting and deselect the current sort columns by setting - Select the column - column .

  • (Interactive report) IR filter does not work, how to debug?

    APEX 4.2.2.00.11

    Firefox 24.5

    I have a complex page, which includes an interactive report.

    For the most part works fine, with the exception of the following:

    Under Actions menu - click Filter results only Firefox show the circle 'Treatment demand' (ajax - loader.gif), that it will never show the details of the filter.

    The action of this button

    JavaScript:gReport.dialog2 ('SHOW_FILTER');

    This page has the same result.

    Some other Actions such as "Select columns" properly.

    Other Actions as "Emphasize" also does not work.

    Other pages with IR work fine with Firefox.

    Given the complexity of the page, I prefer is not to simply rebuild the page from scratch.

    The problematic page works fine in Internet Explorer and Chrome.

    How do I troubleshoot / debug this?

    (Most of the people in our office have no Chrome, so telling them to use Chrome is not an option.)

    Internet Explorer is way slower and has a few other problems).

    I found that a small piece of Javascript on my page there was an error.

    Not directly visible in Firefox, but Internet Explorer gave a message "error on page".

    This javascript was supposed to set a focus on the page, but could not find this object.

    Nothing to do with Action in the IR, but apparently no error on the causes of pages which IR filters do not work anymore...

  • Interactive report 'IN' operator does not work with commas

    Hello

    I use an interactive report of the APEX and I need to filter a column of values a couple.  I use the IN operator column.  However, one of the channels I'm looking for has a comma in it.  The IR treats this as a delimiter and does not find the value. For example, I want to filter the values:

    Oracle Canada ULC

    Oracle America, Inc..

    The operational unit IN in the IR is equal to 'Oracle Canada ULC, Oracle America, Inc...  He finds only the lines with 'Oracle Canada ULC'.  He seems to think that "Oracle America" is the second value in research and "Inc." is the third and can't find anything for them.

    Is there a way to escape the comma in "Oracle America, Inc." so he treats the entire string as a value to search for?

    Thank you

    Steve

    To in front-end (user) has chosen Actions-> filter-> filter-> line Type

    • In the columns , choose your column (operational unit)
    • Functions/operators choose IN
    • In Filter Expression, type your expression ("Oracle Canada ULC", "Oracle America, Inc.")

Maybe you are looking for