Multiple selection over mualtiple tables in one panel.

GUI is having 3 JTables placed in one JPanel.
User is able to select one row fron each table using mouse over a row and drag it. How this can be stop ????
Step :-
one JPanel (Ex. jp).
Three JTable (ex. jt1, jt2 and jt3)placed in above JPanel.
No row is selected from any table.
Select one row from jt1.
Go to jt2 press mouse over one row and drag it(don't release mouse.)
after coming out of row release.
Same action can do with jt3 also.
But this is not required one.
Provide the solution that user must not be able to select row form more than one row at a time.

It appears there is no solution out there but I did manage to find something else for myself:
I now use only two desktops, each one is fixed to one monitor and through this, tint2 splits it in half which actually is pretty nice, since I can now switch around windows on monitors via taskbar.
Should the need for more desktops arise, I will probably use some kind of composite cube or something which will provide the functionality, too.

Similar Messages

  • Toggling between single and multiple selection in a table

    I am working on ADF faces. I need to switch between single and multiple selection in <af:table based on a button I select.
    I cannot use switcher or rendered property inside <af:table. Only the first one is rendering the second one is not rendering based on the switch
    <f:facet name="selection">
    <af:tableSelectMany autoSubmit="true"
    rendered="#{treeBean.multipleRows}"/>
    </f:facet>
    <f:facet name="selection">
    <af:tableSelectOne autoSubmit="true"
    rendered="#{treeBean.singleRows}"/>
    </f:facet>
    When I use inside the switcher, it doesn't like the parent.
    Any ideas would be greatly appreciated.
    Thanks,
    Vijay.

    I have probably misunderstood what your issue is. I do not know what your version of ADF faces is. Here is some sample code working with my version. Please check if your jdev has "rowSelection" attribute. If it has, please try my sampe code
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>
    <f:view>
    <af:document title="tableSelectMany Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <af:messages/>
    <af:selectOneChoice value="#{sessionScope.tableSelection}"
    autoSubmit="true"
    id="selType"
    label="Selection Type">
    <af:selectItem label="Single" value="#{null}"/>
    <af:selectItem label="Multiple" value="#{true}"/>
    </af:selectOneChoice>
    <af:table summary="Periodic table"
    binding="#{tableActions.table}"
    partialTriggers="selType"
    rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}"
    value="#{periodicTable.tableData}" var="row" rows="10">
    <af:column>
    <f:facet name="header">
    <af:outputText value="Name"/>
    </f:facet>
    <af:outputText value="#{row.name}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Symbol"/>
    </f:facet>
    <af:outputText value="#{row.symbol}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Action Column"/>
    </f:facet>
    <af:commandButton immediate="true" text="Action"
    action="#{row.action}"/>
    </af:column>
    </af:table>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Adding a Multiple Selection to a Table Dynamically on Process Request

    Dear All
    I am trying to get a selected row in a Table in an Oracle Seeded page. I have tried Row reference but was not successful.Hence I an trying to add the Multiple selection to the same table . Please help.
    The code I tried is
    OATableBean tabObj=(OATableBean) webBean.findChildRecursive("partCompanyVO1");
    if(tabObj!=null)
    System.out.println(" Not Null ");
    tabObj.setSelectionDisabledBindingAttr("Disabled");
    tabObj.setSelectionDisplayed(true);
    tabObj.setControlBarDisplayed(false);
    tabObj.prepareForRendering(pageContext);
    OAWebBeanTable tableSelectionBean = (OAWebBeanTable)tabObj.getTableSelection();
    System.out.println(" tableSelectionBean "+tableSelectionBean);
    OASingleSelectionBean tabSingleSelObj=(OASingleSelectionBean)tabObj.getTableSelection() ;
    System.out.println(" tabSingleSelObj "+tabSingleSelObj);
    if(tabSingleSelObj!=null)
    tabSingleSelObj.setText("Select Object");
    System.out.println(" Selection is Enabled ");
    }

    Antony,
    You will be able to get all the selected rows using
    Row[] selectRows = VO.getFilteredRows("Flag","Y") ;
    Regards,
    Gyan
    www.gyanoracleapps.blogspot.com
    www.querenttech.com

  • Union select over temp table

    Hi,
    I have a question about the best solution in selecting data from two tables and one of it is a temp table.
    If ID is found on both tables, only the temp_table row should be selected. My solution looks like:
    ORIG_TABLE
    PK_ID
    Data1
    Data2
    status_cd
    TEMP_TABLE
    PK_ID
    Data1
    Data2
    status_cd
    select data1, data2, status_cd from ORIG_TABLE
      where pk_id not in (select pk_id from temp_table)
    union
    select data1, data2, status_cd from TEMP_TABLEI wonder if there is an easier way in selecting data like that.
    Thanks ahead,
    Tobias

    Tobias Arnhold wrote:
    I wonder if there is an easier way in selecting data like that.I think your current apporach is probably the best solution (You may want to replace UNION with UNION ALL though depending upon whether you expect (and need or not) duplicate records). You may want to keep an eye on the execution plan of the query using NOT IN if the temp table is a GTT (global temporary table) since maintaining statistics on a GTT can be tricky.
    Edited by: user503699 on Nov 4, 2010 3:20 PM - Added comment about UNION

  • Inserting multiple selection from checkbox in to one column of the database

    Hi,
    how to insert multiple selection from checkbox into one column of the database.(I select array of values from checkbox ,then how to insert tat array of values iinto single column name).
    Anyone can u reply me
    Thanx

    hhhmmm.... is this what you mean?
    lets say you hava a checkbox1 with values value1, value2, value3 and you selected all there of them? then you want then to be stored in the database in one column?
    now the question is:
    Is it going to be one column one row?
    datafield
    value1,value2,value3
    Or one column multiple row?
    datafield
    value1
    value2
    value3
    Which is it?

  • Get multiple selection data of Table into an internal table

    Hi Guys,
    I have a Table in my view layout and selected 'SelectionMode' as 'Multi' in the table properties.How to get the selected data into an internal table when rows selected on the table output.For example,I have a 10 rows in the table and selected only 5 rows,need to get these 5 rows into an internal table?
    Regards
    Nandana

    Hi,
    Here is some sample code. Please try this and let me know if you are still getting any errors.
    DATA lo_nd_table_node TYPE REF TO if_wd_context_node.
      DATA lo_el_table_node TYPE REF TO if_wd_context_element.
      DATA ls_table_node TYPE wd_this->element_table_node.
      DATA lt_table_node TYPE wd_this->elements_table_node.
      DATA lt_table TYPE wdr_context_element_set.
      lo_nd_table_node = wd_context->get_child_node( name = wd_this->wdctx_table_node ).
      lt_table = lo_nd_table_node->get_selected_elements( including_lead_selection = abap_true ).
      LOOP AT lt_table INTO lo_el_table_node.
        lo_el_table_node->get_static_attributes(
          IMPORTING
            static_attributes = ls_table_node ).
        APPEND ls_table_node TO lt_table_node.
        CLEAR ls_table_node.
      ENDLOOP.
    lt_table_node contains the selected rows.

  • Convert multiple rows in a table into one row based on the primary key

    I have 2 tables
    CREATE TABLE Files (FileID int, fileName varchar(20))
    insert into Files values (1,'F1')
    insert into Files values (2,'F2')
    insert into Files values (3,'F3')
    CREATE TABLE Versions (FileID int, VersionNum varchar(10))
    insert into Versions values (1, 'V1')
    insert into Versions values (1, 'V2')
    insert into Versions values (1, 'V3')
    insert into Versions values (2, 'V1')
    The two tables join using FileID.  I want a listing of the fileName and the all corresponding versions on one line.  There may not be a version for a file or there may be multiple versions for the file.  The output I want is
    F1, V1, v2, v3
    F2, V1
    F3
    Any help would be appreciated.
    lg

    gardner,
    If you want them as different columns, you can PIVOT. However, this requires to know the max numebr of versions that may be there (here I have done with 3). If you dont have that info, then you might have to resort to dynamic SQL..
    ;with cte
    as
    select f.fileid,f.fileName,ISNULL(v.VersionNum,'') as VersionNum,row_number() over(partition by f.fileid order by f.filename,v.versionnum) rownum from #files f
    left join #versions v
    on f.fileid=v.fileid
    select fileid,fileName,ISNULL([1],'') as [1],ISNULL([2],'') as [2],ISNULL([3],'') as [3]
    from
    select * from cte
    ) tab
    PIVOT
    Max(VersionNum) for rownum in ([1],[2],[3])
    ) pvt
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Multiple selection column in table control problem

    Hi, all.
    My issue now is I have a table control on a screen that can let user select multiple records, and then click a button to process those selected record just now. But after I select some records and scroll down the screen, i found out that those record which are selected just now is disappear, and i have to select again.
    So, may i know how to fix those records in a table control which i selected earlier during i scroll up and down the table control on the screen?
    Thanks in advance.

    Hi,
    Once you scroll down the item selected above gets deselected this is natural thing in SAP Module Pool.
    You can do one thing to avoid such thing is by increasing your screen size where you are displaying the contents.
    hope this will solve your problem.
    Regards,
    Suvendu.

  • How to display multiple data from different table in one table? please help

    Hi
    I got sun java studio creator 2(the separate installation not the one in the net beans)....
    My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
    when i want to use a sql statement that taken the data from different table...
    how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
    Note:
    1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
    2) i mean by different table is that( i.e. select a from table1,table2 )..
    thanks in advance...

    Hi,
    937440 wrote:
    Hi every one, this is my first post in this portal. Welcome to the forum!
    Be sure to read the forum FAQ {message:id=9360002}
    I want display the details of emp table.. for that I am using this SQL statement.
    select * from emp where mgr=nvl(:mgr,mgr);
    when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
    1)I want to display all the records when I won't give any input including nulls
    2)I want to display all the records who's mgr is null
    Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
    The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
    SELECT  *
    FROM     emp
    WHERE     LNNVL (mgr != :mgr)
    ;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
    The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
    SELECT     *
    FROM     emp
    WHERE     :mgr     = mgr
    OR       :mgr       IS NULL
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
    The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
    SELECT     *
    FROM     emp
    WHERE     DECODE ( mgr
                , :mgr, 'OK'
                )     = 'OK'
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row.

  • Convert multiple rows of internal table into one row of internal table

    Hi everyone,
    I have an internal table of structure
    Objid   - Sobid
    1         -     A
    1          -    B
    1           -   C
    1            -  D
    2        -      a
    2        -      b
    Now I have to show this in ALV format
    Objid - Sobid1- Sobid2 -Sobid3 -Sobid4 -Sobid5
    1      -   A   -      B   -       C  -     D       
    2       -  a     -     b
    Kindly help me it's urgent.
    bye

    Hi sandip,
    sorry i make a mistake. I have not seen that you will have it in ALV.
    Try this an use itab1-txt in your alv:
    DATA: BEGIN OF ITAB OCCURS 0,
      OBJID(1),
      DUMMY(1) VALUE '-',
      SOBID(1),
      END   OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
      txt(20),
      END   OF ITAB1.
    ITAB-OBJID = '1'. ITAB-SOBID = 'A'. APPEND ITAB.
    ITAB-OBJID = '1'. ITAB-SOBID = 'B'. APPEND ITAB.
    ITAB-OBJID = '1'. ITAB-SOBID = 'C'. APPEND ITAB.
    ITAB-OBJID = '1'. ITAB-SOBID = 'D'. APPEND ITAB.
    ITAB-OBJID = '2'. ITAB-SOBID = 'a'. APPEND ITAB.
    ITAB-OBJID = '2'. ITAB-SOBID = 'b'. APPEND ITAB.
    LOOP AT ITAB.
      AT NEW OBJID.
        if sy-tabix <> 1. append itab1. clear itab1. endif.
        itab1-txt = ITAB-OBJID.
      ENDAT.
      AT NEW SOBID.
        concatenate itab1-txt ITAB-DUMMY ITAB-SOBID into itab1-txt.
      ENDAT.
    ENDLOOP.
    append itab1.
    loop at itab1. write: / itab1-txt. endloop.
    Regards, Dieter

  • Multiple selection in Query Panel. Operator Does not equal generates error.

    Hi,
    I'm using Jdeveloper 11.1.1.4 and creating Oracle Fusion Web Application with ADF Business Components.
    I want to use multiple selection on LOV in ADF Query Panel with Table, but I get the following error
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    A simple example:
    Schema: HR
    Generate default Business Components for tables Departments and Employees.
    Model:
    Create List of Values for EmployeesView(DepartmentId)
    List Data Source: DepartmentsView1
    List Attribute: DepartmentId
    Display Attributes: DepartmentName (UI Hints)
    Create View Criteria EmployeesByDepartmentVC for EmployeesView
    Criteria Item:
    Attribute: DepartmentId
    Operator: Equals
    Operand: Literal
    Select "Support Multiple Value Selection" (UI Hints)
    ViewController:
    Create blank JSF Page: showEmployees.jspx
    Drag EmployeesByDepartmentVC from Data Controls to showEmployees.jspx
    Create Query=>ADF Query Panel with Table
    Run application.
    Press Advanced button.
    Select operator "Does not equal" and department names "Administration;Marketing"
    Press Search
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Note: it works fine with operator "Equals"
    Best,
    Kees.

    Hi,
    I was reading:
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html#bugs_fixed_in_11.1.2.2.0
    Bugs Fixed in 11.1.2.2.0
    Bug.No. 13508184
    unsupported model type error thrown for multi select view criteria
    I have tested the use case described in this thread with JDeveloper 11.1.2.2.0 but I still get the same error.
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Is there anybody who can tell me more about this bug fix?
    Thanks,
    Kees.

  • Inserting multiple selection from checkbox into one column of the database

    Hi,
    How to insert multiple selection values from checkbox into one column of the database.
    Anyone can u help me
    Thanx

    hi
    try to use request.getParameterValues("fieldname")

  • Multiple Selection in Table in uix page

    Hello EveryBody,
    I'm using jdeveloper 9051+adf+uix.
    I'm using multiple Selection in a table (dragged as read only table of a View Object).
    Now i've to perform some action on the selected rows from the page.
    How to implement this feature please help me to solve this problem.
    Waiting for the reply
    Thanks and Regards
    Mina

    Hi RB,
    Yes still you can use this.
    Ex:
    for(int k=0;k<wdContext.nodeEmployeeInfo().size();k++)
    if (wdContext.nodeEmployeeInfo().isMultiSelected(k))
      /* Here you will get all the list of selected rows */
    Regards, Anilkumar

  • Error On Selection Cardinality doesnot allow multiple selection

    Hi All,
    Every one... Am new to SAP am learning WebDynpro Java..
    Now am working on Multiple selection on a table But it is giving Error
    Like:
    Failed to Process reques. Please Contact Your System Administrator.
    Root Case is :
    com.sap.tc.webdynpro.progmodel.ContextException Node (....) Selection Cardinality doesnot allow multiple selection ....
    Please Help Me..

    Hi Ramesh,
    please check the property of the node which you are using.
    check the Cardinality  property, for multi select it must be 0.n or 1 . n.
    Hope thiw will help
    Regards
    Narendra

  • How to perform multiple selection from dropdown list

    Hi,
           I have developed one application in which i have taken one dropdownbyindex and entered some values in it, now i need to have multiple selection of entries, can any one please suggest how to do these
    Regards,
    Prasanna

    A drop-down list is by definition a 1-from-many selector.
    Armin

Maybe you are looking for

  • How to close a Form in LWUIT

    Hi, How do I close a form in LWUIT and go back to the form that opened it? There is no close or dispose command. There is a setVisible command but I don't seem to know how to use it. It doesn't seem to have any effect when used on a form. I have even

  • How do I get spellcheck to work with my gmail?

    Hi - I've been having stability problems with my Gmail on Chrome and so have returned to FF. Enjoying it too! However, the spellchecker does not work with Gmail - the tool I use most where a spellchecker is vital! Actually I cant be sure it's working

  • Problems with dates operations

    Hi! Hope everyone is well. I need some help, I'm trying to obtain the time differences between two hours. I have the next Inputs: Start_Time: 2014-03-23 20:03:00 End_Time: 2014-03-23 21:03:15 If you can see, there is an hour in time difference, but w

  • Installation of  10.1.3 version of oracle application server

    Hi I have to install this version of apps server. I went to this link http://www.oracle.com/technology/software/products/ias/index.html I need to know the files are .bin files Can i just unzip them using unzip utility or how to extract the files

  • Auto Gate

    I just bought Audition 3 and, having worked with an eight year old version of Wavelab before, I am appalled at the lack of sophistication and user-friendliness of this software. I am jumping around hunting for the most basic of things (including in t