Selection problem on click-to-edit multiple select table

We have a af:table with following properties:
- rowSelection="multiple"
- editingMode ="clickToEdit"
If you click on a row to select it, then scroll down so new data is being fetched, then press shift and click on an other row (to select multiple rows), only the last row is selected.
Did anybody have the same problem? How can it be fixed?
Version: 11.1.1.6.0

I've been looking into this issue.
If you click on the first row to select it, then scroll down to the last row so new data is being fetched, then press shift and click on an other row (to select multiple rows), only the last row is selected.
This behavior can be reproduced in a simple ADF Table based on the Employees Table.
In both 11.1.1.6 and 11.1.1.7 the first row and the last row are selected. All rows in between are not.
If you surround the table with a panelCollection, the footer of the panelCollection shows "1 row selected".
However, in getSelectedRowKeys() all keys are present. Looks like the rows are being selected but the UI does not reflect this !
Very annoying for end users.
If I change clickToEdit to editAll it works perfectly and all selected rows are highlighted.
The footer of the panelCollection shows "107 rows selected".
Looks like a bug right ?

Similar Messages

  • Problems with Click a row in the Table

    Dear All,
    I am new to Java GUI. I got some problems with clicking the row in a table.
    My table allows the user to delete some rows fromt the table. When the user click a row or some rows in my table, the delete button should be enabled. It does work in most of the time. But sometimes, even the row being hight lighted, the button is still not enabled.
    Do you have any idea for what can cause this problem?
    What I did is :
    1. add a mouse listener to the table
    _userTable.addMouseListener(new java.awt.event.MouseAdapter()
    public void mouseClicked(MouseEvent e)
    userList_mouseClicked(e);
    2. then, if the row being selected is > 0, I will enable my delete button.
    Can anybody help?
    Thanks!

    Dear All,
    I am getting problems with single selection in a table. Although I have set the selection model to single, if I select a row int the table and then depress Ctrl/Shift multiple rows are selected.
    The code for set single selection is :
    ListSelectionModel seleModel = myTable.getSelectionModel();
    seleModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    Any idea about this? Is this a bug in JAVA?
    Thanks!

  • Problem getting all parameters from multiple select

    I have a multiple select option box that's properly displaying all the values. I'm using getParameterValues() to retrieve all of the selections but it returns the string[] with only the first selection made.
    JSP:
    <select name="selectList" multiple="true" size="2">
    <option value="value1"> Select 1
    </option>
    <option value="value2"> Select 2
    </option>
    </select>Servlet:
    String[] subset = request.getParameterValues("selectList");I think all my code above is fine. Anything else that would cause getParameterValues() to only return the top selected item?
    Thanks!

    The HTML cod is written in incorrect syntax, the browser nor the Server will understand.
    If you write it in XHTML then the proper syntax is:
    <select name="selectList" multiple="multiple" >
    If you write it in plain old HTML then the proper syntax is:
    <select name="selectList" MULTIPLE >
    (I'm not sure about this HTML syntax, but definitely the XHTML syntax shown above is correct)

  • Edit (Multiple) select by filename (batch select)

    As our customers are sending requests for prints by filename, it would be very convenient when it was possible to make a (multiple) selection by inserting a list of filenames.
    When receiving a list of filenames, I would copy-paste these filenames into a dialogue-box, and Lightroom would make the selection.
    0707_171933_112-RM
    0707_180833_130-RM
    0607_175853_224-RM
    0607_180105_232-RM
    0607_180153_234-RM
    The function would not look at the extension (the CR2 after the last dot), because that is irrelevant information.

    I just pasted
    2007-25-06_0067 2007-25-06_0069
    into Find, with Rule: Contains. It worked fine. You just have to remove the carriage returns...
    Rory

  • Selection-screen - add default value to multiple selection

    Hi,
    How I can add a default value for multiple selection, on a Select-options?
    Thanks in advance,
    Brian Gonsales

    By default, selection optoins are RANGES, therefore to fill these before display, in the INITIALIZATION section
      CLEAR: so_field, so_field[].
      so_field = 'IEQvalue'. append so_field.
      so_field = 'IEQvalue2'. append so_field.
      so_field = 'IEQvalue3'. append so_field.
    If you want ranges
      CLEAR: so_field, so_field[].
      so_field = 'IBT'. so_field-low = 'lowvalue'. so_field-high = 'highvalue' append so_field.
    *  ETC
    Edited by: Paul Chapman on May 15, 2008 9:30 AM

  • How to do lead select and double click on a row of table simultaniously ?

    Hello All,
    I am creating a freely programmed search help to search Material Number.
    i am displaying the values in normal table ( Not ALV ) on the search help popup.
    My requirement is
    when I select a row and click on OK button the Material number in that row is getting captured ( This is working fine for me)
    At the same time I also want to capture the value when user double cluck on the particular row.
    I am not able to do both on action methods simultaneously as I am getting syntactic error.
    i.e. When I create action method on the event "on_lead_select" and the event "On select"  and try to save Check & activate it throws error.
    Please find the screen shot below.
    Standard webdynpro component WDR_F4_ELEMENTARY was able to achieve this functionality some how, I have debugged it but didn't get the solution

    Hi,
    There is no double click provision. In the table you could change the cell editor of column to LinktoAction UI, then onclick of that you can set the selected value.  And in the component WDR_F4_ELEMENTARY its not a normal table UI but its a CTable UI, you can try creating a CTable and create an Action for onSelect.
    Regards,
    Kiran

  • Sql Problems, Same Field Names In Multiple Mysql Tables?

    I have a keyword search that searches multiple DB tables for thumbnail images using UNION ALL. I have two pages, results.php, and view.php.  My goal is to able to click a thumbnail image on results.php and be directed to a larger version of that same image on view.php. The problem is each image in all my tables uses the field name "id" so when I click a thumbnail on results.php I get two different images with the same id from different tables.  I tried changing the id's to different names, but when it was time to pass url parameters I can only choose 1 value. (if you can choose more than 1 I don't know how).  So my question is why are my id's from different tables being grouped together, and how can I change this?
    Image Results Page (which works perfect):
    SELECT *
    FROM table1
    WHERE keyword LIKE %colname% OR id  LIKE %colname% 
    UNION ALL
    SELECT *
    FROM table2
    WHERE keyword LIKE %colname% OR id  LIKE %colname% 
    View Image Page (having problems here):
    SELECT *
    FROM table1
    WHERE id = colname
    UNION ALL
    FROM table2
    WHERE id = colname

    Yes, that is going to be a problem - and it's just the beginning of your problems when you do not normalize your data. Your data model is not correct. You should not be storing similar data in 15 tables - it's a really big mistake.
    To solve your current problem you would need to include a table identifier in the query results in the Image results page, and pass that to the view page and then use PHP to dynamically create the SQL with the correct table....ugh!

  • Numbers: how to edit multiple "sheets" "tables" all at the same time

    I have read earlier posts from 2004 about this topic. Hoping things have changes.
    I have 19 sheets/tables in a numbers file "Pigeonrecords.numbers". I would like to globally alter all of them a one time as new columns or rows are needed and or data that applies to all the sheets/tables. How do I do that?
    Thank you.

    You can do a few things. For instance, you can select all the tables you want to modify and you can add a new row or column to each.

  • Undo table selection on validation error (Click To Edit mode)

    Hi,
    I have a usecase where I should perform some validation on the row selection, if validation succeeds row selection should proceed as usual, otherwise the an error message should popup and row selection should be undone.
    The solution has been proposed and solved by Frank is working for me in editAll mode, but not in click to edit mode.
    Is any other configuration that we should do to achieve the same in click to edit mode of table?
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/adfUndoingRowSelection/adfUndoingRowSelection.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/100-undorowselection-onerror-1563372.pdf
    Thanks.

    I've been looking into this issue.
    If you click on the first row to select it, then scroll down to the last row so new data is being fetched, then press shift and click on an other row (to select multiple rows), only the last row is selected.
    This behavior can be reproduced in a simple ADF Table based on the Employees Table.
    In both 11.1.1.6 and 11.1.1.7 the first row and the last row are selected. All rows in between are not.
    If you surround the table with a panelCollection, the footer of the panelCollection shows "1 row selected".
    However, in getSelectedRowKeys() all keys are present. Looks like the rows are being selected but the UI does not reflect this !
    Very annoying for end users.
    If I change clickToEdit to editAll it works perfectly and all selected rows are highlighted.
    The footer of the panelCollection shows "107 rows selected".
    Looks like a bug right ?

  • After placing a new text box in my document, typing new text, clicking away, then coming back to edit the text, I am unable to get my cursor to reappear within that text box. I can only select the box itself. I cannot select the text. Where is my cursor?

    After placing a new text box in my document, typing new text, clicking away, then coming back to edit the text, I am unable to get my cursor to reappear within that text box. I can only select the box itself. I cannot select the text. Where is my cursor?

    Even simpler than that.
    Clicking once in a text box selects it.
    Clicking once in a selected text box places the insertion point in the box.
    The clicks do not need to be close enough in time to be read as a double click.
    The same behaviour applies to table cells in Pages and in Numbers.
    Regards,
    Barry

  • JTable Multiple Selection

    Hi,
    I am having a problem with the jTable's multiple selection.
    I apply cell renderers on a table's cells and also apply cell selection model on the table. I want to have mutliple row selection but I only get single selection.
    Could someone please explain why that is?
    Thanks
    Zweli
    <code>
    Utils.setupTableColumns(tblLookupProducts);
    Utils.setTableCellRenderer(tblLookupProducts, new CellToolTipRenderer(), -1);
    Utils.setCellFormatRenderer(tblLookupProducts, 5);
    Utils.setCellFormatRenderer(tblLookupProducts, 6);
    tblLookupProducts.setRowSelectionAllowed(true);
    cellSelectionModel = tblLookupProducts.getSelectionModel();
    cellSelectionModel.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    public class CellToolTipRenderer extends DefaultTableCellRenderer {
    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
    boolean hasFocus, int row, int col) {
    Component comp = super.getTableCellRendererComponent(
    table, value, isSelected, hasFocus, row, col);
    comp.setForeground(Color.black);
    comp.setBackground(Color.white);
    if (table.getSelectedRow() == row) {
    comp.setBackground(table.getSelectionBackground());
    comp.setForeground(Color.WHITE);
    setToolTipText(table.getModel().getValueAt(row, col).toString());
    return comp;
    * @author Zweli
    public class CellAlignmentRenderer extends DefaultTableCellRenderer {
    private int column;
    private NumberFormat currency = NumberFormat.getNumberInstance();
    private DecimalFormat df = new DecimalFormat("#,###,###,##0.00");
    private BigDecimal bd;
    public CellAlignmentRenderer(int column) {
    this.column = column;
    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
    boolean hasFocus, int row, int col) {
    Component comp = super.getTableCellRendererComponent(
    table, value, isSelected, hasFocus, row, col);
    comp.setForeground(Color.black);
    comp.setBackground(Color.white);
    if (table.getSelectedRow() == row) {
    comp.setBackground(table.getSelectionBackground());
    comp.setForeground(Color.WHITE);
    if (row != -1) {
    setHorizontalAlignment(SwingConstants.RIGHT);
    setToolTipText(table.getModel().getValueAt(row, col).toString());
    return comp;
    </code>

    Hello,
    Please edit your post and use proper tags.
    +if (table.getSelectedRow() == row) {+
    From the JTable API Javadoc:
    getSelectedRow()
    Returns the index of the first selected row, -1 if no row is selected.
    So this only returns +one+ index among all those selected.
    You could use <tt>getSelectedRows()</tt> (notice the +s+ !) instead, but there's a much better approach: guess what the +isSelected+ argument to <tt>getTableCellRendererComponent(...)</tt> stands for :o)
    Regards.
        J.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Multiple selection of parameter values (BIP 10.1.3.2)

    Hi there,
    I'm working with BI Publisher 10.1.3.2 and I'd like to use parameters allowing multiple selection. I've tried it with both data templates and SQL queries ... but I'm not getting it work ...
    I've established a simple "Show me department name and id"-example according to my parameter selection (you can select multiple values e.g. Administration, Marketing, Sales ... and the "All"-option is activated as well), based on the HR/OE schema.
    Here's just a quick note, where I tested the way the Publisher Engine copes with parameter selection in general
    5.6.2
    single selection => e.g. Administration
    multiple selection => e.g. Administration,Marketing
    All => *
    10.1.3.2
    single selection => e.g. Administration
    multiple selection => e.g. 'Administration','Marketing'
    All => null
    So, in 10.1.3.2 there's been an improvement concerning single quotes - in the case of multiple selection only. I do not know why there are no single quotes for a single selection, but it seems like that's the way it is ...
    Well, I've created a simple SQL query as follows:
    CASE 1 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter)
    => All does not work
    => Single Selection is working
    => Multiple Selection is working
    sample output in the case of selecting "Marketing" (single selection):
    <TESTINGIN>
    <myParameter>Marketing</myParameter>
    <LIST_DEPTS>
    <DEPTS>
    <_MYPARAMETER>Marketing</_MYPARAMETER>
    <ID>20</ID>
    <NAME>Marketing</NAME>
    </DEPTS>
    </LIST_DEPTS>
    </TESTINGIN>
    ... and I've tried the same select statement using a data template instead, and then I got another result: both, All and Multiple Selection, do not work (I'm getting back an empty element)
    sample (error) output in the case of selecting both "Marketing" and "Administration" (multiple selection):
    <TESTINGIN>
    <myParameter>'Administration','Marketing'</myParameter>
    <LIST_DEPTS></LIST_DEPTS>
    </TESTINGIN>
    In order to cover the "All"-case ... I manipulated my select statement as follows and used it as SQL query:
    CASE 2 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (nvl(:myParameter, DEPARTMENT_NAME))
    => All is working now
    => Singe selection is working
    => Multiple selection is not working any more (ORA-00909: Ungültige Anzahl von Argumenten / illegal amount of arguments)
    ... using the same select statement within a data template, Multiple Selection is still not working (empty element)
    Last, I've tried another select statement, based on an entry of the xml publisher forum:
    CASE 3 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter) or :myParameter IS NULL
    => All is working
    => Singe selection is working
    => Multiple selection is not working (ORA-00920: Ungültiger relationaler Operator / illegal relational operator)
    So, I couldn't find a way that all three possibilities are working ... and using data templates, multiple selection never worked. If I hardcoded the where clause in the data template,
    e.g. where DEPARTMENT_NAME IN ('Administration','Marketing'), it worked fine (no matter, whether I place the sql statement within an CDATA section, or not).
    Can anyone tell me, what I'm doing wrong here?
    While testing my problem, I figured out that there's a difference of generated parameter output ... I just put the parameter in the select list, and depending on whether you use SQL query or data template, you'll get different results:
    SQL statement
    => for each parameter value an own parameter
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER8093>Administration</_MYPARAMETER8093>
    <_MYPARAMETER8094>Marketing</_MYPARAMETER8094> in the case of multiple selection
    data Template
    => list of parameter values
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER>'Administration','Marketing'</_MYPARAMETER> in the case of multiple selection
    Maybe that's the problem? I don't know, this difference how the Publisher Engine copes with parameters just attracted attention to me ...
    Alright, I hope it was not too confusing. I would appreciate any help, since here @ the customer's site we need to use data templates inclduing multiple selection in order to establish a context for VPD.
    The problems in summary:
    - how to write a select statement to include all three possibilites of parameter selection (single selection, multiple selection, All option)
    - multiple selection never worked using data templates
    Can someone help me here?

    hi,
    i think you have to use lexical parameters and a package, like this:
    <dataTemplate name="departments" dataSourceRef="hr@demo" defaultPackage="bip_departments">
    <parameters>
    <parameter name="p_location_id" include_in_output="false" datatype="float"/>
    </parameters>
    <dataTrigger name="beforeReport" source="bip_departments.beforeReportTrigger"/>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ select d.department_id, d.department_name, d.location_id
                      from departments d
                     &p_where_clause
                order by location_id, department_id]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="LOC" source="Q1">
    <element name="location_id" value="location_id"/>
    <group name="DEPT" source="Q1">
    <element name="department_id" value="department_id"/>
    <element name="department_name" value="department_name"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    with package:
    create or replace package bip_departments
    as
    p_location_id long;
    p_where_clause long;
    function beforereporttrigger
    return boolean;
    end bip_departments;
    create or replace package body bip_departments
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    if (p_location_id is not null)
    then
    p_where_clause := 'where (d.location_id in (' || replace (p_location_id, '''') || '))';
    else
    p_where_clause := 'where 1=1';
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments;

  • Change Selection fields into Multiple Selection

    Hello,
    I would like to know if it is possible to change a standard Selection fields box into a Multiple Selection box.
    Example:
    In VA05, I have this (Further Sel.criteria > PO number)
    I want it to be like that (like in VA05N)
    Therefore, when I click on the Multiple Selection button, I have all the standard options as shown below:
    Any hint how it can be done would be appreciated.
    Thanks
    Regards

    click on 'Select Ranges' and you can able to eneter multiple ranges as you are looking.

  • Report painter Multiple selection criteria

    Hi all,
    i am facing problem that how to provide multiple selection 'exculde' options in report painters.can anyone help me in this?
    thank you,
    Anil.

    Please search for available information before posting, do not post basic questions.
    Thread locked.
    Thomas

  • How to add a new tab in Multiple Selections of Select Options

    Hello Experts
    I have a requirement where under the standard select options there is a button "Multiple Selections", when it is clicked there should be a new tab in which there will be a list of options generated based on some condition with checkboxs for the user to select.
    Need your help in implementing it.
    Thank you in advance.

    Hi Santosh Kumar,
               You just need to follow as what Max mentioned. Neverthless I shall provide you solution for the case which you mentioned.
    My Understanding ----
    CASE - You need to custom tab at seacrh helpl for Profit center [ as shown in the your screen shots]
    Solution -
    STEP 1 -You need to create a seacrh help which you need to display as in custom tab you required.
    STEP 2 - Figure out the seacrh help used for the standard data element.
    In your case  profit center, PRCTR --> uses collective search help PRCT.
    STEP 3 - Copy the standard search help PRCT into a custom one ,ZPRCT and include the custom search help which you have created in the STEP1.
    STEP 4 - Create a prorgam and use the search help which you created as match code object id
    Regards,
    Siva

Maybe you are looking for

  • Second monitor usage?

    Hi. Is there a way to have the thumbnails on monitor #1 and a full-screen image on monitor #2, like one can do in Aperture? Thanks, ALF

  • Anything new on temp issues on the 24 IMac's??

    Got a question not necessarily an issue and I've researched it quite extensively on the net. Finding ambiguous data concerning this and if possible I'd like the feedback from you folks before calling AppleCare. After buying my new 24 inch IMac and se

  • Smart objects rotating unexpectedly

    Hi All, I don't use smart objects very much, so I hope someone will save me the time of learning too quickly... I have a supplied .psd file which has several faults in method of construction by noobie, but the one throwing me is that two of the 3 or

  • Query - Replacement Path for a Customer Exit Variable

    Hi New to the field and the board.  Any and All help is greatly appreciated. I have created a query which runs based on a date selection. The query have few customer exit variables whose values are set in ABAP. All Key Figures in the query are brough

  • Is apple gonna do something about our battery?

    Hello, Doens anyone knows if apple is planning on doing something real about the iphone 4s battery problem? Its my first Iphone and I already regret from switching from the android. All those features have no use if the battery can't stand more then