How do I get the selected row in the table (FacesCtrlHierBinding).

I am trying to get the data of the selected row in the table:

RowBinding () (FacesCtrlHierBinding) tab.getSelectedRow = FacesCtrlHierBinding;
Line rw = rowBinding.getRow ();

But for oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding be found since my 11 JDev to import.
What is a good package for FacesCtrlHierBinding?

Hello
This is the code I use to get the selected rows in a rich table of adf:

    public void deleteMarkedRows()
    {

        RichTable table = this.getImportTable(); //get table bound to UI Table
        RowKeySet rowKeys = table.getSelectedRowKeys();

        Iterator selection = table.getSelectedRowKeys().iterator();
        while (selection.hasNext())
        {
            Object key = selection.next();
            table.setRowKey(key);
            Object o = table.getRowData();
            JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
            Row row = rowData.getRow();
            row.remove();
        }

        //prepare table to show changes
        table.setFirst(0);
        RequestContext.getCurrentInstance().addPartialTarget(table);
    }

Hope this helps

Timo

Tags: Java

Similar Questions

  • How do I get the table cells?

    It's my get code that any object in propagation.

    Int32 childCount = parent-> GetChildCount();

    for (int32 /IndexEnfant = 0; childIndex < childCount; /IndexEnfant ++)

    {

    InterfacePtr < IHierarchy > child (parent-> QueryChild (childIndex));

    ChildUIDRef = UIDRef: GetUIDRef (child);

    TextFrame table

    }

    How do I get the table cells?

    You can access the table using ITableModel and GridAddresscell.

    But to get to the ITableModel since ITextModel implies some complexity.

    Few things to understand:

    -L'interface that corresponds to the written document is ITextModel

    -The recommended method to iterate tables in a story done by ITextStoryThreadDictHier

    -Get the ITextStoryThreadDictHier on the history and the main thread as ITextStoryThreadDictHier::NextUID()

    -Now get ITextStoryThreadDict for UID and query for ITableModel. If you get ITableModel, then you have found the table.

    Once you have ITableModel you can get ITableCell as follows:

    ITableModel:QueryCellContentBoss(GridAddress); Give ITableCell

    You can refer to SnipperRunner (SnpManipulateTextModel).

    Download text template table model:

    InterfacePtr textModel (storyUIDRef, UseDefaultIID());

    InterfacePtr textStoryDictHier (textModel, UseDefaultIID());

    NextUID UID = sourceStory.GetUID (); / / Download the main thread dictionary

    Now loop the dicthier to iterate through all the threads dicts.

    InterfacePtr textStoryThreadDict (sourceStory.GetDataBase (), nextUID, UseDefaultIID());

    InterfacePtr tableModel (textStoryThreadDict, UseDefaultIID());

    If (tableModel) / / the storythreaddict represents a table

    {

    You are now in a table

    }

  • How do I get the table/matrix of an image?

    Hi, at work we will develop a program that works with images. My question is how can I get the matrix or matrix of pixels in an image?

    Thank you.

    If you have IMAQ there is a picture of table VI

    If you do not have the IMAQ stuff, there is a picture in table VI in the Vision Toolkit free AD: http://vi-lib.com/

    [edit: Oops, missed the last line of your post there are EmcV]

  • I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows?

    I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows so that I can do the calculations?

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    Don't know how to get the exact button back (sorry) I dig around too much to do...
    But! Today, I found by chance that by clicking and holding on the back button the same box to popup in last-12-sites and you can stream on the list to return to that particular site.

    Not exactly what you (and me) tried but at least the functionality is there.

    Good luck!

  • How can I get the value of the element checked a box to tick LOV?

    Hi all

    I need to insert rows into a table when a checkbox element is checked.
    The checkbox element is a LOV in a form.
    -----------------------
    Select the DESCRIPCIÓN display_value, ID_DOCUMENTO return_value
    of DOCUMENT
    order by 1
    ------------------------------

    Source
    ------------------------------
    DECLARE
    CURSOR C_REG_DOC IS SELECT ID_DOCUMENTO FROM REGISTRO_DOCUMENTO WHERE ID_REGISTRO =: P6_ID_REGISTRO;
    v_id_documento documento.id_documento%TYPE;
    v_results VARCHAR2 (50);
    Boolean v_first_loop: = true;
    BEGIN
    for this loop C_REG_DOC
    If v_first_loop then
    v_results: = it.ID_DOCUMENTO;
    v_first_loop: = false;
    on the other
    v_results: = v_results |': ' | it.ID_DOCUMENTO;
    end if;
    end loop;
    Return v_results;
    END;
    --------------------------

    I need to create a process to insert rows in a relational table, but I do not know how...
    ------------------
    FOR *? *
    LOOP
    INSERT INTO registro_documento (id_reg_documento, id_registro, id_documento)
    VALUES(null,:P4_ID_REGISTRO,???);
    END LOOP;
    ---------------

    How can I get the value of the active element (id_documento) to insert it?

    Thank you!

    Alex

    Hello:

    You can use the apex_util.string_to_table function to retrieve the values of the LOV as shown in the example

    declare
    arr wwv_flow_global.vc_arr2;
    begin
    arr:= apex_util.string_to_table(:P_CHECKBOX_LOV_ITEM)
    for x in arr.first..arr.last loop
    // insert statement
    iNSERT INTO registro_documento( arr(i) ,.........id_reg_documento,id_registro,id_documento)
    end loop;
    end;
    

    CITY

  • How can I get the second and third highest salary from the emp table

    How can I get the second and third highest salary from the emp table in the ecah Department
    SQL> ed
    Wrote file afiedt.buf
    
      1  select empno, ename, sal, deptno
      2  from (
      3    select empno, ename, sal, deptno, dense_rank() over (partition by deptno order by sal desc) as rn
      4    from emp
      5    )
      6* where rn in (2,3)
    SQL> /
    
         EMPNO ENAME             SAL     DEPTNO
    ---------- ---------- ---------- ----------
          7782 CLARK            2450         10
          7934 MILLER           1300         10
          7566 JONES            2975         20
          7876 ADAMS            1100         20
          7499 ALLEN            1600         30
          7844 TURNER           1500         30
    
    6 rows selected.
    
    SQL>
    
  • How can I get the iMovie video files in the photo library?

    How can I get the video files of "iMovie - bibliotek.imovielibrary" in the photo library?

    Is to select your library from the libraries pane and choose my brackets at the top of the screen. Then select the clips you want and share file on the desktop. Then import in photos.

  • How can I get the message from thunderbird to stop coming when I opened my email?

    How can I get the message from thunderbird to stop coming when I opened my email?

    Press the alt key to make the call of menu bar
    Select Tools-Options-general
    Disabled the Start Page

  • How can I get the address book to sort by the name of 'Family' (using v 31.3.0).

    After a computer crash, I had to load Thunderbird (v31.3.0) in my computer running Windows 8.1, and I managed to import my address book backup file in Thunderbird (v31.3.0).
    My problem is that I don't see an option to sort the address book by name of 'Family', which was available with the version of Thunderbird, I had before the crash.
    How can I get the address book to sort by the name of "family"?

    "Address book".
    Select address book
    "View' > 'Show name as' > last/first". "

    You can sort by name.
    Click on the 'Name' column header to change the sort order,
    Reversed, then click on the 'Name' column header again to reverse the order.

    Or
    'View' > ' sort by ' > select 'Name' and 'Crescent '.

  • Ieyboard is now locat ed in the middle of the page that makes it almost impossible to see what is typed. How can I get the keyboard down where it can be?

    On my iPad Mini 2, I use a split keyboard, which I like, but the keyboard is in the middle of the document I'm working on. It is very difficult, if not impossible, to see what I'm typing. How can I get the keyboard to the bottom of the page where once stood?

    Press and hold the keyboard icon in the lower right corner, then drag your finger to select 'Dock '.

  • How can I get the tabs to go on a single line and a menu of Firefox?

    Firefox allows to have 2 lines above - Firefox menu with tabs and more and another line of the navigation toolbar. during the installation of some programs online, Firefox now have 3 lines at the top, with the Firefox menu on an entire line, the 2nd line of tabs and 3rd line of navigation toolbar. How can I get the tabs to go on a single line and a menu of Firefox?

    With the current versions of Firefox, you can choose to use the menu of Firefox (orange in windows; gray Linux) button at the left end of the Windows title bar or bar menus familiar as in earlier versions. The Firefox button is displayed by default only in Windows Vista and Windows 7, but you can turn on or off or switch between the two or temporarily show the menu bar when the Firefox button is displayed.

    If you chose to use the Firefox button and you use the default tabs on top, the tab bar will move to the title bar with the Firefox button only when you are to maximize window (the ' square' the middle button in the upper right corner of the Windows standard application window). Other selected toolbars will be displayed below that (bar Navigation, Bookmarks Toolbar and the toolbars you add via Add - ons).

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • Satellite Pro U400 - How can I get the native screen resolution for external monitor?

    I have a samsung syncmaster external screen connected to a Satellite Pro U400.

    The resolution of the screen goes up to 1280 etc. but the minimum samsung is 1440 x 920 (ish I forgot).
    How can I get the samsung to display full screen expanded to save my eyes of the realativively small screen internal?

    Hello!

    Have you tried to update the display on your laptop driver? Check the Toshiba site for an update:
    http://EU.computers.Toshiba-Europe.com-online decision-making supported Downloads & => Download drivers

    In addition, it would be interesting to know if you are running the factory settings or you have installed your own version of Windows?
    And what operating system are you using? Have you installed all Windows updates?

    For external LCD, monitors, you must set the screen refresh rate of 60 Hz.
    And if you want to change the resolution of the screen, you must select the second monitor in the graphics options on Windows.

    Good bye

  • How can I get the ePrint android app to print on the correct printer?

    My home network is a HP OfficeJet Pro 8500 A909 connected to the network wired (not wireless), and which is NOT active ePrint (I understand it does not support ePrint).

    The network also has a HP OfficeJet 7500 has yet once connected to the network by wire (not wireless) and what ePrint IS activated.

    Both printers are on my network 192.168.1.x behind a router, but not a proxy with separate IP addresses.

    If I send a print by the 7500 ePrint a email address, he goes out on the printer correct (7500).

    But If I print using the HP ePrint home & Biz Android app that shows to the 7500 a print out immediately on the 8500 - the incorrect printer. The app shows the type of printer as 8500, although she still bears the name of 7500 a correct.

    So I have 3 questions:

    1. How could I get the ePrint initiated by app printed to reach the 7500 a?

    I like the idea that it is possible to reach the 8500 and 7500 a remotely (when I discovered ePrint after buying the 7500 a I checked if the 8500 supported that to find it does not work). But, if I wanted to keep accidental remote printing to the 8500 then...

    1. How can I print on the 8500 email? (Remember, emailed still prints go to the 7500).
    2. How can I add the 7500 a the ePrint application so that I can print to the 7500 a still without disturbing the current app ePrint printer that prints to the 8500?

    Thanks for the tips you may have.

    Kevin

    Hi, I would like to try and answer your questions to the best of my ability:

    1. How could I get the ePrint initiated by app printed to reach the 7500 a?

    With the printed file you want displayed in the app, you must see the details of the printer at the bottom of the screen on your device. If the printer you want to print to is not presented, you can press the arrow to the right of the name of the printer and then select the printer at the top of the next screen. It will automatically search and find printers available on your network. Choose the printer you wish to print and it will update the printer selected at the time of printing. I've included a few screen shots of what it will look like

    1. How can I print on the 8500 email? (Remember, emailed still prints go to the 7500).

    Unfortunately, it is not possible to print on the 8500 email. The printer must have the ability of ePrint in order to be able to do this.

    1. How can I add the 7500 a the ePrint application so that I can print to the 7500 a still without disturbing the current app ePrint printer that prints to the 8500?

    See the answer to the first question

    If this does not solve your problem you can try to install the HP Home Network Diagnostic Utility tool to check that nothing is wrong with your network printers

  • How can I get the numbers to treat my numeric value in text form?

    When using the 'numbers', I want to type in a number and have it show exactly as input, in this case with leading zeros.  How can I get the program to deal with any symbol in the form of text and enter it exactly as I typed?

    Then select all the cells in the Inspector (right bar), click cell (Format-click just above the Inspector, if the cell is not a choice at the top of the Inspector) and change the Format of text data.

    If the Inspector is not visible in the right sidebar, view menu > Inspector > Format.

  • How can I get the data view to display the same amount of time I save?

    I use the Sound and Vibration Measurement Suite.  In the data view, I display a graph of time, the power spectrum, the Color Map and the waterfall.  I am also showing strength in numbers group for several bands and doing cutting-edge research.  I record 100 ms of the transient wave.  In the data view, why the temporal plots show several seconds of data?  What determines how much time will appear in the data view?  More important, the power spectrum reflects the power for the entire of several seconds of data displayed?  Same question for power in the values of band and cutting-edge research.  I want to just this data displayed for 100 ms of the wave that I record.  So, how can I get the data displayed (waveforms) and power numbers come only 100 ms of the recorded wave?

    Finally, what is the best way to make account concisely the recorded data?  By slide numbers on the Documentation tab is not concise, because it comes with graphics, etc..  I tried save as ASCII/LVM, but I get a bunch of stuff intermiated I don't care.  Help?

    Hi TimRsandiego,

    SignalExpress is programmed to display graphs with default scales based on the type of action, it's reading. These scales and settings can be changed by right-clicking on the graph, and then select Properties.

    If you are interested to learn more about how to use SignalExpress, I would recommend checking out some demonstrations/tutorials on NI.com. You can find some of these demos at the following location:

    Let me know if you have any other questions.

    Kind regards

Maybe you are looking for

  • PCI-6052E and SCXI-1520

    Hi all I had problems to understand the program to someone. Could someone of you help out me? These programs are written in Labview 6.x and integrated in a software, which can detect the DAQ (PCI-6052E) card, a series of input modules (SCXI-1520) and

  • Help: Added psu and don't remember what wires go to dvd player

    Power supply seems fine, but I don't remember what cables go abck to dvd player.   I have a black jack, like that used for power supply hard drive.   When I plug this in dvd power cable, the system does not start. It seems that the player requires a

  • Difficulty time saveing

    would or could someone help me with this problem with re-seting my progress of time saveing?

  • Google advertising on the main screen playstore

    When I want to open my phone by entering a code, and I get the main screen, I often get some advertising on the screen. Several times he said: "We recomment the clash of the Titans" and this with a button that links to the playstore. How can I disabl

  • Is ample to low menu possible?

    Hello I need to know which is ample menu as possible opera on the BB? Coding advice will be a great help because I have little knowledge about it!