OBIEE Paging Style

hi,
I have a problem with the paging style in OBIEE. I have a report having 1,00,000 records.With the default paging style when I click on the "All page" buttion the browser gets hanged.So I have to click the "Next Page" button so many times to reach at the last page. Can we change the paging style to give some different appearence like Page with numbers ie; (1 2 3 4 5 6 ..) or giving "last page"option in the existing style.
Regards,
Edited by: 851841 on Apr 12, 2011 12:13 PM

Hi Muram
Can you please explain how can I go to a particular page in a report.
I have set the record size per page to 1000 and have 10000 records. If I want to directly go (on a single click) to the page 5 (Records 4001 to 5000), how can I achieve this?
Or is there any way to get the "Last Page" button; for the above ex, on a single click I can go to the last page (Records 9001 to 10000).
Many Thanks

Similar Messages

  • OBIEE:web-style menus on the dashboard page?

    Hello,
    does someone know if this feature is available or skipped somehow?
    "Web-style menus on the dashboard page"
    Please check this link an scroll into the middle of the page, thanks!
    http://www.rittmanmead.com/2012/05/previewing-the-obiee-11-1-1-6-sampleapp/
    regards,

    To avoid the text wrap in reports try this link
    http://www.obinotes.com/2010/01/how-to-prevent-text-wrap-in-obiee.html

  • OBIEE 11g : Unable to see any images while customizing styles and skins

    Hi,
    I am trying to customize OBIEE 11g style and skin. I followed the steps mentioned at http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/ and also in oracle white paper http://www.oracle.com/technetwork/middleware/bi/customizing-oracle-biee-11g-176387.pdf.
    I am not able to see any images on any OBIEE screens. After login, I can see the name of skin which i have created as the default skin but login page images, header images (after login) are not coming up. Can you please provide solution?
    P.S. I have not changed any images or any css files in the custom skin and style directory. I just wanted to know first whether the new skin/style works for me. If it works, then i will apply some sort of customization.

    That is correct. Also remember to delete browser cache. Here you have the folders: Re: how to insert the picture in the dashboard of BIEE
    Let me know.
    J.-

  • ROWNUM, Cursor, and Paged Reports

    I am using ASP against a Oracle 8i DB in a web application. I have some large reports (approx 2,000 records) that I need to display on the site in a paged style report. i.e. 25 records on page 1, 26-50 on page 2, etc...... Much like you see here at OTN in the forums.
    The problem is that when I go through the the ADO to build my recordset against the DB, I need to be able to select just a certain set of rownumbers. I will also need to be able to reorder the report based on client response. I know that the ROWNUM psudeofield is filled before any sort criteria is applied through the order by clause. So if I select against the view, how will I tell it to give me the next set of records that will make up my page. A oracle book I have says to use the cursor object to do this, but I am not really familiar with that, and from what I can see, it still didn't tell me how to select just a small part of the overall recordset that might be returned to the cursor by the SQL statement.
    Does any of this make sense? And if so, can someone please point me to a good source of information on how to do this. I know it has to be possible, becuase sites have that ability all over the place, but as I might be changing from ASP to JSP soon, I don't really want to do it all in code,becuase then I have to rewrite that as well. Doing this on the database is really my only good option.

    Here is an example, that uses the Oracle emp demo table to demonstrate how to use a ref cursor to return a result set ordered by whatever columns you want and get any set of rows you want. In the example, I first ordered by the empno column and retrieved the first 10 rows, then the next set of 10 rows (there are only 14 rows, so it just displays 4 more rows). Then I ordered by the ename column and retrieved 5 rows at a time. You can specify any number or combination of columns and any starting or ending rows you want.
    SQL> CREATE OR REPLACE PACKAGE package_name
      2  AS
      3    TYPE cursor_type IS REF CURSOR;
      4    PROCEDURE procedure_name
      5      (p_result_set    IN OUT cursor_type,
      6       p_order_by      IN     VARCHAR2,
      7       p_start_row     IN     NUMBER,
      8       p_end_row       IN     NUMBER);
      9  END package_name;
    10  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY package_name
      2  AS
      3    PROCEDURE procedure_name
      4      (p_result_set    IN OUT cursor_type,
      5       p_order_by      IN     VARCHAR2,
      6       p_start_row     IN     NUMBER,
      7       p_end_row       IN     NUMBER)
      8    IS
      9      v_sql                   VARCHAR2 (4000);
    10    BEGIN
    11      v_sql :=
    12          'SELECT *'
    13      || ' FROM   (SELECT ROWNUM AS r, a.*'
    14      ||         ' FROM   (SELECT   * '
    15      ||                 ' FROM     emp'
    16      ||                 ' ORDER BY ' || p_order_by || ') a'
    17      ||         ' WHERE  ROWNUM <= :p_end_row )'
    18      || ' WHERE    r >= :p_start_row';
    19      OPEN p_result_set FOR v_sql USING p_end_row, p_start_row;
    20    END procedure_name;
    21  END package_name;
    22  /
    Package body created.
    SQL> SET LINESIZE 125
    SQL> VARIABLE g_ref REFCURSOR
    SQL> -- to get first ten rows ordered by empno:
    SQL> EXEC package_name.procedure_name (:g_ref, 'EMPNO', 1, 10)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
             R      EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
             1       7369 SMITH      CLERK           7902 17-DEC-80        800                    20
             2       7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
             3       7521 WARD       SALESMAN        7698 22-FEB-81       1250     505.07         30
             4       7566 JONES      MANAGER         7839 02-APR-81       2975                    20
             5       7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
             6       7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
             7       7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
             8       7788 SCOTT      ANALYST         7566 09-DEC-82       3000                    20
             9       7839 KING       PRESIDENT            17-NOV-81       5000                    10
            10       7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
    10 rows selected.
    SQL> -- to get second ten rows ordered by empno:
    SQL> EXEC package_name.procedure_name (:g_ref, 'EMPNO', 11, 20)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
             R      EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
            11       7876 ADAMS      CLERK           7788 12-JAN-83       1100                    20
            12       7900 JAMES      CLERK           7698 03-DEC-81        950                    30
            13       7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
            14       7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    SQL> -- to get first five rows ordered by ename:
    SQL> EXEC package_name.procedure_name (:g_ref, 'ENAME', 1, 5)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
             R      EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
             1       7876 ADAMS      CLERK           7788 12-JAN-83       1100                    20
             2       7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
             3       7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
             4       7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
             5       7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    SQL> -- to get second five rows ordered by ename:
    SQL> EXEC package_name.procedure_name (:g_ref, 'ENAME', 6, 10)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
             R      EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
             6       7900 JAMES      CLERK           7698 03-DEC-81        950                    30
             7       7566 JONES      MANAGER         7839 02-APR-81       2975                    20
             8       7839 KING       PRESIDENT            17-NOV-81       5000                    10
             9       7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
            10       7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    SQL> -- to get third set of five rows ordered by ename:
    SQL> EXEC package_name.procedure_name (:g_ref, 'ENAME', 11, 15)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
             R      EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
            11       7788 SCOTT      ANALYST         7566 09-DEC-82       3000                    20
            12       7369 SMITH      CLERK           7902 17-DEC-80        800                    20
            13       7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
            14       7521 WARD       SALESMAN        7698 22-FEB-81       1250     505.07         30

  • Can I add new Styles in dashboard?

    Hi experts, i go to this option menu:
    !http://img215.imageshack.us/img215/2953/1cuadrodemando.png!
    And after, i will like to add new styles for my dashboards, it is possible?
    !http://img217.imageshack.us/img217/5013/2cuadrodemando.png!
    thanks

    Hahum...[http://justfuckinggoogleit.com/?query=obiee+custom+style]
    Cheers,
    C.

  • Regarding paging

    Hi Friends,
    I am having problem with paging concept.I entered 11 records into database.In the 1st page it has to display 10 record and the 11th record should be displayed in the 2nd page.When i am executing my code 1st 10 records are getting displayed in 1st page and when i am clicking on next, 2nd page is showing blank.its not displaying the 11th record.here is the code which i have tried
    pager.jsp
    <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
    <title>Pager Tag Library Demo</title>
    <%
    %>
    <style type="text/css">
    A.nodec { text-decoration: none; }
    </style>
    </head>
    <body bgcolor="#ffffff">
    <table bgcolor="#ffcc00" width="100%" border="0"
         cellspacing="0" cellpadding="2">
    </table>
    <%
         String style = "css";
         String position = "both";
         int maxPageItems = 10;
    %>
    <form action="<%= request.getRequestURI() %>" method="post">
    <center>
    <pg:pager
        items="<%= webPalette.length %>"
        maxPageItems="<%= maxPageItems %>"
        isOffset="<%= true %>"
        export="offset,currentPageNumber=pageNumber"
        scope="request">
    <%-- keep track of preference --%>
      <pg:param name="style"/>
      <pg:param name="position"/>
      <pg:param name="maxPageItems"/>
      <%-- the pg:pager items attribute must be set to the total number of
           items for index before items to work properly --%>
        <% if ("both".equals(position)) { %>
        <br>
        <pg:index>
          <% if ("css".equals(style)) { %>
           <jsp:include page="/WEB-INF/jsp/css.jsp" flush="true"/>
          <% } %>
        </pg:index>
      <% } %>
      <hr>
      <table width="90%" cellspacing="4" cellpadding="4">
    <tr style="background-color:efefef;" align=center>
        <td><b>FirstName</b></td>
        <td><b>LastName</b></td>
        <td><b>EmployeeId</b></td>
        <td><b>DOJ(MM-DD-YYYY)</b></td>
        <td><b>EmailId</b></td>
    </tr>
    <%
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          Connection con=DriverManager.getConnection("jdbc:odbc:login");
          Statement ps=con.createStatement();
          ResultSet rs=ps.executeQuery("select * from EmployeeTable order by EmpId");
           while(rs.next())
               String str1=rs.getString(1);
               String str2=rs.getString(2);
               int j=rs.getInt(3);
               String str3=rs.getString(4);
               String str4=rs.getString(5);
         for (int i = offset.intValue(),
                  l = Math.min(i + maxPageItems,1);
              i < l; i++)
              %><pg:item>
    <tr>
    <tr><td><%= str1%></td><td><%=str2%></td><td><%=j%></td><td><%=str3%></td><td><%=str4%></td></tr></pg:item><%
      %>
      </table>
      <hr>
    <% if ("both".equals(position)) { %>
      <pg:index>
        <% if ("css".equals(style)) { %>
         <jsp:include page="/WEB-INF/jsp/css.jsp" flush="true"/>
        <% } %>
      </pg:index>
    <% } %>
    </pg:pager>
    </center>
    </form>
    </body>
    </html>
    <%!
    private static final String BLACK = "#000000", WHITE = "#ffffff";
    private static final String[][] webPalette = {
        { WHITE,   BLACK},
        {"#cccccc",BLACK},
        {"#999999",BLACK},
        {"#666666",WHITE},
        {"#333333",WHITE},
        { BLACK,   WHITE},
        {"#ffcc00",BLACK},
        {"#ff9900",BLACK},
        {"#ff6600",BLACK},
        {"#ff3300",WHITE},
        {"#99cc00",BLACK},
        {"#cc9900",BLACK},
        {"#ffcc33",BLACK},
        {"#ffcc66",BLACK},
        {"#ff9966",BLACK},
        {"#ff6633",BLACK},
        {"#cc3300",WHITE},
        {"#cc0033",WHITE},
        {"#ccff00",BLACK},
        {"#ccff33",BLACK},
        {"#333300",WHITE},
        {"#666600",WHITE},
        {"#999900",BLACK},
        {"#cccc00",BLACK},
        {"#ffff00",BLACK},
        {"#cc9933",BLACK},
        {"#cc6633",WHITE}
    %>
    css.jsp
    <%@ page session="false" %>
    <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
    <%@ page import="java.sql.*" %>
    <%
    int count = 0;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:login");
    Statement st = con.createStatement();
    ResultSet res = st.executeQuery("SELECT COUNT(*) FROM EmployeeTable");
    while (res.next())
      count = res.getInt(1);
    %>
    <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=e3e9f8>
    <tr><td><font face=arial size=2> <b>Records</b></font>
    </td><td align=right nowrap width=1%><font face=arial size=-1>
    <pg:index export="total=itemCount">
    <pg:page export="first,last">
        <%= first %> - <%= last %> of <%= count %>
    </pg:page>
    <pg:first export="url" unless="current">
     <b><a href="<%=url%>">First Page</a></b> |
    </pg:first>
    <pg:prev export="url,first,last">
    <% int prevItems = (last.intValue() - first.intValue()) + 1; %>
    <b><a href="<%=url%>">Previous </a></b>
    </pg:prev>
    <pg:next export="url,first,last">
    <% int nextItems = (last.intValue() - first.intValue()) + 1; %>
    | <b><a href="<%=url%>">Next </a></b>
    </pg:next>
      </font></td></tr>
    </table>
    </pg:index>
    pager-taglib.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
      PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
      "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
      <tlibversion>1.0</tlibversion>
      <jspversion>1.1</jspversion>
      <shortname>pg</shortname>
      <uri>http://jsptags.com/tags/navigation/pager</uri>
      <info>
        The Pager Tag Library is the easy and flexible way to implement paging of
        large data sets in JavaServer Pages (JSP). It can emulate all currently
        known paging styles with minimal effort. It also includes re-usable index
        styles that emulate the search result navigators of popular web sites
        such as Google[sm], AltaVista® and Yahoo!. The Pager Tag Library does most
        of the work for you by dynamically organizing your data set into pages and
        generating a browsable index with virtually any look desired.
      </info>
      <tag>
        <name>pager</name>
        <tagclass>com.jsptags.navigation.pager.PagerTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.PagerTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>url</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>items</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>maxItems</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>maxPageItems</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>maxIndexPages</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>isOffset</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>index</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>scope</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>param</name>
        <tagclass>com.jsptags.navigation.pager.ParamTag</tagclass>
        <bodycontent>empty</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>name</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>value</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>item</name>
        <tagclass>com.jsptags.navigation.pager.ItemTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>index</name>
        <tagclass>com.jsptags.navigation.pager.IndexTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.IndexTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>first</name>
        <tagclass>com.jsptags.navigation.pager.FirstTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <name>unless</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>prev</name>
        <tagclass>com.jsptags.navigation.pager.PrevTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <name>ifnull</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>page</name>
        <tagclass>com.jsptags.navigation.pager.PageTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>pages</name>
        <tagclass>com.jsptags.navigation.pager.PagesTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>next</name>
        <tagclass>com.jsptags.navigation.pager.NextTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <name>ifnull</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>last</name>
        <tagclass>com.jsptags.navigation.pager.LastTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <name>unless</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
      <tag>
        <name>skip</name>
        <tagclass>com.jsptags.navigation.pager.SkipTag</tagclass>
        <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo</teiclass>
        <bodycontent>JSP</bodycontent>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>export</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
          <name>ifnull</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
          <name>pages</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
        </attribute>
      </tag>
    </taglib>Can anyone please help me in this issue.I am using NetBeans IDE.
    Thanks and Regards,
    V.S.Ravi Kiran Balusu.

    Hi Friends,
    I have tried in other way but not able to retrieve records.I am posting the code which i have tried so far.Can anyone please guide me.here is the code.
    page.jsp
    <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
    <title>Pager Tag Library Demo</title>
    <%
    %>
    <style type="text/css">
    A.nodec { text-decoration: none; }
    </style>
    </head>
    <body bgcolor="#ffffff">
    <table bgcolor="#ffcc00" width="100%" border="0"
         cellspacing="0" cellpadding="2">
    <tr>
    </tr>
    </table>
    <%
        String style = "css";
         String position = "both";
         int maxPageItems = 10;
         java.util.Enumeration e=request.getParameterNames();
         int count = 0;
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con=DriverManager.getConnection("jdbc:odbc:login");
         Statement st = con.createStatement();
         ResultSet res = st.executeQuery("SELECT COUNT(*) FROM EmployeeTable");
         while (res.next())
          count = res.getInt(1);
    %>
    <form action="<%= request.getRequestURI() %>" method="post">
    <center>
    <pg:pager
        items="<%= count %>"
        maxPageItems="<%= maxPageItems %>"
        isOffset="<%= true %>"
        export="offset,currentPageNumber=pageNumber"
        scope="request">
    <%-- keep track of preference --%>
      <pg:param name="style"/>
      <pg:param name="position"/>
      <pg:param name="maxPageItems"/>
      <%-- the pg:pager items attribute must be set to the total number of
           items for index before items to work properly --%>
        <% if ("both".equals(position)) { %>
        <br>
        <pg:index>
          <% if ("css".equals(style)) { %>
           <jsp:include page="/WEB-INF/jsp/css.jsp" flush="true"/>
          <% } %>
        </pg:index>
      <% } %>
      <table width="90%" cellspacing="4" cellpadding="4">
    <tr style="background-color:efefef;" align=center>
    <td><b>FirstName</b></td>
    <td><b>LastName</b></td>
    <td><b>EmployeeId</b></td>
    <td><b>DOJ(MM-DD-YYYY)</b></td>
    <td><b>EmailId</b></td>
    </tr>
    <% while(e.hasMoreElements())
              %>
           <br> <pg:item>
           <%= e.nextElement() %>
           </pg:item>
         <%
    %>
      </table>
    <% if ("both".equals(position)) { %>
      <pg:index>
        <% if ("css".equals(style)) { %>
         <jsp:include page="/WEB-INF/jsp/css.jsp" flush="true"/>
        <% } %>
      </pg:index>
    <% } %>
    </pg:pager>
    </center>
    </form>
    </body>
    </html>
    css.jsp
    <%@ page session="false" %>
    <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
    <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=e3e9f8>
    <tr><td><font face=arial size=2> <b>Records</b></font>
    </td><td align=right nowrap width=1%><font face=arial size=-1>
    <pg:index export="total=itemCount">
    <pg:page export="first,last">
        <%= first %> - <%= last %> of <%= total %>
    </pg:page>
    <pg:first export="url" unless="current">
     <b><a href="<%= url %>">First Page</a></b> |
    </pg:first>
    <pg:prev export="url,first,last">
    <% int prevItems = (last.intValue() - first.intValue()) + 1; %>
    <b><a href="<%= url %>">Previous </a></b>
    </pg:prev>
    <pg:next export="url,first,last">
    <% int nextItems = (last.intValue() - first.intValue()) + 1; %>
    | <b><a href="<%= url %>">Next </a></b>
    </pg:next>
      </font></td></tr>
    </table>
    </pg:index>Thanks and Regards,
    V.S.Ravi Kiran Balusu.

  • Manual pagination in adf tables

    Hie
    I am using jdev 11g latest. The way adf rich tables show more records via auto scroll is awesome..
    Though I am looking a way to do the same old style that is a table with 4 links in header/footer first prev next last to load another set of records.
    How can i do that?
    Vik

    I've tried to contact Oracle for this question. The answer from Oracle is: there is no official way to have an old paging style in ADF 11g.
    I think you have to do it manually.
    Samson Fu

  • Error while deploying, Custom Style Skin in OBIEE 11.1.1.6.7

    Hi,
    I have deployed Custom Style Skin in OBIEE 11.1.1.5 successfuly (with the help of http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/ ).
    Now when we're moving RPD, Catalog & Custom Style Skin from OBIEE 11.1.1.5 to OBIEE 11.1.1.6.7, I could deploy RPD & Catalog but am not able to deploy Custom Style & Skin Folders.
    If you are aware of the process of deploying Custom Style & Skins (as mentioned in the link above), it requies:
    1. Custom Style & Skins folder to be Deploy using Weblogic Console.
    2. Making necessary changes in instanceconfig.xml (to point to the deployed folder) ---- this is where it's failing.
    When I do add necessary tags ( <URL> & <UI>) in instanceconfig.xml and restart Services. Presentation Services dosen't come up. Error message that is in log file is:
    In element URL: Can not have element children within a simple content.
    unknown element 'UI'
    Element 'UI' is not valid for content model : 'All(URL, SocketTimeoutSec,FileSizeMB)'
    Any pointers?
    Regards,
    Jitendra

    Hi,
    I too faced such issue, actually obiee11.1.1.5 version skin and style wont work in obiee11.1.1.6.0 and above patch ..
    u have do it once again by using obiee11.1.1.6.0 skin (because the 11.1.16.0 has UI and skin different from 11.1.1.5.0 )
    Thanks
    Deva

  • OBIEE 11.1.1.7.0 Skin and Style changes

    Dear All,
    I want to customize the skin and style in OBIEE 11.1.1.7.0.
    I already did for OBIEE 11.1.1.5.0 and having fair idea of files and location for customization.
    I used to copy s_blafp and sk_blafp from /opt/xyz/obiee/Oracle_BI1/bifoundation/web/app/res and copy it to
    /opt/xyz/obiee/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes.
    but here in OBIEE 11.1.1.7.0 i can see s_blafp, sk_blafp and s_Fusionfx is used in Dashboard login page.
    1. My doubt is which S_and Sk_ file we have to deploy on CONSOLE ??
    2. Can we follow the same Orcale white paper we used to follow for OBIEE 11.1.1.5.0 Customization ??
    3. Any new document/ link for OBIEE11.1.1.7.0 customization
    Thanks,
    Deep

    Hi All,
    Its a long time i have not seen this post.
    i did the customization for OBIEE11.7 by myself.
    Below is the answers for question raised:
    1. My doubt is which S_and Sk_ file we have to deploy on CONSOLE ??
       - Start working on s_blafp, sk_blafp
    2. Can we follow the same Orcale white paper we used to follow for OBIEE 11.1.1.5.0 Customization ??
       - Yes, Almost same.
    3. Any new document/ link for OBIEE11.1.1.7.0 customization.
    - NA.
    Thanks

  • Customer Style & Skins in OBIEE 11.1.1.7

    Hi,
    Did anyone configure custom style and skins in the latest OBIEE (11.1.1.7)? I followed steps mentioned in OBE here http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm#t1,
    but that did not work.
    Thanks in advance

    Hi,
    u can add the new skins from the below mentioned path as welll
    obiee 11g  image path
    mark helps
    thanks

  • OBIEE 11g ignoring custom styles after a space in the formatting

    Hi,
    Has anyone else ran into this odd little problem?
    I'm applying custom styles to our new corporate skin, and it's all working just fine until I enter a piece of code like this:
    .QCPageColumnSectionSidebar{padding-bottom:1px;width:100%;border:solid 1px #000080;background-color:#dce4f9;}
    It appears that as soon as OBIEE encounters the spaces in the CSS formatting, it escapes and ignores the rest. In this case, the border gets applied, but the background color does not. If I swap places of the two classes, then the background color is applied and the border is not.
    In addition, any styles defined after this style are ignored.
    When I inspect element in Firebug, I am seeing this behavior coming through on the presentation side. The CSS that follows the style with a space in it isn't appearing.
    The styles defined by default have very similar styles and they appear to work; does anyone have any idea why my custom styles aren't?
    Thanks in advance,
    Krista

    Some times we get unwanted code.. some thing like when you copy from browser to MS word some html code come along with...

  • Best Practice - Copying styles & skin from OBIEE 11.1.1.5.x to 11.1.1.7.x

    Hi,
    By copying the stye (s_blafp) and skin (sk_blafp) file from OBIEE 11.1.1.5.x to 11.1.1.7.x. What are all issues we will be facing ? and is it a best practice ?
    Thanks in Advance!
    Satheesh

    http://hekatonkheires.blogspot.com/2013/08/custom-style-and-skin-in-obiee-11117.html

  • How to customize calendar style in obiee?

    Hi,
    Is it possible to customize the OBIEE calendar with different style and looks. If yes please guide me in doing this.
    Thanks in advance,
    Kart

    Hi,
    I have found out the thing by myself..
    To change the css of the calendar use
    OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\sk_oracle10\b_mozilla_4\calendar.css and
    \OracleBI\web\app\res\sk_oracle10\b_mozilla_4\calendar.css
    To modify the base java script for calendar use
    \OracleBI\web\app\res\b_mozilla\calendar.js and
    C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\calendar.js
    Thanks,
    Kart

  • How do I use Paged Media styles in css3 ( headers and footers ) ?

    I need to make printer friendly web pages, with neatly styled Page Headers and Footers.
    == This happened ==
    Not sure how often
    == Designing Style Sheets for Printer

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    [http://forums.mozillazine.org/viewforum.php?f=25]
    You'll need to register and login to be able to post in that forum.

  • Regarding skin and style in obiee 11g

    Hi ,
    i have done all the steps for customization for login page of it.
    but when i am restarting the presentation server the login page not customized.
    on the place of oracle logo is coming nothing. i have followed the steps mentione in oracle doc.
    Please help.

    Hi,
    Are you added any new skin your catalog file.
    Are you applied new style in your dashboard.
    Go --> Edit Dashboard-->dashboard properties-->please select style new one.
    I am not sure this is what your looking so far.
    Award points it is useful.
    Thanks,
    Satya

Maybe you are looking for

  • Soundcard / Audio Driver?? for Macbook 3.1

    I was recently given a second-hand macbook, and instantly fell in love with the Leopard os. however as part a the course i was doing i needed to load a programe that only worked on windows, i tried using bootcamp, which asked me to free-up disc space

  • HT6119 I am in Thailand if I buy some TV show from other region store will I be able to watching it or not?

    I am looking to buy the Simpson but it said that I have to change the store to U.S. store if I bought it and do I able to watch it in Thailand??

  • Solution Manager and SAP ECC on same server

    Hi Experts, I want to install Solution Manager and SAP ECC on single server. Oracle database with different schema (e.x SAPSR3, SAPSR4) But can I use same mount folders? Kindly highlight your experience and knowledge on this point? Thank you so much

  • A complex join . Please help

    I have a complex join to perform. I need some help please. I have a table call Table A TableA id_entity    inst_type     inst_code  dt_trade AGL          SE              5660249    01 Feb '06 AGL          SE              5660249    01 Feb '06 AGL    

  • Adobe story browser app won't work, desktop app in update limbo

    When I attempt to use the adobe story browser app on Safari on any OSX Lion computer, Safari immediately crashes. When I try and use the desktop app, it downloads the update, then adobe AIR installer crashes because "This application cannot be instal