#PAGINATION # in the report model

Hello

(Apex 4.0.1)

I'm changing the standard, the report model of alternation of the colors and line in the sections after lines I put:
<tr><td class="pwc_ReportHeader">#PAGINATION#</td></tr></table>
</table>
In other words, I want the pagination to be displayed in the last line of the table, using a specific style.

However, it is what is generated in the page:
<tr>
  <td class="pwc_ReportHeader">
    <tr>
      <td colspan="7" align="right" >
        <table summary="">
          <tr>
            <td class="pagination"></td>
            <td class="pagination"></td>
            <td nowrap="nowrap" class="pagination"><span>1 - 2</span></td>
            <td class="pagination"></td>
            <td class="pagination"></td>
          </tr>
        </table>
      </td>
    </tr>
  </td>
</tr>
As you can see, it replace the placeholder #PAGINATION # with a table within a tr, which completely messes up the layout I want. These tags do not even have IDs or classes associated with them, so it is impossible to style them using CSS.

Where did these tr and table come from? Is it possible to change what is generated?

Thank you
Luis

Luis Cabral says:
In other words, I want the pagination to be displayed in the last line of the table, using a specific style.

However, it is what is generated in the page:





1 - 2

As you can see, it replace the placeholder #PAGINATION # with a table within a tr, which completely messes up the layout I want.

Join the club:

{: identifier of the thread = 333925}
{: identifier of the thread = 1047198}

(I'm sure there are others).

Where did these tr and table come from?

From the bowels of the APEX.

Is it possible to change what is generated?

Perhaps. Never done this or seen do:

{: identifier of the thread = 1025125}

Another approach would be to use a dynamic/JavaScript Action to change the items generated by APEX in the DOM.

These tags do not even have IDs or classes associated with them, so it is impossible to style them using CSS.

ID and classes are not the only one of the CSS selectors. Unless you're stuck in quirks on IE6/7/8 /(9?) mode, you can use the attribute, children, brothers of pseudo-class selectors and adjacent to target these elements.

If you publish the report model full that we can try to identify the possible selectors.

Tags: Database

Similar Questions

  • reset the pagination of the reports after reloading the window

    Hi friends,
    I have an apex report, whose content changes dynamically based on a drop down value. The question is if I am on the 3rd page for a selected and then drop-down list value to change the value of the drop-down list, the report for the newly selected dropdown value data will be on page 3. is there a was to start 1st page when a new value is selected form the drop-down list.

    In my current implementation, I created a branch with a condition to access the same page after hitting the submit button

    The following html on the screen

    1. Select drop-down box.
    2 submit button
    3. apex report.

    In the part, click on the option "reset pagination for this page".

  • How to extract the date parameter, which must appear in the report model?

    Hi gurus and Experts.

    I need to shoot the date setting, I chose at RANDOM to appear in my report model? How this code at RANDOM?

    Identifier are: dto and cdes
    Channel marker date: MM-DD-YYYY

    Kind regards

    JP

    Published by: user10955574 on November 10, 2010 02:38

    Published by: user10955574 on November 10, 2010 02:39

    Declare the parameter in the model as

    and use it as

  • APEX API to reset the pagination of the reports?

    Hi all

    Is there any API APEX (which can be used in PL/SQL) with which we can "reset paging" to a report?

    Kind regards
    Hari

    Hi Hari,

    I found this package

    WWV_FLOW_DISP_PAGE_PLUGS. RESET_REGION_PAGINATION

    It is not public.

    for APEX_030200

    GRANT EXECUTE ON APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS 'PUBLIC '.
    CREATE THE WWV_FLOW_DISP_PAGE_PLUGS FOR APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS PUBLIC SYNONYM;

    To call:
    WWV_FLOW_DISP_PAGE_PLUGS. RESET_REGION_PAGINATION (REGION_ID);

    where REGION_ID ===>

    SELECT REGION_ID
    OF APEX_APPLICATION_PAGE_REGIONS
    WHERE APPLICATION_ID = PN_APPLICATION_ID
    AND PAGE_ID = PN_PAGE_ID
    AND DISPLAY_SEQUENCE = PN_SEQUENCE

    Kind regards
    Rodrigo

  • The mouse show details in a report model - jQuery

    Hello

    I could use some help on the below question. I am creating a report with a custom report model that will allow me to view the details of each line in a popup.

    The sample that I created can be verified using the sub workspace.

    URL: apex.oracle.com

    Workspace: Mon-samples

    Username: support

    Password: support1

    Application: 62495

    Page: 7

    What I did was to create a simple report model by passing the ID of each line. function jQuery and CSS to the page level.

    Now the problem:

    • As I've used ID in the report model and jQuery, this isn't showing the respective details but showing all the details. I think I should use class but don't know how I can change the function dynamically.
    • Once I got to the question above, I would like to add a few links from the context menu and make the popup stay when I move the cursor in the pop-up window and allow me to click.


    Ask an expert in this matter.


    Thank you

    Stephanie.

    Kalesh Ravi-Oracle wrote:

    I could use some help on the below question. I am creating a report with a custom report model that will allow me to view the details of each line in a popup.

    The sample that I created can be verified using the sub workspace.

    URL: apex.oracle.com

    Workspace: Mon-samples

    Username: support

    Password: support1

    Application: 62495

    Page: 7

    What I did was to create a simple report model by passing the ID of each line. function jQuery and CSS to the page level.

    Now the problem:

    • As I've used ID in the report model and jQuery, this isn't showing the respective details but showing all the details. I think I should use class but don't know how I can change the function dynamically.

    Indeed. Attributes ID must uniquely identify an element in the document. The problem, it is that the code is unable to tell the difference between the list items and therefore displays all items corresponding to the ID selector, only the last being visible on top.

    • Once I got to the question above, I would like to add a few links from the context menu and make the popup stay when I move the cursor in the pop-up window and allow me to click.

    This can actually be implemented purely in CSS without using JavaScript or jQuery at all. I created a demonstration of this in your application.

    Custom report template

    The report model is simplified and syntactically corrected by the replacement of the ID attributes in double with a single top-level class attribute. The semantics is improved by using a list of description in place of non-semantique div and inappropriate p elements.

    Front of the lines

    After the lines

Model of line 1

  • #EMPNO#
    Name
    #ENAME#
    Job
    #JOB#
    Manager
    #MGR#
    Hire Date
    #HIREDATE#
  • Inline CSS page

    See comments below for the details of the CSS rules involved.

    /*
      Float list so that list items do not span full width of page.
    
      Apply padding top and bottom to ensure all pop-ups are fully visible.
    */
    .details-popup {
      float: left;
      clear: right;
      margin-right: 0;
      padding: 2em 0 2em 0;
    }
    
    /*
      Relative positioning on list items enables pop-ups to be dynamically positioned
      using only CSS.
    */
    .details-popup li {
      position: relative;
    }
    
    /*
      Style and initially position the detail pop-ups.
    
      For accessibility reasons the pop-up is not hidden using display: none, but is
      positioned outside the visible viewport. This means the detail information
      is still accessible to screen readers, but does not appear on visual displays.
    */
    .details-popup li dl {
      position: absolute;
      top: -3.6em;
      left: -10000em;
      margin: 0;
      border: 1px solid #e2e2e2;
      padding: 1em;
      width: 14em;
      background-color: #fcfcfc;
      font-size: smaller;
      opacity: 0;
    }
    
    /*
      Display the details pop-up for a list entry when the mouse pointer hovers over
      it.
    
      This is achieved by moving the element from its dormant off screen location
      to a position slightly to the right of the list entry.
    
      CSS animation is used to fade the pop-up in.
    */
    .details-popup li:hover>dl {
      left: auto;
      right: -13em;
      opacity: 1;
      transition: opacity 0.8s;
    }
    
    /*
      Style the detail terms and descriptions so they appear on the same line.
    */
    .details-popup li dt {
      display: inline-block;
      width: 5em;
      font-weight: 500;
    }
    .details-popup li dd {
      display: inline;
      margin: 0;
    }
    .details-popup li dd:after{
      display: block;
      content: "";
    }
    
    /*
      Additional rules to render CSS pointer on pop-up box.
    */
    .details-popup li dl:after, .details-popup li dl:before {
      right: 100%;
      top: 50%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
    }
    .details-popup li dl:after {
      border-color: rgba(252, 252, 252, 0);
      border-right-color: #fcfcfc;
      border-width: 10px;
      margin-top: -10px;
    }
    .details-popup li dl:before {
      border-color: rgba(226, 226, 226, 0);
      border-right-color: #e2e2e2;
      border-width: 11px;
      margin-top: -11px;
    }
    
  • Name of the CRA in the logic model is ignored when the Relatation model engineering

    When I use a bow in my logical model and I'll give it an appropriate name, this name is not used when the report model is generated. Data Modeler named the same arc in the FKArc_1 relationship model for example. And I'll have to rename it manually.

    I think it is a bug and probably not known because it is still occurs in Oracle Developer version 4.1

    Is this a known issue?

    Hi Philippe,.

    Thank you! Problem is solved in the Data Modeler 4.1.1.887

    Steven

  • Pagination of interactive reports.

    Hi people,

    I have a page of interactive report with 15 lines per page pagination. I navigate to the 4 th report segment (ie the lines 46-60) and left the page through the link in the menu. When I opened this page IR once again it still in segment 4 rather than the first (i, e 1-15 lines). Y at - it no change in how the pagination via the header of the page every time I open the page. I tried all the option in the pagination of the reports that nothing works for me. Seeking advice on your part

    Thank you
    Knockaert

    Hi Karthik,

    fac586 is correct.

    APEX syntax of URL: f? p = App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

    I hope that you pass a URL link of manuscript of java in page1 and page2. You can pass PR in the ClearCache section in this URL.

    for example, f? p = & APP_ID.: 3: & APP_SESSION.: PR:

    If your IR is not based on the values of any point you can create a process of paging reset. Check out the link 8.5 understanding of processes Page.

    If possible, share your java script where you call the IR page.

    Thank you

    Lacombe

  • Problem with a report model

    I have a report that uses a custom model.
    Light blue 15 theme it worked fine.
    I changed my theme to 21 scarlet and copied the model, but is no longer functions, that is to say the highlight is ignored

    My report is
    select owner, table_name, partition_name, subpartition_name, 
    to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') update_time, 
    to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') previous, 
    to_char(latest-previous,'dd.mm.yyyy hh24:mi:ss') duration,
    case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then 'CC0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then 'FF0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then 'FF6600'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then 'FF9900'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then 'FFCC00'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then 'FFFF00'
         else 'FFFFFF' 
    end BG_COLOUR
     from (
    select da.owner, da.table_name, da.partition_name, da.subpartition_name ,(da.stats_update_time) latest, 
    nvl((select 
    max(stats_update_time) 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time < (da.stats_update_time)),to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss')) previous 
    from (
    select 
    owner, table_name, partition_name, subpartition_name, stats_update_time 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') 
    order by stats_update_time asc) da)
    All the passes are passes standard report

    My model is
    Model name column Type (model line)
    Custom class 1 template
    Line Template1
    <tr style="background-color:#8#;">
    <td style="background-color:#8#;" class="t15data">#1#</td>
    <td style="background-color:#8#;" class="t15data">#2#</td>
    <td style="background-color:#8#;" class="t15data">#3#</td>
    <td style="background-color:#8#;" class="t15data">#4#</td>
    <td style="background-color:#8#;" class="t15data">#5#</td>
    <td style="background-color:#8#;" class="t15data">#6#</td>
    <td style="background-color:#8#;" class="t15data">#7#</td>
    </tr>
    Any help appreciated

    Gus

    Gus C wrote:
    I changed the template with your code, but still no formatting.
    It's the source of the page

    USER_TAB_STATS_HISTORY for 10-01-2013-21.00.04Edit
  • Several classes of 15-specific to the topic: Watch the report model theme Standard 21 and map the classes of equivalent items for custom report templates for the report to match the theme 21 L & F.

    Clearly some s ' # ' abandoned somewhere along the line. Should have

    and so on.

    The query or the model never understood s ' # ' in hexadecimal color values? If not maybe you used a previous version of the 15 without DOCTYPE theme and "#"-have been applied in quirks colors mode less, but do not conform to standards 21 theme...

    I would add the s ' # ' to the application as they are actually a part of the value of the color:

    ...
    case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then '#CC0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then #'FF0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then '#FF6600'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then '#FF9900'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then '#FFCC00'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then '#FFFF00'
         else '#FFFFFF'
    end BG_COLOUR
    ...
    

    However if this model is used by several reports you can change the model to avoid changing all queries:

    ...
    
    ...

    This is not a good solution, because it means that you can perfectly change color specifications in the request of hexadecimal values of named colors or values RGB etc..

  • As the report

    Hi all

    I need to create a report that will have a look as a form and put all the columns according to the needs on the same line or different lines.
    I only need to display a single record.

    The display will be something like:
    Student No.     Student Name                   Image
    1                    ABC                                .......................
                                                               .......................
    Address                                                .......................
    XYZ                                                     .......................
    
    Column1       Column2                      Column3           Column4
    Value1         Value2                        Value3             Value4
    Also, I need to display an image of the database.

    My version of the APEX: Application Express 4.0.1.00.03

    Thank you.

    Arif Khadas

    Ok

    An option that you choose depends on any Session State protection has you perhaps for the article and what you can or can't do not want to see in the URL. If session state is set to "Restricted - cannot be resolved the browser", you would not be able to use a redirect and would have to use a 'submit '.

    Also, note that a redirect will add the name of the element and the value in the URL (but only for the select list item), while submit will present the entire page in an encrypted form. Apex can manage both, but submit it would require to create a branch on your page to redirect the user to the same page. However, the management will give you the option to reset pagination for the report. If you want to use a redirect and reset the pagination that you would, most likely, to build the URL manually - which would mean a form any JavaScript are required.

    If there are other page elements, then using a redirect will not save their values - but you can use a dynamic Action to do so. Offer will save the values of all elements on the page.

    He is less involved treatment in using a redirect as Apex should only define the State of the session in the URL item, but has to analyze the form submitted to work.

    I only use the redirects of links from reports and things like Cancel buttons. So, my suggestion would be the mailing option - but that's just my preference, others may have different opinions!

    Andy

  • How to get the required column, the names of tables for the preparation of the report.

    Based on the MD50 how to get the exact name, the table names he joined for report development. as I am new on this project and the purchase of failet for R12.
    How can I start my approach to prepare the data for the report model? How can I search the database based on the respective diagrams of means?
    all input appreciated

    Hello

    You can find information about schema objects in eTRM Web site, you can also consult the documentation for product/module and see if it helps. If you already have any report (standard or custom), you can enable the trace and run the program to see which object it access or open the report using Report Designer and see the code.

    ETRM Oracle
    http://ETRM.Oracle.com

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • Excel and pdf download link on the report in the development sandbox app

    I need help in the following ways:

    (1) pass the link to download spreadsheet the bottom left corner to the upper right of the report page

    (2) adding a link next to the excel link pdf download (I think I saw it was possible)


    I use the oracle supplied sandbox for the development account.

    Thank you!

    1. change the report model.

    2. the option you want is the third tab in the region, print attributes, but the environment should be set up to produce PDF files (usually Apache FOP or the Oracle BI/XML publication server). Not sure if apex.oracle.com supports PDF printing, you mind.

    John.

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • XLS-models with BI Publisher using and download the reports with APEX

    Hello

    I already create PDF reports with RTF Templates. In the APEX, I create a button and a process of "Download" to get the PDF-reports the BI Publisher. ". We use version 11.1.7.

    Now I try the same thing with XLS-Templates. I create the XLS model in the editor of BI and where it works very well. Now I need also an APEX-"Download" - Process to download the XLS reports to the client. The method already used doesn't work for RTF models.

    Kind regards

    Mark

    Hello

    I found here, the format has value "excel", not "xls"!

    http://docs.Oracle.com/CD/E28280_01/doc.1111/e26693/ibr_config.htm#WCCAA2062

    Now it works like a charm!

    Kind regards

    Mark

  • Developer reports 11g fails when opening the data model view

    Hello

    I see this on one of my client sites.

    They have just upgraded to 11.1.2.2.0 suite of developer on Windows 7.  The works of developer of fine forms, reports developer opens the report ok, but when you try to use the data model view, the program crashes and closes.

    I checked the usual suspects such as the REPORTS_TMP registry variable.

    This happens when trying to create a whole new report also, therefore seems to be an installation problem.

    Saw someone else this please?

    Tony

    Hello Tony,.

    Then, check this box.

    Hamid

  • Question by showing the data model in reports of 11 g

    Hello

    I'm working on forms and reports on 11 g. I have a problem with the reports.

    After opening an existing report, I am unable to view the queries in the data model. The data model page is open, but immediately, it pops up a window saying generator stopped working. He has no problem working with the rest of reports such as the use of the document layout, etc.

    Could someone help me with this problem?

    (Sorry, i, m not able to add any image with this)


    Thanks in advance.


    You use the 64-bit Oracle Forms and reports 11 GR 2 version? If you are, it's a known bug with 64-bit report designer. As long as you use not Sources of pluggable data (PDS) in your reports, you can implement workaround in the following article:

    http://Pitss.com/us/2012/10/10/reports-Builder-11gr2-crashes-when-viewing-data-model/

    This should solve the problem with the help of the data model in the generator of reports without it crashing.

    Thank you

    Scott

  • Maybe you are looking for

    OwnerTable NamePartition NameSubpartition NameStart TimeEnd TimeDuration
    DWHADMIN CPO_LOAD_STATISTIC - - 10.01.13 21:00:37 10.01.13 21:00:04 +000000000 00:00:33.346524