Get a value from a row in a column

I have a table contains the following data


IDStudentclassclasseRoom
1English3-B3-B
2nullnull3-B
3nullnull3-B
4JackOuMe3-B
5RichardDSA3-B
6JhonRoss3-B
7French3-B3-B
8nullnull3-B
9nullnull3-B
10JackOuMe3-B
11RichardDSA3-B
12JhonRoss3-B
13Spanish5-B5-B
14nullnull5-B
15nullnull5-B
16CenaADI5-B
17MikeRock5-B
18PhilippeDSK5-B


I need a select query to get the result as below:


IDStudentclassclasseRoomCLASSES
1English3-B3-BEnglish
2nullnull3-BEnglish
3nullnull3-BEnglish
4JackOuMe3-BEnglish
5RichardDSA3-B
English
6JhonRoss3-BEnglish
7French3-B3-BFrench
8nullnull3-BFrench
9nullnull3-BFrench
10JackOuMe3-BFrench
11RichardDSA3-BFrench
12JhonRoss3-BFrench
13Spanish5-B5-BSpanish
14nullnull5-BSpanish
15nullnull5-BSpanish
16CenaADI5-BSpanish
17MikeRock5-BSpanish
18PhilippeDSK5-BSpanish


I tried something like this:

Select ID, STUDENT, CLASS, FIRST_VALUE (STUDENT) IGNORE NULLS above (SCORE FROM CLASSEROOM ORDER BY ID) CLASSES from my_table


but I don't have the answer


Thanks for help

How about this slight adjustment to the solution of Solomon?

select id,
  student,
  class,
  classeroom,
  last_value(
    case when class = classeRoom then student end
  )
  ignore nulls
  over(order by id) classes
from  t
order by id;
ID STUDENT CLASS CLASSEROOM CLASSES
1 English 3-B 3-B English
2 null null 3-B English
3 null null 3-B English
4 Jack OuMe 3-B English
5 Richard DSA 3-B English
6 Jhon Ross 3-B English
7 French 3-B 3-B French
8 null null 3-B French
9 null null 3-B French
10 Jack OuMe 3-B French
11 Richard DSA 3-B French
12 Jhon Ross 3-B French
13 Spanish 5-B 5-B Spanish
14 null null 5-B Spanish
15 null null 5-B Spanish
16 Cena ADI 5-B Spanish
17 Mike Rock 5-B Spanish
18 Philippe DSK 5-B Spanish

Tags: Database

Similar Questions

  • How to get the values of the rows in a column only?

    How to get all the values in the rows of a column.
    for example, a query gives result as:
    123
    234
    233
    12121
    all in different lines. But I want the result like this:
    123,234,233, 12121.All in a single row and a single column.
    How is that possible?

    SELECT rtrim (xmlagg (xmlelement (e, column_name |))) (') .extract('//text () '), ',') from table_name

  • Getting a value from selectonechoice

    Hello

    I use Jdeveloper 11.1.1.6

    My requirement is as below

    I have a component selected only one option, which displays a list of values.

    The user selects a value from the list of value and clicks the command button, and then the input field should be updated with the

    the value that is selected in the list.

    To do this, I wrote the code (no components company involved / only ADF faces) below

    I am able to get the list of values and post it on my page. For the rest of the game, I am not able to guess.

    I put selectoncechoice partialtriggers for buttons and the text in field

    All I need is the java code for getting the selected value and by attaching it to the text field.

    Can you help or guide me on this...

    Bean:

    The list < SelectItem > tempList.

    {} public void settempList (list < SelectItem > tempList)

    this.tempList = tempList;

    }

    public list < SelectItem > gettempList() {}

    If (tempList == null) {}

    tempList = new ArrayList < SelectItem > ();

    tempList.add (new SelectItem ("t1", "Item 1"));

    tempList.add (new SelectItem ("t2", "Item 2"));

    }

    Return tempList.

    }

    USER INTERFACE:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:f =" " http://Java.Sun.com/JSF/core "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document title = "listPage.jspx" id = "d1" > "

    < af:form id = "f1" >

    < af:panelGroupLayout id = "pgl1" layout = "vertical" halign = "center" >

    < af:spacer width = "10" height = "10" id = "s1" / >

    < af:selectOneChoice label = "Custom List" id = "soc1" contentStyle = "make weight:" BOLD "; color: Green; ">

    < f: selectItems value = "#{Valuesbean.tempList}" id = "si1" / > "

    < / af:selectOneChoice >

    < af:outputText value = "Output text" id = "ot1' partialTriggers ="soc1"/ >

    < af:commandButton text = "Change" id = "ot1' partialTriggers ="soc1"/ >

    < / af:panelGroupLayout >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    Hello

    If you see:

    You must set a value for the selectOneChoice component. You add a new variable in your beans to use it to store your selectedItem. Then your output text should also reference the same attribute in its value field.

    Try to add in your bean:

    String mySelection;

    public String getMySelection() {}

    return mySelection;

    }

    {} public void setMySelection (String, string)

    mySelection = string;

    }

    value = "#{ValuesBean.mySelection}" label = "Custom List" id = "soc1" contentStyle = "make weight:"BOLD"; color: Green; » >

    and value = "#{ValuesBean.mySelection}" id = "ot1' partialTriggers ="soc1"/ >"

  • How can I get a value from a function from pl/sql by OADBTransaction

    Hi all
    Hope you will be fine.
    as we know, we can get a sequence by this code value:
    Super.Create (AttributeList);
    Transaction OADBTransaction = getOADBTransaction();

    Vendor ID is obtained from the table sequence
    Number supplierId = transaction.getSequenceValue ("FWK_TBX_SUPPLIERS_S");

    My question is how can I get a value in a variable to a pl/sql function:
    the function is defined as follows:
    ******
    create or replace function getNextTrans return varchar2
    is
    Team varchar2 (20);
    Start
    SELECT "CASH". TO_CHAR (SYSDATE, 'DDMMYYYY') | GP_CASH_TRX_SEQ. NEXTVAL FROM DUAL;
    return team;
    end;
    /

    Hey Dina,

    Reference http://www.oraclearea51.com/oracle-technical-articles/oa-framework/229-calling-database-procedures-and-function-from-oaf.html

    Kind regards
    GYAN

  • To get the value from the user input

    Hi guys,.

    I have a .sql file, I need to get the feedback from the user and date to treat more end passing as a parameter in the procedure

    test. SQL

    Proc_process (p_in = > lv_in p1_in = > lv_in1);

    Once the process described above is then ask the user to change the table with the name of columnn like col_1

    Press on Y to continue or N to exit

    ALTER table T1 add col_1 date;

    I want these operations to be performed when run test.sql

    Hello

    Maybe something like that

    accept option_1 char prompt 'Do you want to alter table T1 ? ( press y to continue n to skip ) : ' default n
    accept option_2 char prompt 'Do you want to alter table T2 ? ( press y to continue n to skip ) : ' default n
    
    prompt alter table T1 : &option_1
    prompt alter table T2 : &option_2
    
    BEGIN
      --
      IF upper('&option_1') = 'Y'
      THEN
          DBMS_OUTPUT.PUT_LINE('>>>>>>>>>>> ALTER TABLE T1');
      END IF;
      --
      IF upper('&option_2') = 'Y'
      THEN
          DBMS_OUTPUT.PUT_LINE('>>>>>>>>>>> ALTER TABLE T2');
      END IF;
    END;
    /
    
    undef option_1
    undef option_2
    
    prompt @d:\temp\test_accept_2.sql
    

    concerning

    Kay

  • Getting a value from a text of entry in backing bean element

    I created a component of entering text on a page where I will enter a number, adjustment of Autosubmit as true. ValueChangeListener property is defined as #{test.displayTable} where displayTable is a method defined in managed bean test.

    Now I know to extract the value entered in the text input component by creating a RichInputText variable in the advanced properties.

    But in case the Advanced property is empty, then how I'll be able to recover the value of it? This is the code. I'm not able to get the value entered in the component. I can not even find any method getvalue for her.
    FacesContext facesContext = FacesContext.getCurrentInstance();
    UIViewRoot root = facesContext.getViewRoot();
    RichInputText inputText = (RichInputText) root.findComponent("it1");  // it1 is the id of the input text component
    System.out.println("inputText: "+inputText);
    On the use of my statement, is out getting generated, whereas I had entered in 90.
    inputText: RichInputText[UIXEditableFacesBeanImpl, id=it1]

    Hello

    Always mention your JDev version.

    If you use a valueChangeListener for the field, you can get the value using valueChagedEvent.getNewValue ().

    Arun-

  • I can't get a value from a list of CFDIRECTORY.

    I avoided the madness all these years, but this issue was finally on the brink.  My placement in an institution is in your hands.

    I try to get the name of a specific directory to the list of directories produced by action CFDIRECTORY = 'list '.  But everything I try fails in one way or another.  Bascially, I can't get the value of the structure - even if the code IS the value - because he thinks that the value is meant to be a field or a key.  (The server running CF8).

    These lines of code work fine:

    <!-do and loop through the list of local directories. ->

    < CFSET LocalDirectoryList = "" > "".

    < action CFDIRECTORY = 'list' name = "LocalDirectoryList" TYPE = "dir" directory = "#PathOfLocalFolderToCopyToRemoteFolders #" >

    < CFIF IsDefined("LocalDirectoryList.RecordCount") AND GT LocalDirectoryList.RecordCount '0' >

    < request CFLOOP = "LocalDirectoryList" >

    Now comes the killer.  I want to set a variable whose value is the name of the local current directory - in other words, the value of LocalDirectoryList.Name for each loop the loop.  But if I try to access LocalDirectoryList.Name as a string variable simple, the way I usually for a query string variable-

    < CFSET ThisLocalDirectory = LocalDirectoryList.Name >

    -I get a message "you have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.

    However, if I treat the "LocalDirectoryList.Name" as a structure and try to deconstruct with one of the following conditions.

    (1) < CFSET ThisLocalDirectory = Evaluate (LocalDirectoryList.Name) >

    (2) < CFSET ThisLocalDirectory = ' #Evaluate (LocalDirectoryList.Name) # ">

    (3) < CFSET ThisLocalDirectory = ' #StructFind (LocalDirectoryList, Name) # ">

    (4) < CFSET ThisLocalDirectory = StructFind (LocalDirectoryList, name) >

    (5) < CFSET ThisLocalDirectory = ' #Evaluate (StructFind (LocalDirectoryList, name)) #">".

    I get either "horizons variable is not defined" (for 1 or 2) or "the specified key, backgrounds, does not exist in the structure" (for 3, 4 or 5).

    In this case, the name of this directory is "horizons."  If the value I'm looking for do EXIST in the structure of 'LocalDirectoryList '.  And the code IS that IT is.  But he thinks it is the NAME of a key, rather than the VALUE of the key.

    Note: The addition of the attribute, listInfo = "Name" to the CFDIRECTORY tag limit fields returned, or key, "Name", but LocalDirectoryList.Name is still a structure, and I still get the same results.

    I'll be the next cuckoo in the cuckoo's nest?  Or can you save me and keep me sane?  My fate is in your hands.

    Thank you!

    You don't need the evaluate statement (in fact you probably shouldn't need to use than ever at that time). And inside the loop of your application, you can send all your query without prefix fields.

    When in doubt, empty your query of cfdirectory.

  • getting a value from an XML string

    If I want a loader to load a text file based on XML how I'd get the XML to return a string.


    The first lines of code are my xml file.
    The following code excerpt is my charger of xml.
    The last code snippet is where I want my text file to load.
    In my line of code which is: myLoadVar.load (t.content); How can I get the value of t.content I got an xml file for a file name? I think I should do my xml file returns a string.

    You must add a line of code. I need to see the where it is located, in the lines below.

  • To access the values from the row outside the ListView ListItem

    Hello

    I spent two hours browsing the forums and documentation with no chance of finding a solution on how to access the list item data from outside the listview.

    Let explain me my code. It is marked with I work and what does not work and its expected behavior.

    Should work behavior


    Tapping & getting data

    The arrayDataModel is filled with 4 rows. Firstly the list item, second item in the list... etc.

    • Tapping on the order of the day, label with the id of triggeredText displays the value of a threaded list item.
    • The index of the tapped icon appears in the label with the id of triggerredIndex.

    Incrementing Index using ActionItems onBar

    By pressing action items 'previous' and 'next', you can increment the index value to the label with the id of triggeredIndex. The order of the index is 0-4, even as total of the items in the list.

    How to extract data from the index when the value of triggeredIndex?

    Buttons

    The buttons at the bottom of the screen... Select 1, select the 2nd, 3rd Select should select indexes 0,1,2 of the list and display the value in triggeredText and triggeredIndex. They do not work.

    How did I pull the values when you click the buttons?

    import bb.cascades 1.3
    
    TabbedPane {
        id: root
        showTabsOnActionBar: false
    
        Tab {
            id: mainTab
            title: "Test List"
                Page {
                    id: mainPage
                    titleBar: TitleBar {
                        title: "List Traversal Test"
                    }
                    actions: [
                        ActionItem {
                            title: "Previous"
                            ActionBar.placement: ActionBarPlacement.OnBar
                            onTriggered: {
                                // get current selected index from list=
                                var currentIndex = parseInt(triggeredIndex.text);
    
                                if(currentIndex <= 0){
                                    //do nothing already at first item
                                }else{
                                    // subtract 1 from index ( ci - 1) ?
                                    var newIndex = parseInt(triggeredIndex.text) - 1;
    
                                    // show data from new selected index
                                    // ???
    
                                    // triggeredItem.text = XXX // the data
                                    // ???
    
                                    // triggeredIndex.text = X // the current index
                                    triggeredIndex.text = newIndex;
                                }
                            }
                        },
                        ActionItem {
                            title: "Next"
                            ActionBar.placement: ActionBarPlacement.OnBar
                            onTriggered: {
                                // get current selected index from list=
                                var currentIndex = parseInt(triggeredIndex.text);
    
                                if(currentIndex == 4){
                                    //do nothing already at lastitem
                                }else{
                                // add 1 to index ( ci + 1) ?
                                var newIndex = parseInt(triggeredIndex.text) + 1
    
                                // show data from new selected index
                                // ???
    
                                // triggeredItem.text = XXX // the data
                                // ???
    
                                // triggeredIndex.text = X // the current index
                                triggeredIndex.text = newIndex;
                            }
                            }
                        },
                        ActionItem {
                            title: "Clear"
                            ActionBar.placement: ActionBarPlacement.OnBar
                            onTriggered: {
                                // set current index to 0 (top item in list)
                            }
                        }
    
                    ]
                    Container {
                        preferredHeight: maxHeight
                        layout: StackLayout {
                            orientation: LayoutOrientation.TopToBottom
                        }
    
                        Label{
                            id: triggeredItem      // value of listitem from current index
                            text: "0"
                        }
                        Label{
                            id: triggeredIndex    // current index
                            text: "0"
                            onTextChanged: {
                                // set triggeredItem.text to contents of selected ListItem with same index
                                // STUCK HERE cannot access ListItem.dataModel(indexPath) from here....
                            }
    
                        }
                        Container{
                            ListView {
    
                                id: theList
                                objectName: "dalist"
                                dataModel: ArrayDataModel {
                                    id: theListModel
                                }
                                listItemComponents: ListItemComponent {
                                    StandardListItem {
                                        id: itemRoot
                                        title: ListItemData
                                    }
    
                                }
                                onTriggered: {
                                    var si = dataModel.data(indexPath);
                                    triggeredItem.text = "LIST ITEM CONTENT: " + si;  //set content when user taps on item
                                    triggeredIndex.text = "LIST ITEM INDEX INDEX: " + indexPath;  // set index when user taps
                                }
    
                                onSelectionChanged: {
                                    //console.log(selected);
                                }
    
                                onCreationCompleted: {
    
                                    //add some data to the listview
                                    theListModel.append("First List Item");
                                    theListModel.append("Second List Item");
                                    theListModel.append("Third List Item");
                                    theListModel.append("Fourth List Item");
                                }
                            }
    
                        }
                        Container{
                            layout: StackLayout {
                                orientation: LayoutOrientation.LeftToRight
                            }
                        Button{
                            text: "Select 1st"
                            onClicked: {
                                theList.clearSelection();
                                theList.select(0);
    
                            }
                        }
                        Button{
                            text: "Select 2nd"
                            onClicked: {
                                theList.clearSelection();
                                theList.select(1);
    
                            }
                        }
    
                        Button{
                            text: "Select 3rd item"
                            onClicked: {
    
                                //expected behaviour is to show data from Third List Item
    
                                // triggeredIndex.text = INDEX 3
                                // triggeredText.text = (DATA FROM THIRD LIST ITEM)
    
                                // THIS IS NOT WORKING ....
                                theList.clearSelection();
                                theList.select(2);
                                console.log(theList.dataModel(3));
                                triggeredItem.text = theListModel.dataModel(3);
    
                            }
                        }
                    }
                   }
                }
            }//tab
    }
    

    Thank you and have a happy and healthy 2015!

    Your help will be greatly appreciated.

    I ran and got this:

    asset:///main.qml:161: TypeError: Result of expression 'theList.dataModel' [bb::cascades::ArrayDataModel(0x1091a838)] is not a function.
    

    But it works

    theListModel.data([3])
    

    But this isn't the solution, you have a more serious problem. You select a value, you trigger. If you add this in onTriggered you select it (and you can see that it changes color when it is selected).

    theList.select(indexPath);
    

    If you want to use option to deselect

    theList.select(indexPath, !theList.isSelected(indexPath));
    

    And if you want to have that one chose this

    theList.clearSelection();
    theList.select(indexPath);
    

    Inside the button 'Select the 3rd point' allows to select programmatically

    theList.select([2]);
    

    It works but I'm not sure what you're trying to do

  • Get unique values from an xml table

    I have an xml file and I would like to create a table of all the unique values of one of its nodes.

    The xml file is called pntxml and the node is pntxml.row.Category where the category is where I would like to create a table of all the unique values.

    I was working through this and would first create an array of all the values in the category in iterating through the xml and pushing these values in a separate table.  When I try to push each entry in a table I get an error or

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at NAPA_fla::MainTimeline/sortXml()

    var catArray:Array;
    
    function sortXml(event:Event):void{
    for (var i:int = 0; i< pntxml.row.length(); i++){
         tmpCat=pntxml.row[i].Category;
         trace(tmpCat);
            catArray.push(tmpCat);           
    }
    }
    

    Anyone has a suggestion for the best way to get at this problem?

    Thanks in advance,

    Josh

    Your catArray does not exist because you said only she, you have not created an instance of this...

    var catArray:Array = new Array();

  • Out of proc - values from multiple rows.

    I have 5 tables. Every table has the following columns

    TRANS_ID,
    USER_ID,
    OPRTN_TYPE,
    STATUS,
    DATE

    I have to write a proc for which an entry is USER_ID and output must be TRANS_ID, OPRTN_TYPE, STATUS, DATE.
    Is it possible to write the proc with the mentioned columns, the values will be more than one row in the table.

    user13024762 wrote:
    I have 5 tables. And I need output of all tables at the same time. If I want to use Ref Cursor I write a cursor for each query with 5 outputs, or I can do it with a single output.

    No, just return a single Ref Cursor
    Is it possible to bring together the tables? As I don't have your database or model, it is difficult to advise you on this.

    You could do something like

    select TRANS_ID,
    USER_ID,
    OPRTN_TYPE,
    STATUS,
    DATE
      from table1
     where user_id = p_parameter
    union all
    select TRANS_ID,
    USER_ID,
    OPRTN_TYPE,
    STATUS,
    DATE
      from table2
     where user_id = p_parameter
    

    and this return as a Ref Cursor

    Thanks for the link refcursor.

    You are welcome.. ;)

  • Get more value from my table records

    Hi Experts,
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    
    SQL> WITH T AS
      2  (
      3  SELECT  1 ID,'1OIKL' VAL,1 FLAG FROM DUAL UNION ALL
      4  SELECT 2,'9IUY',0 FROM DUAL UNION ALL
      5  SELECT 3,'9IUK',0 FROM DUAL UNION ALL
      6  SELECT 4,'9IUS',0 FROM DUAL UNION ALL
      7  SELECT 1,'1OIKL',0 FLAG FROM DUAL
      8  )SELECT * FROM T;
    
            ID VAL         FLAG
    ---------- ----- ----------
             1 1OIKL          1
             2 9IUY           0
             3 9IUK           0
             4 9IUS           0
             1 1OIKL          0
    
    SQL>
    I need the unique output like VAL result with the biggest FLAG
            ID VAL         FLAG
    ---------- ----- ----------
             1 1OIKL          1
             2 9IUY           0
             3 9IUK           0
             4 9IUS           0
    SQL>
    Thank you

    Published by: DB-user11904889, March 24, 2010 15:51
    Code field included in the values of the table

    Try:

    SQL> create table T AS
      2  SELECT 1 PK, 1 ID,'1OIKL' VAL,1 FLAG FROM DUAL UNION ALL
      3  SELECT 2,2,'9IUY',0 FROM DUAL UNION ALL
      4  SELECT 3,3,'9IUK',0 FROM DUAL UNION ALL
      5  SELECT 4,4,'9IUS',0 FROM DUAL UNION ALL
      6  SELECT 5,1,'1OIKL',0 FLAG FROM DUAL;
    
    Table created.
    
    SQL> select * from t;
    
            PK         ID VAL         FLAG
    ---------- ---------- ----- ----------
             1          1 1OIKL          1
             2          2 9IUY           0
             3          3 9IUK           0
             4          4 9IUS           0
             5          1 1OIKL          0
    
    5 rows selected.
    
    SQL> delete from t t1
      2  where exists ( select null
      3                 from   t t2
      4                 where  t1.val = t2.val
      5                 and    t1.flag < t2.flag
      6               );
    
    1 row deleted.
    
    SQL> select * from t;
    
            PK         ID VAL         FLAG
    ---------- ---------- ----- ----------
             1          1 1OIKL          1
             2          2 9IUY           0
             3          3 9IUK           0
             4          4 9IUS           0
    
    4 rows selected.
    
  • getting a value from a m.c. nested

    If I have a clip
    MC1
    with mc2 nested in the mc1.
    MC2 is a variable called varNum = 2;

    Why can't I value varNum from root to help...
    .
    trace (MC1. MC2. Varnum);


    Thanks to stakeholders.

    You can if varNum is set when you try to access it.

    a typical problem would be:

    1 varNum is set to frame 1 of the mc2
    2 mc2 is on frame 1 of the mc1
    3 mc1 is on frame 1 of the _root scenario
    4. you try go varNum (with the correct path) in box 1 of the _root timeline and fail because the code in frame 1 of the _root script runs before the code in frame 1 of the mc2. Thus, varNum seems to be undefined.

  • Get hexadecimal values from current theme

    I am currently working on an application where I need a container of notification to hide behind a container of the title bar. An example of my QML would be:

    Container {
        layout: DockLayout{}
    
        Container {
            // Notification stuff goes here
        }
    
        Container {
            // Title bar that hides notification        background: Color.White
        }
    }
    

    The container of title bar should have a defined background color, otherwise the notification would be visible at all times. This notification slips into the display via an animation when necessary. It works very well and good for the Z10, but for the Q10, this poses a problem.

    As the Dev C Alpha (and Q10) use an OLED display, the light theme uses a clear grey shadow as its background color instead of white. This means that the title bar stands out as it is explicitly set to have a white background and therefore brighter than the rest of the page. This will also be a problem if I want to give the user the possibility to change the theme in the future.

    Is it possible to find the hex value of the background color of the current theme, or any other component? And if not, is it possible to scale against any future Visual changes?

    And here, I found it. I can find the screen in DisplayInfo type and choose the approriate here color value. Is not a nice work around, but it's going to do in this case.

  • Getting a value from all the selected lines in the method of the AM

    Hi all

    I use JDev 11.1.1.4.0

    I have a table with the selection of several lines. In my module application I want to call a stored procedure with the parameter whose value depends on the selected line in the table.
    For the only selection I can make fallow:
        public void wypiszId() {
            ViewObject vo = findViewObject("ProcsklView1");
            String st = vo.getCurrentRow().getAttribute("IdProcskl").toString();
            System.out.println(st);
    How can I deal with multiple selection?

    Kind regards
    Wojtek.

    Hello

    VO/iterator will hold only selected line at a time. Thus, for multi table enabled selection, the last selected line would be the selected line (vo / Iterator). In order to obtain all the selected lines, you must obtain support bean by linking the Table of the ADF.

    Check out this blog on this goal.

    http://blogs.Oracle.com/aramamoo/2010/12/getting_all_selected_rows_in_adf_table_with_multiple_rows_selection_enabled.html

    Arun-

Maybe you are looking for