AF:selectOneChoice returns only in the rows

Hi all

I created an af:selectOneChoice on the page. The underlying query returns lines > 50, but when I run the page from the drop-down list shows only 25 values. Can you please how to remove this restriction and view all rows returned by the underlying query of the VO.

Hello

on the iterator in the PageDef file, set the property of RangeSize-1 (default in JDeveloper previos versions is 25). The value - 1 will extract all lines

Frank

Tags: Java

Similar Questions

  • Returns all of the rows matched and unmatched table

    Hello:
    I have a table that have senders A, B and D. This is my script that returns all the shippers have those amounts:

    Select sender,
    flat amount
    from TABLE1
    where the sender in ('A', ' B', 'C', ' d ', 'E')
    Group by sender
    order of the sender

    Amount of the sender
    -------------------------
    A 10
    B 40
    D 50

    But I need the output as below:

    Amount of the sender
    -------------------------
    A 10
    B 40
    A r
    D 50
    E 0

    Can someone help me?

    Thanks for advance/Razin

    Hi, Razin,

    Outer join a table (or, as in the example below, as a result set) which contains a line for each sender you want displayed to your actual table, like this:

    WITH     all_senders     AS
    (
         SELECT  'A' AS sender  FROM dual  UNION ALL
         SELECT  'B'                FROM dual  UNION ALL
         SELECT  'C'                FROM dual  UNION ALL
         SELECT  'D'                FROM dual  UNION ALL
         SELECT  'E'                FROM dual
    )
    SELECT       a.sender
    ,       NVL ( SUM (t.amount)
               , 0
               )               AS total_amount
    FROM                 all_senders  a
    LEFT OUTER JOIN      table1           t  ON   a.sender  = t.sender
    GROUP BY  a.sender
    ;
    

    If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.

    You already have a lookup table that contains one row for each possible sender. If so, you can use it instead of the above subquery. (If you do not already have such a table, think about creating one).

  • Display shuts off and comes back only when the Satellite A210 is restarted

    Hello

    Satellite A210 display goes off in time and returns only when the computer is restarted.
    Duration usual DURATION 30 or 45 minutes

    Please advice
    # Is it a hardware or software problem?
    # Some other face same problem brings advice?

    The machine is a year and a half old runs windows vista Basic that comes with it.

    I reinstalled the drivers card display also the problem remains same

    Hello

    Have you tried an external monitor on the laptop?
    If the external monitor works fine, it seems to be a problem of internal display and must be replaced.

    You use the factory settings on your laptop computer or you have installed your own version of Windows? Before turning to an authorized service provider, you need to restore factory settings to determine if it s a hardware or software problem. With the factory settings, everything should work fine and if not, I think it s a hardware problem.

    Check this box!

  • Discover with function as datasource returns only the first line.

    Hello

    I created the following function to get the status of all the rules for the instances of SQL Server.

    The data type of the function output has been configured as 'List of SQLInstanceRuleStatuss', where SQLInstanceRuleStatuss is the custom type, I created in the same module.

    When I tested the function, it returns all instances of SQL Server with two other columns.

    But when I try to create a view with the Rows property that is configured to use the feature, it returns only the first line:

    sqlRules = new ArrayList();

    queryStatement = server. QueryService.createStatement ("(DBSS_Instance)");

    queryResult = server. QueryService.executeStatement (queryStatement);

    for (it in queryResult.topologyObjects)

    {

    sqlRule is functionHelper.createDataObject ("westjet_mark_dev:SQLInstanceRuleStatus", "none", "test");.

    sqlRule.instance = it;

    sqlRule.ruleName = 'test rule name';

    sqlRule.status = false;

    sqlRules.add (sqlRule);

    }

    Return sqlRules;

    Did I miss something?

    Thank you

    Mark

    Mark,

    I think I forgot something

    sqlRule=functionHelper.createDataObject("westjet_mark_dev:SQLInstanceRuleStatus","none","test");

    you create the test id

    change your line of

    sqlRule=functionHelper.createDataObject("westjet_mark_dev:SQLInstanceRuleStatus","none",null);

    This should allow the creation of a single object in your loop for

  • Value of ADF SelectOneChoice returns the index

    Hi all

    I need to retrieve the value of SelectOneChoice and use it in our code more far. But when I use #{bindings. InterfaceName.inputValue} jspx it returns index page.

    Mentioned this linkget value of ADF selectOneChoice and I tried the options but no use below:

    (a) valuePassThrough = 'true '.
    (b) when I use DCIteratorBinding, getBindingsForDCB() method is not supported.

    Please let me know how to select the actual value of SelectOneChoice instead of the index. Can anyone help.

    Thank you.

    Try this

    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = null;
    bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = null;
    dciter = bindingsImpl.findIteratorBinding("YourIterator");// your lookup iterator
    Row temp = dcIter.getRowAtRangeIndex((Integer.parseInt(valueChangeEvent.getNewValue().toString())));
    String strADF= temp.getAttribute("yourAttribute").toString(); 
    

    It works for me
    just added the complete code

    or you can check out this site:
    http://www.Oracle.com/technetwork/developer-tools/jdev/listbindingvalue-088449.html

    Published by: M.Jabr on February 2, 2011 07:50

  • Return only the hits that corresponds to 3 or more keywords in the search string

    I created a Multi context column index that works as expected.

    In my application, I would like to be able to search using the following (or similar) string:

    "man dog cat tree fetch stick."

    And I would like to return only results that contain 3 or more words. That is to say, any result which contained 'man' and 'dog' and 'stick' would be a match, but the results which contained only "fetch" and "dog" wouldn't.

    Can anyone think of a way to create such a feature?

    Thank you very much in advance for your suggestions.

    Andy

    The "accum" operator (shortened - ",") could help here. Accum is set such that several results are guaranteed to produce a higher score than the terms less. He did this in 'zoning' results - if you do a search of accum for two words, then suddenly will always score in the range 1-50, and and two hits will always be in the range of 51 to 100.

    You can so work with your terms of six search, the result will be something like:
    1 Word hit 1-16
    2 words hit 17-33
    3 words reached 33-50
    4 words hit 51-83
    5 words hit 84-100

    So the search for at least three words is: CONTAINS (col, ' man, dog, cat, stick, tree, look for ") 32 >

    See the complete example below:

    SQL> drop table foo;
    Table dropped.
    
    SQL>
    SQL> create table foo(bar varchar2(60));
    Table created.
    
    SQL> insert into foo values ('man dog');
    1 row created.
    
    SQL> insert into foo values ('man dog cat');
    1 row created.
    
    SQL> insert into foo values ('man dog cat stick');
    1 row created.
    
    SQL> insert into foo values ('man dog cat stick tree');
    1 row created.
    
    SQL> insert into foo values ('man dog cat stick tree fetch');
    1 row created.
    
    SQL> create index foobar on foo(bar) indextype is ctxsys.context;
    Index created.
    
    SQL> select score(0), bar from foo where contains (bar, 'man , dog , cat , stick , tree , fetch', 0) > 0;
    
      SCORE(0)    BAR
    ----------    ------------------------------------------------------------
         17    man dog
         34    man dog cat
         51    man dog cat stick
         67    man dog cat stick tree
         84    man dog cat stick tree fetch
    
    SQL> select score(0), bar from foo where contains (bar, 'man , dog , cat , stick , tree , fetch', 0) > 32;
    
      SCORE(0)    BAR
    ----------    ------------------------------------------------------------
         34    man dog cat
         51    man dog cat stick
         67    man dog cat stick tree
         84    man dog cat stick tree fetch
    

    Of course you don't know the terms of research beforehand how many there are, in this case, you'll need to do the calculation, or use a lookup table to understand what are the limits of the partition.

  • return only the decimal value

    What function can I use to return only the decimal value of a formula

    (97 * 2.2) / 14 value returns 15.24

    I only want to use le.24

    Salvation is

    Use the formula - INT (formula)

    In the special case above:

    =(97*2.2)/14 - INT ((97*2.2)/14)

    You see two places to the right of the decimal separator in reason to be rounded off to the value real, in the shape of the cell to only show as two decimal places, either by setting the width of the cell close enough to force the rounding of the displayed value.

    Note that if the result is rounded (using the ROUND function) the actual value of the cell will be the rounded value. For the other two cases, the value displayed indicates only two decimal places, but the real value in the cell (and the additional calculations used by referring to this cell) is 0.242857142857144, which could lead to surprises in the results of the calculations downstream.

    Kind regards

    Barry

  • Lost normal Explorer... says failed... can only get the shortcut... How can I return... thanx

    Lost normal Explorer... says failed... can only get the shortcut... How can I return... thanx

    You don't say what Explorer!
    There are Explorer Windows and Internet Explorer.

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    See you soon.

    Mick Murphy - Microsoft partner

  • Error creating a salary. ORA-01422: exact fetch returns more than the requested number of rows in the hr_maintain_proposal_swi procedure insert_salary_proposal package

    Hi all

    We try to add new proposal for a salary of some employees from form August 1, 2015 (the Date of the beginning of employee)

    There is no existing salary proposal doesn't exist for these employees.

    We get below error.


    ORA-01422: exact fetch returns more than the requested number of rows in the hr_maintain_proposal_swi procedure insert_salary_proposal package


    Help, please.

    Thank you

    Tarun

    Hi John,.

    If it helps, take a look at the following note:

    ORA-01422 exact Fetch returns more than number of lines requested in Hr_maintain_proposal_swi (Doc ID 1673527.1)

    Kind regards

    Rajen

  • Insert only one cell in a table (not an extra set of the row or column)?

    I have problems by performing an easy Assembly. I need to insert a a 'CELL', but I am only considered the possibility to insert a set 'ROW' or 'COLUMN '. I would just insert a cell and the rest of the content below it moves accordingly. Help, please!

    There is no way to put it while you just insert a cell and everything moves along after that cell?

    Simple answer is 'no '. I'm sorry.

    InDesign tables are not good for juggling data. If you have a project that requires single-cell-integration on a regular basis, I suggest to make your table outside InDesign in an application with tools more easy table-cell-juggling (Excel comes to mind here) and then perfecting you use table and cell styles make it easy to update. Of course, it will always be a concern, but the hassle can be minimized.

  • Foreach returns only the first line of a dataset object

    Hello, guys.

    I am having trouble with a procedure in Oracle 9.2.0.1.0.

    I have a query that returns the number of lines, but whenever I try to browse by using a foreach loop, I only get the first line and then the loop is completed.

    For example, here's the query:

    select 
          (
            CASE
              WHEN
                TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'),'DD/MM/YYYY') < DATE '2009-01-01'
              THEN DATE '2009-01-01'
              ELSE
                TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'), 'DD/MM/YYYY')
              END
          ) startdate,
    
    
          (
            CASE
              WHEN
              TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level) -1,'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'),'DD/MM/YYYY') > DATE '2009-06-08'
              THEN DATE '2009-06-08'
              ELSE 
              TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level) -1,'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'), 'DD/MM/YYYY')
              END
          ) enddate
         
        FROM dual
        CONNECT by trunc(DATE '2009-06-08','dd') >= add_months(trunc(DATE '2009-01-01','dd'),level - 1)
    

    Who shows me this output:

    STARTDATEENDDATE
    01/01/20092009-01-31
    02/01/200928/02/2009
    03/01/200931/03/2009
    04/01/200930/04/2009
    05/01/200931/05/2009
    06/01/200906/08/2009

    But whenever I run this code:

      for rec in
      (
        select 
          (
            CASE
              WHEN
                TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'),'DD/MM/YYYY') < DATE '2009-01-01'
              THEN DATE '2009-01-01'
              ELSE
                TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'), 'DD/MM/YYYY')
              END
          ) startdate,
          (
            CASE
              WHEN
              TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level) -1,'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'),'DD/MM/YYYY') > DATE '2009-06-08'
              THEN DATE '2009-06-08'
              ELSE 
              TO_DATE(
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level) -1,'dd') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'mm') || '/' ||
                to_char(add_months(trunc(DATE '2009-01-01','mm'),level - 1),'yyyy'), 'DD/MM/YYYY')
              END
          ) enddate
         
        FROM dual
        CONNECT by trunc(DATE '2009-06-08','dd') >= add_months(trunc(DATE '2009-01-01','dd'),level - 1)    
      )
      loop
        DBMS_OUTPUT.put_line(TO_CHAR(rec.startdate, 'YYYYMMDD') || '-' || TO_CHAR(rec.enddate, 'YYYYMMDD'));
      end loop;
    

    I get this result:

    20090131 20090101

    I tried debugging and I checked that the loop runs that once, and then passes the end of loop. I'm doing something wrong?

    Thank you!

    Best regards

    Vinicius

    Try:

    for rec in

    (

    Select * from (select

    (

    CASE

    WHEN

    TO_DATE)

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "jj"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "mm"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), 'yyyy'), "DD/MM/YYYY")< date="">

    THEN DAY ' 2009-01-01'

    ON THE OTHER

    TO_DATE)

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "jj"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "mm"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), 'yyyy'), "DD/MM/YYYY")

    END

    ) startdate.

    (

    CASE

    WHEN

    TO_DATE)

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm') and level)-1, "dd"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "mm"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), 'yyyy'), ' DD/MM/YYYY') > DATE '' 2009-06-08

    THEN DAY '' 2009-06-08

    ON THE OTHER

    TO_DATE)

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm') and level)-1, "dd"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), "mm"). '/' ||

    TO_CHAR (add_months (trunc (DATE ' 2009-01-01', 'mm'), level - 1), 'yyyy'), "DD/MM/YYYY")

    END

    ) enddate

    OF the double

    CONNECT by trunc (DATE 2009-06 - 08 ',' dd') > = add_months (trunc (DATE 2009-01 - 01 ',' dd'), level - 1)

    )   )

    loop

    Dbms_output.put_line (TO_CHAR (rec.startdate, 'YYYYMMDD') |) '-' || To_char (rec.enddate, 'YYYYMMDD'));

    end loop;

    SY.

  • Process.exitValue () returns only the low byte of the exit code?

    Hi - I am executing a sub-process and then wait until he comes back and then examining the exit code of the subprocedure. The error returns the subprocess is 0xb03, but exitValue() doesn't see that 0x03. Other tests show that if I return my native process 0xbff, exitValue() or waitFor() return only 0xff. I've expanded it as a result of back 0xfffffbff, and of course, the methods of process only return 0xff.

    Someone knows what the deal is here? The return type for exitValue() and waitFor() are the two "int", so it seems reasonable to be able to return values to 0xffffffff. Is there a way to set up to prosecute the full int?

    Thanks for any idea.

    Exactly. UNIX and Linux that support 8-bit output code. The top 8 bits are reserved for an indication of normal speed.

  • Explain the rows returned in a group plan of

    I have a (select statement) that returns 18 rows.

    wrap a select statement that is nested in a group by around it

    Select col_a, col_b of
    (select statement)
    Group of col_a, col_b

    Returns even 18 rows as expected

    explain that she and I see the 18 rows returned to Id 2 and the Group hash by, and then select lines 1.
                        
    ------------------------------------------------------------------------------------------------------------------------------------------------------                              
    | Id  | Operation                                   | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                              
    ------------------------------------------------------------------------------------------------------------------------------------------------------                              
    |   0 | SELECT STATEMENT                            |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                              
    |   1 |  HASH GROUP BY                              |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                              
    |   2 |   VIEW                                      |                                |    18 |  1710 |       | 90896  (75)| 00:00:02 |       |       |        
    reason Im asking is I rewrote the SQL code in the internal instruction for adjustment purposes and I get even 18 rows as expected but now I have 2 lines referred to the hash group by.
    -----------------------------------------------------------------------------------------------------------------------------------------------------                               
    | Id  | Operation                                  | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                               
    -----------------------------------------------------------------------------------------------------------------------------------------------------                               
    |   0 | SELECT STATEMENT                           |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                               
    |   1 |  HASH GROUP BY                             |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                               
    |   2 |   VIEW                                     |                                |    18 |  1710 |       | 82656  (80)| 00:00:02 |       |       |                               
    ..
    ..
    In regards to plans above that "lines" means for the hash group by.

    These are just estimates, not actually the rows returned.

    Sometimes, you can make this small change and a kind of funny the optimizer calculation may change.

    But that's just an estimate.

  • Where with to_date returns only the data a month

    SELECT col1, col2 FROM bill WHERE
    trunc (TO_DATE(time_stamp, 'yyyy/mm/dd HH:MI:SS AM') = trunc (TO_DATE('2012/01','yyyy/mm');

    This only returns data for the first day of the month data and the need for a month.

    user2002208 wrote:
    Tank (14) and the sample data 20120204103342 and 20120204152550

    IMPERFECT, not professional & fully amateur 'design '!

    NEVER store DATE in the column of type CHAR, VARCHAR2 or NUMBER!

    SELECT col1, col2 FROM bill WHERE substr (time_stamp, 1, 6) = '201201';

  • Display the values only in the total row

    It is possible to not show the column values in the rows of a table, but only in the total row?

    That is to say. I have a table like this:

    | * col1 * | * col2 * | * col3 * |
    | Val.a | 3 | 1 |
    | Val.b | 3 | 1 |
    | Val.c | 3 | 1 |
    | * tot * | * 3 (avg) * | * 3 (sum) * |

    I want to show this:

    | * col1 * | * col2 * | * col3 * |
    | Val.a | | 1.
    | Val.b | | 1.
    | Val.c | | 1.
    | * tot * | * 3 (avg) * | * 3 (sum) * |

    the reason is that the col2 values are not significant at the level of the line, but only at the total level.

    There is a way to do this in a table of Obiee or PivotTable?

    Thank you

    Luca

    Yes.
    There is code breaking too ;)

    Sigma sigin on PivotTable-> Format values-> text-decoration: none;
    For the column using the style css: color:rgb (242,245,249); or use display: none;

    Pls correct brand

Maybe you are looking for

  • Option for "warn me when sites try to charge ' does not work?

    Firefox 37.0.1 (and all of my previous installations) for MacOS X 10.7.5. I would have thought that such a simple case of reload javascript has been covered. For example, drudgereport.com charge always annoyingly all few minutes in its header: var ti

  • How to upgrade browser

    Yahoo 7 is running on the basis and pray that I update my browser. How to go about it.  I have a Max OS X Version 10.6.8. Thanks, Anne

  • Drive recovery for Tecra A3X

    I damaged my recovery dvd (Dutch version). Someone has a left, or a copy?

  • India: Slow service by motorola

    I am Abhishek Rathore. I am owner of Moto X 1st generation. The screen of this phone broke and I gave it to service authorized to Magne Road, Center Jaipur. The estimated cost of repairs was around Rs.8500 and I was willing to pay for it. The date I

  • I can't KB2804527 (4.2.223.1) update my computer it has errored continuiously.

    This update has been continually mistake from day one.  I have automatic updates and I tried manually, and I don't know what else to do.  Will not be installed.  Help