dynamically setting lines displayed in the advanced table

Hello

I want to give the user the ability to change the number of lines displayed in a table.

I can do it with the following:

The results of table reference

OAAdvancedTableBean = tableBean

(OAAdvancedTableBean) webBean.findChildRecursive (resultsTableName);

Set of displayed rows

tableBean.setAttributeValue (UIConstants.ROWS_ATTR, 10);

I'm running it in the processRequest.

It does not seem to do. It does not change the default lines is 20

Is it possible to do this?

Thank you

Ronny

Try this

tableBean.setNumberOfRowsDisplayed (10);

Tags: Oracle Applications

Similar Questions

  • Problem with the records to display in the advanced table of the popup window OPS

    Dear all,

    I have a requirement as below.

    I have a contextual search page I displays the data sought in the advanced table, but the question is of all the rows displayed in the window pop up due to the size of the window dolls, even I'm not able to view the button 'Next' in the table to proceed following files, can anyone suggest me how to display the button 'NEXT' in the table , so i can display all the records in the table.

    or is it possible to implement "SCROLLBAR" in table advanced in the pop up window so that I can scroll vertically and horizontally to display the records.

    Thank you

    My question solved thanks

  • BI Publisher - how to display the number of lines displayed at the bottom of the table on each page

    Hello

    We are the conversion reports Actuate BEEP and not able to understand how to view "Accum.Total = < n >" at the bottom of each page. In the attached report to operate it, "Accum.Total = < n >" must be displayed at the bottom of each page where < n > is the number of lines displayed on the current page and previous page.

    For example, if there are 10 rows in the result set, if the 1st page displays 4 rows, 2nd page displays 3 rows and 3rd page is 3 lines and then Accum.Total = 4 on page 1, Accum.Total = 7 on page 2 and Accum.Total = 10 on page 3.

    Note that we use the property table "allow the lines to break Pages = False" as we do not want a specific line can be split across pages.

    I enclose a sample of report actuate, rtf, BEEP and XML report for testing file.

    Approach used so far-

    1 > I tried to put the counter in the footer, but it seems that only the fields that come directly from the IC can be used on the header/footer. No matter what form text field or variables defined in the report.

    2 > I used approach given in the link below. Using this approach, I am able to view a coded value hard at the bottom of every page (just below the table) but his does not work for the variable (in my case the counter c1).

    https://blogs.oracle.com/xmlpublisher/entry/continued

    3 > on Google, I found a few articles on the page break conditionally as display only certain numbers on a page or the page by section break but in our case, its dynamics and its number of lines to display on a page is driven by data, so I could not think of a certain condition to use in "Condition." ": If" for use as a page break.

    Thank you

    Richa

    Watch see the-Report

    http://docs.Oracle.com/CD/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#do_bf_cf

    Download the https://blogs.oracle.com/xmlpublisher/entry/continued sample

    Add

    <>

    name = "contd_footer".

    format = "99G999G999" / >

    After the field "Footer."

    If need to use a footer to display the meter then and sous-modèle with code above and call it in footer

  • view multiple lines in the advanced table

    Hi all

    I have a requirement. I created advancedtable. When the page loads, to display 4 rows at a time. Can anyone please help how to achieve this req

    Kind regards
    Murali

    Hello

    Write the code below in AM that will create 5 blank lines in the advanced table.

    xxVOImpl voImpl = getxxLineVO1();
    voImpl.setWhereClause ("1 = 2");
    voImpl.executeQuery ();
    for (int i = 1; i)<=5>
    {
    Line = voImpl.createRow ();
    voImpl.insertRow (row);
    row.setNewRowState (Row.STATUS_INITIALIZED);
    row.setAttribute ("column1", i);
    row.setAttribute ("column2", "XYZ");
    }

    Kind regards
    Mary

  • Generate a number at the advanced table

    Hello world

    I have a table in my custom page which I already put in place. The additional functionality, I am adding now is to add a sequence of numbers in one of the table columns advanced so that whenever a row is added in the advanced table, the numbers should come from 1 number of lines added for this particular session.

    Sound essentially to count the number of lines, the user is adding every time in this advanced table.

    Any suggestions are appreciated.

    Thank you.

    You can create an attribute in the advanced table t. Also intiialize a value of TransactionTransient to 1. Whenever a row is added, you can set the mode attribute with the latest value of the TransactionValue and 1 and then increment the value of the Transaction.

    Hope that gives clues.

    Concerning
    Sumit

  • FUSION IN: ORA-30926: failed to get a stable set of rows in the source tables

    Hi all

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production 0

    PL/SQL Release 12.1.0.1.0 - Production 0

    CORE 12.1.0.1.0 Production 0

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production 0

    NLSRTL Version 12.1.0.1.0 - Production 0

    When you use the MERGE clause, if executed more than once, I get the below error

    ORA-30926: failed to get a stable set of rows in the source tables

    create table CBC (nums number, sname varchar2 (10))

    create tar (tnum number, tNom varchar2 (10)) table

    Insert in src values (1, 'a')

    Insert in src values (1, 'b')

    Insert in src values (2, "c")

    merge into tar

    using the CBC

    on (nums = tnum)

    when matched

    then

    update the value tNom = sname

    When not matched

    then

    Insert the values(snum,sname);

    What expect, it's that first time itself (when inserted), he must raise the error. But it's not.

    Select * from tar

    TNUM TNOM

    1 b

    1 a

    2 c

    But if we run for the second time it shows the error.

    I saw the document of the Oracle and he said

    MERGEis a deterministic statement. You cannot update the same row in the target table multiple times in the same MERGE statement.

    I've seen below cela son but failed to get the solution for this.

    MERGE STATEMENT ORA-30926: failed to get a stable set of lines in the source

    Nondeterministic fusion?

    Someone at - it make a clarification?

    I don't want to insert records into the first time itself. for example, to run the first time he must raise the error. can I do this using MERGE?

    Thank you

    Hello

    O - O wrote:

    Thanks knani, Frank.

    One more doubt.

    When you run the MERGE statement, the first time, there is no rows in the target table, so no rows in the target table is what it is.

    So we cannot perform below sqls using MERGE when the target table is empty?

    insert into tar values (1, 'a')

    updated tar tNom = 'b' set where tnum = 1

    insert into tar values (2, "c")

    Is - that means that the MERGER will be only works with validated data?

    Right; a MERGE statement will not update a line which has been previously inserted into the same MERGE statement.  All fact tables reference to the data in the tables by the time the MERGER began.

  • Obligation to fill the values in table advanced according to the selection of a value in another article of lov (not in the advanced table)

    Hi all

    We work in a custom oaf page subdivision. We have an obligation to fill the values in table advanced based on a value selection in an element of the lov (this LOV is not in the advanced table) .can share you it please me steps or examples of code to achieve this. Waiting for response.

    Kind regards

    I do not understand completely still. What do you mean by "default in the table values must be inserted".

    You can create a dummy VO with the same columns and fix the VO in the advanced table.

    In the normal scenario, when the user clicks on submit button, browse this VO, and copy the values to the validation according to VO and appeal EO. If values gets inserted into the database.

    When the user selects the number of PO, simply run the other VO and fill this dummy VO so that values are available in the advanced table. When you click on send, do not copy these values to the EO based VO, so these lines won't get inserted.

    It work?

    See you soon

    AJ

  • How to align an image centered in the advanced table column.

    Dear friends,

    I developed a page of the OAF with an image column in the advanced table, but by default the image column is not centered,
    How to make image centered in the advanced table column, please let me know your suggestions.


    Thank you
    Keerthi.K

    HAD,

    In your column, create a tabular presentation and a rowlayout and the image, and then put in the rowlayout. Set the horizontal alignment of the rowlayout inwards.

    Kristofer Cruz

  • How to add new record to the Advanced Table.

    Hello
    I created a table advanced in a Page customized and added a button in the footer and added events for this button. After clicking this button, I need to add a line in addition to advanced table. Pls share code for this requirement.

    Thanks in advance,
    Roxanne.

    ViewObject attribute is null; ViewUsageName: (XXIosAuthorisedVO1); RegionItem: (bleep)
    ViewObject attribute is null; ViewUsageName: (XXIosAuthorisedVO1); RegionItem: (Ext)
    ViewObject attribute is null; ViewUsageName: (XXIosAuthorisedVO1); RegionItem: (used)

    Please ensure that for these elements of three region Bleep, Ext & employee

    you have defined the attribute of the view property.

    Thank you
    AJ

  • ORA-30926: failed to get a stable set of rows in the source table

    Dear all

    When I try to load my cube I get the error "ora-30926: failed to get a stable set of rows in the source table.
    Any idea? Googling for this error has not returned all the solutions.

    My env:

    Source: Oracle 10g (10.2.x)
    Target: Oracle 11g (11.1.0.7)

    I use the generator to warehouse 11.1.0.7 on Linux

    Thank you

    Hello

    Yes, I'm very sure. The error is revived by the MERGE statement.
    If the cube is empty, it is not a problem. All of the rows from the source Gets a surrogate key.
    If you run the cube for the second time, and you have two or more lines with exact in the attributes values as you use for correspondence, this error occurs.

    Kind regards
    Carsten.

  • Using Merge in oracle 11g this error SQL Error: ORA-30926: failed to get a stable set of rows in the source tables

    whenever I run this code I get this error

    SQL Error: ORA-30926: failed to get a stable set of rows in the source tables

    30926 00000 - "impossible to get a stable set of rows in the source tables.

    * Cause: A stable set of rows could not be achieved due to the large dml

    activity or one not deterministic where clause.

    * Action: Remove any non deterministic of the clauses and reissue of the dml.

    Don't know wht goes wrong!


    SQL:

    MERGE IN VENDORS_ACTIVE_DATE s

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case when ((d.VENDOR = s.VENDOR) and (d.COMPANY_CODE = s.COMPANY_CODE)))

    )

    then "MATCH".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    else 'UPDATE '.

    chck end)

    from (select * from VENDORS_ACTIVE_DATE where COMPANY_CODE = 2) s

    full outer join (select * provider where COMPANY_CODE = 2) d

    on (d.COMPANY_CODE = s.COMPANY_CODE AND s.COMPANY_CODE = 2)

    ) d

    WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.chck in ('UPDATE', 'GAME', 'DELETE'))

    WHEN MATCHED THEN

    UPDATE SET s.VENDOR = d.VENDOR

    WHERE d.chck in ('UPDATE', 'DELETE')

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (SELLER, COMPANY_CODE)

    VALUES (d.VENDOR, d.COMPANY_CODE)

    Work request: (deleted the duplicate data in tables (source and target))

    MERGE IN VENDORS_ACTIVE_DATE s

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.ACTIVEDATE, s.ACTIVEDATE) ACTIVEDATE.

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case when ((d.VENDOR = s.VENDOR))

    - AND D.ACTIVEDATE = S.ACTIVEDATE

    and NVL (d.ACTIVEDATE, trunc (sysdate)) = NVL (s.ACTIVEDATE, trunc (sysdate))

    and (d.COMPANY_CODE = s.COMPANY_CODE)

    )

    then "MATCH".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    else 'UPDATE '.

    chck end)

    from (select * from suppliers where COMPANY_CODE = 2) d

    full outer join (select * from vendors_active_date where COMPANY_CODE = 2) s

    on (d.COMPANY_CODE = s.COMPANY_CODE and s.vendor = d.vendor)

    ) d

    WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.VENDOR = s.VENDOR AND d.chck in ('UPDATE', 'GAME', 'DELETE'))

    WHEN MATCHED THEN

    S.ACTIVEDATE = UPDATE SET d.ACTIVEDATE

    WHERE d.chck in ('UPDATE', 'DELETE')

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (VENDOR, ACTIVEDATE, COMPANY_CODE)

    VALUES (d.VENDOR, d.ACTIVEDATE, d.COMPANY_CODE)

  • Enter the source id of lov at the advanced table bean

    Dear frends,

    I'm developing a customized page of the FPÖ. I have a chart of progress in that. lov 2 is there in the advanced table.

    I used a code to capture the event lov as shown below

    If (PageContext.isLovEvent ())
    {
    String lovInputSourceId = pageContext.getParameter (SOURCE_PARAM);
    pageContext.writeDiagnostics ("in the process form request source of real input id Lov",":"+ lovInputSourceId, 1 ");

    If ("OrganizationName". Equals (lovInputSourceId))

    {

    to do

    }

    If ("CustomerName".equals (lovInputSourceId))

    {

    to do

    }

    }

    But I get the id of source with the index as lov

    TableRN:OrganizationName:0

    TableRN:OrganizationName:2

    etc...

    How could I capture the source id of lov with respective index in advanced table?

    Kind regards

    Tarun

    Dear Sandeep,

    I tried to create dependent lov similar, so I got the answer for this...

    https://blogs.Oracle.com/prajkumar/entry/implement_dependent_lov_in_oa

    Kind regards

    Tarun

  • Impossible to get a stable set of rows in the source tables

    Hi guys,.

    I use the following query to fusion in a stored procedure.
       MERGE INTO tt_OPEN_IN_TMP B
       Using (Select * From Tt_Sl_Fifo) A 
       ON ( A.Store_Code = B.Store_Code
         AND A.item_code = B.item_code
         And A.Packing = B.Packing
         And A.Serial_No = B.Serial_No )
       When Matched Then Update Set Opn_Fifo_Cost = A.Rate_Bc;
    The procedure raises error * "Unable to get a stable set of rows in the source tables" * as a result of the query. But if I run the query individually, it works very well. Please help me solve this problem.

    Thank you
    RAM.

    The error is due to what there is in double store_code, item_code, packaging, combination of serial_no in the Tt_Sl_Fifo table. If there are multiple records with the same store_code, item_code, packaging, serial_no Oracle has no way to determine which to use for the update. If you know that there is whenever duplicates they will all have the same column of rate_bc then instead of using

    (select * from tt_sl_fifo)
    

    use

    (select distinct store_code, item_code, packing, serial_no, rate_bc from tt_sl_fifo)
    

    Or if there is other criteria, like a date column, you can use to determine what is the one you want to use to day then you can use something like

    (select store_code, item_code, packing, serial_no, rate_bc from tt_sl_fifo
      where (store_code, item_code, packing, serial_no, add_date) in
           (select store_code, item_code, packing, serial_no, max(add_date)
              from tt_sl_fifo group by store_code, item_code, packing, serial_no))
    
  • Sorting dynamic data to display on the lines of the specific web table.

    I am building a reservation application simple appt. On one page, I have a table, with the first column being hourly appt for every 15 minutes.

    08:00

    08:15

    08:30

    and so on. I have every time as a link to book an appt spending time as a url parameter to the booking page (which works fine).

    I'm strugging with the sort of appointments that exist in the database with the time slot for it on the table of the web page, making it visually appealing to the end user.

    08:00

    08:15 some existing appointment

    08:30

    I'd be fine if a repeat region would work, corresponding to a hidden field with the static time value to the record returned by SELECT, but I don't know how to coorelate the two. Open nominations leaving blank slots, which makes a single view of their day.

    Thanks in advance for any help!

    > I've created a table appt_tm where each

    > column is an increment of time different 15 min

    N ° your appt_tm table must have a single column - appt_time. You add a line for each time slot. Then you simply outer join the appt_time column in the appt_tm table to the table of the appts.

    > appt_hr | ClientName. type | appt_day | appt_month | appt_year

    Why do you appt day, month and year of columns? Why not just use a date field?

  • Can we do a line read only in the advanced table?

    Hello

    We have an obligation where the user wants to the first line of a table advanced to readonly, and remaining lines as editable lines. Can someone please let me if we can achieve this?

    Thanks in advance.

    Solène

    Hello

    Yes, you can set row as read only in the table in advance.

    Steps to follow:
    (1) take the attribute Transient seen as ControlReadonly (Boolean Type) in the attached with advanced table view object.
    Note: Your all the lines will have now a new attribute called ControlReadOnly.

    (2) using the property read only set SPELL on each field of your advance deposited the region.
    as ReadOnly ${oa.. ControlReadOnly}

    (3) the loading of the page, in the query itself process you can set the attribute to True and if you need frontline to travel up to the end of the rows in the table and set the value to False for ControlReadOnly.
    ex: line = vo.first ();
    row.setAttribute ("ControlReadOnly", Boolean.TRUE);

    Kind regards
    Swati.

Maybe you are looking for

  • The Boot Camp Assistant problems

    I'm trying to install 10 Windows on my MacBook Pro 13.3 2015 "running Mac OS X El Capitan (10.11.2) but I can't not (for software that is not supported by Mac OS X). I tried several times but it still says that my disk space is not enough (don't reme

  • With Vista Lexmark printer problems

    Vista problems. My Lexmark X 5495 locks up with Vista. The Spooler subsystem error. It will print, then stop. I have to restart to the freezing of the United Nations to the printer. Is there a Vista to the Lexmark printer driver

  • Initial installation of the HP OfficeJet 8600 problem

    I tried to install my new HP OfficeJet 8600.  But it keeps looping of the animation of ink cartridge over and over and over and over and over.  I inserted and reinsert the cartridges several times.  I even removed and then reinserted the ink transpor

  • Update KB3161102

    Hello Windows Update, update KB3161102 is offered as an optional update recommended for my Windows 7 Home Premium SP1 32-bit of the system.   On the study, I discovered is the update to allow the elimination of the component of Windows Journal which

  • Get a Stack Trace?

    If I debug my application on a real device and a runtime exception occurs, is there a way to get a stack trace or more information on where it happened? Thank you Travis