ValueChangeListener for an inputText in a table - how to get that RANK the inputText is on?

We have a table with a variable number of rows. If someone types a user name in one of the lines, it calls a method (valuechangelistener) in our managed bean.

It's called getting at the right time, but how can you get which line the field is on?

For example, there are 4 rows and I am changing the username in the 3rd row, how could I get the 3rd rank so that I can do things for the first name and the name of this line (change their values)?

I tried to use the selected line, but then if I click on another row after finishing typing the username, it fills the first name and family name of the line I just clicked instead of the line that I just finished typing in.

Screen Shot 2015-08-25 at 9.16.04 AM.png

Help would be GREATLY appreciated!

Thank you!

I was able to use the dcIteratorBinding.getCurrentRow to get the line was the inputText-seems to work.

Links DCBindingContainer is BindingContext.getCurrent () .getCurrentBindingsEntry () (DCBindingContainer);.

DCIteratorBinding dcIteratorBinding = (IteratorId) bindings.findIteratorBinding;

Line currRow = dcIteratorBinding.getCurrentRow ();

If (currRow! = null) {}

currRow.setAttribute (fnameAttr, fname);

currRow.setAttribute (lnameAttr, lname);

}

Tags: Java

Similar Questions

  • How to get and install the file txtsetup.oem for xp

    need to know how to get and install the txtsetup.oem file to install xp

    Hello

    The easiest way would be to visit the website of the manufacturer of the motherboard. This would normally have downloads for any RAID drivers required for the loading of Windows XP. The download can be an "executable" who writes a disk for you. It can be also something like a zip file with all files inside that must be extracted and copied to a floppy disk.

    If your PC is not a floppy drive, life becomes quite complicated.

    Please mark this as useful or response if applicable.

    Tricky

  • I lost my product key for windows 7 it works fine how do a copy of the key?

    I lost my product key for windows 7 it works fine how do a copy of the key?

    Windows 7 came preinstalled on your computer, or is - what a copy you purchased for your computer?

    Here are four utilities, which can display your product keys if they are still there:
    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.)

    Also: http://www.magicaljellybean.com/keyfinder.shtml
    and: http://www.nirsoft.net/utils/product_cd_key_viewer.html
    and RockXP: http://www.majorgeeks.com/download4138.html which has additional features

  • I bought Adobe Acrobat DC, it's for PC, I have a Mac, how do I that?

    I bought Adobe Acrobat DC, it's for PC, I have a Mac, how do I that?

    Hi Lana,

    Continue the conversation on your thread previous link: Mac - ordered Adobe Acrobat DC it's PC only

    Kind regards

    Rahul

  • I need a code for verifiing my email address. How to get a new one?

    Photoshop Elements 12

    Share

    Try to send an e-mail directly from Photoshop elements

    The program requires a code for verifiing my email address

    I need a code for verifiing my email address. How to get a new one?

    Check your email.  The screenshot says they sent to the email address listed.

  • All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but did need help how to get rid of the pre-selection, so he's going to defau

    All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but need help how to get rid of the preset then all photos of goes to Default or in the shot. Thank you

    Go to the develop module and highlight all the images in the film at the bottom of the screen. Enable automatic synchronization, and then click the reset button. To reset all the images in your camera default settings.

  • I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I think that there is a little more for it, but here's a solution that seems to work. After the installation of Roboform 7.1.7, go to: http://www.roboform.com/platforms/browsers/firefox and scroll down to a table listing the three browsers identifying the XPI file to load if it was not loaded automatically. Click the http://www.roboform.com/dist/roboform-firefox-3-4-frozen.xpilink. Firefox will ask you if you want to allow this should be installed. Let him. Finish installation, restart Firefox 4.0b10, and you'll see a Roboform 7.1.7 toolbar works. I did it on two computers, and everything seems to work.

  • Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Thank you!
    Debnfurkids
    original title: get rid of the calendar in live mail

    Hi Debnfurkids,

    I recommend you post your query in Live Mail Forums for assistance on this issue.

  • Any ideas how to get rid of the rose?

    I just signed up for the first time today and everything on my screen that should be white is pink. I know that the monitor support always white because when I first connect there is a small screen which lights up and that switches from analog to digital and it is bright white. Any ideas how to get rid of the rose? Tried to DISPLAY on the control panel and could not fix. Thanks, people.

    Hi rutherford nbr 1.
     
    -Did you of recent changes made to your computer before this problem?
     
    Make sure that the monitor cable is correctly connected. In addition, if you have another computer, the same connect to your computer to confirm that the issue is not because of the screen.
     
    Make sure that there is no electric devices with magnets next to your screen.
     
    Follow these steps and check if it helps fix the problem.
     
    a. Click START and select control PANEL.
    b. Select and click VIEW.
    c. Select SETTINGS on the Interface of the screen and then ADVANCED.
    d. on the advance Interface, choose COLOR MANAGEMENT tab.
    e. on Interface, click on add color management. You will see a list of color profiles.
    f. choose the most appropriate to the brand of the screen / graphics card. You can choose several color profile and a default setting.
     
    For more information, see:
  • How to get out of the UiApplication?

    Hello!

    Can u tell me pls, how to get out of the UiApplication. The deactivate method is sufficient for this.

    PLS, suggest me-

    System.Exit (0). Or close the last screen and call the application itself.

    Disable does something different:
    public void deactivate()
    Handles finishing event.

    The system calls this method when sending of this request in the background. By default, this method does nothing. Override this method to perform additional when processing sent in the background.

  • How to get rid of the offer to try CC with Lightroom and start my Lightroom 6 as usual?

    How to get rid of the offer to try CC with Lightroom and start my Lightroom 6 as usual?

    I installed Lightroom 6. There are now worked fine.

    Now when I try to open the program, it does not open.

    Instead, a window appears with an offer to try Lightroom CC.

    I don't want to try Lightroom CC as a monthly payment.

    I see not a way to get rid of this window a start my 6 Lightroom as before.

    Open as a test and check your sign in Adobe. Once you Sign In it ask for a serial number. Enter the serial number, you have to V6.

    Only then disconnect.

  • How to get rid of the space up and down in menu bootstrap reduced

    Hi, anyone knows how to get rid of the top and bottom extra space on a menu reduced "bootstrap"?  I'm on bootstrap more a custom style sheet just for the menu reduced so I can have the background color instead of a repeat of the default image.  Here is a picture of the problem (marked in red) below is my code.  Thank you very much.

    Zaid

    bootstrap_menu.jpg

    < nav class = "navbar, navbar-default" >

    < div class = "container-fluid" >

    <!-brand and toggle get grouped together for better mobile display->

    < div class = "bar navigation-header" >

    < button type = "button" class = "toggle navigation bar has collapsed" data-toggle = 'collapse' data-target = "#defaultNavbar1" >

    < span class = "sr only" > toggle navigation </span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < / button >

    < a class = 'bar of navigation-brand' href = "index.html" > < /a > brand

    < / div >

    <!-collect the nav links, forms, and other content to alternate->

    < div class = "navbar-collapse custom class collapse" id = "defaultNavbar1" >

    < ul class = "navbar-nav, navbar-right nav" >

    < li > < a href = "Music.html" > music < /a > < /li > ""

    < li > < a href = "Images.html" > pictures < /a > < /li > ""

    < li > < a href = "Unity3D.html" > Unity3D < /a > < /li > ""

    < li > < a href = "Flash.html" > Flash < /a > < /li > ""

    < li > < a href = "About.html" > on < /a > < /li >

    < /ul >

    < / div >

    <!-/ .navbar-collapse->

    < / div >

    <!-/ .container-fluid->

    < / nav >

    @media (max-width: 768px) {}

    {.custom-class

    Overflow-x: visible;

    -webkit-too-full-scrolling: touch;

    background-color: #7399E4;

    background-image: none;

    height: auto;

    border-width: 0px;

    }

    . NAV > li {}

    display: block;

    position: relative;

    border: 1px solid #2763CC;

    }

    }

    .Navbar-nav in Bootstrap class has upper and lower margin 7.5px. You must remove it.

  • How to get TableId in the Document by FDK?

    My Code getting Table, but it does not work.

    He can only get a cell contained = "Source of FrameMaker Item.

    This content does not exist in my table.


    tableId = F_ApiGetId (0, DocId, FP_FirstTblInDoc);

    While (tableId) {}

    firstrowId = F_ApiGetId (DocId, tableId, FP_FirstRowInTbl);

    so that {(firstrowId)

    Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_FirstCellInRow);

    so that {(Rad_error_nocontent)

    Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_NextCellInRow);

    }

    firstrowId = F_ApiGetId (DocId, tableId, FP_NextRowInTbl);

    }

    tableId = F_ApiGetId (FV_SessionId, DocId, FP_NextTblInDoc);

    }

    }


    How to get TableId in the Document by FDK?

    diatranthanhoa,

    I do not understand your question. But if you try to browse all the cells of each table, you have errors in your code. These are common mistakes. The errors are:

    -FP_NextTblInDoc is a property of a table object, not the document

    -FP_NextRowInTbl is a property of a line object, not the table

    -FP_NextCellInRow is a property of a cell, not the line object

    So, I have maturities adjust your code as follows, noting that I didn't test this:

    tableId = F_ApiGetId (0, DocId, FP_FirstTblInDoc);

    While (tableId) {}

    firstrowId = F_ApiGetId (DocId, tableId, FP_FirstRowInTbl);

    so that {(firstrowId)

    Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_FirstCellInRow);

    so that {(Rad_error_nocontent)

    Rad_error_nocontent = F_ApiGetId (DocId, Rad_error_nocontent, FP_NextCellInRow);

    }

    firstrowId = F_ApiGetId (DocId, firstrowId, FP_NextRowInTbl);

    }

    tableId = F_ApiGetId (DocId, tableId, FP_NextTblInDoc);

    }

    }

    Hope this helps,

    Russ

  • How to get information about the types within a user defined package

    Hi all
    Have a package with some types (user-defined) defined in the package specification. How to get information about the types and
    information about the columns of this type.

    for example:
    Create package mp is

    type t is record (no number is varchar2 (30));

    procedure a (m t out...

    Thanks in advance.

    userg

    G_user wrote:
    the req's, want to build a script dynamically using data dictionary
    so if possible, I take the name of the type within the package specification.

    Let me rephrase - is there a data dictionary to get information on the type defined by the user within a package specification

    Best approach will be to have a standard in the definition of data types.

    Have a process to follow the object definitions in the package if it is mandatory.

  • Tracing a png - how to get rid of the background

    I imported a png image of a simple drawing of a man in black (as you can see on a bathroom door) with a transparent background and tried to trace it to a vector, but I can't get rid of the white background. I tried it in jpeg format to see if the route command would generate two thicknesses for the main drawing and one for the background that I could remove, but he di awaters. I tried to adjust the fuction just Trace expose but does nto work no more.

    Can someone tell me how to get rid of the background by drawing a simple image or to break the object to get the shape of the background?

    Kevin

    Use Expand in the menu object and then use the direct Selection tool to select the white and remove. You will need the transparency grid show be enabled in the view menu to see it.

Maybe you are looking for

  • Image retention / burn on iMac 27 "5 K screen

    Hello I have an iMac end of 2014 27 "5K and have noticed a few short persistence / burn on my screen. It seems to be more visible on certain origins than others. I would return the Apple iMac (its less than a year) or are there steps I can take to fi

  • HP Pavilion 23-g010 all-in-one: AMD driver download problem

    Update driver AMD caused my pc to freeze... due to a hard stop.  When I tried to restart, I got the initial splash screen showing the HP logo and the circle of points. After that I got a black screen, then the use of watchdog began on the screen. It

  • How to access the Satellite Pro 6100 wireless network card?

    I'm cleaning a Satellite Pro 6100 for a customer and noticed that it has built in wireless card (something they didn't know). However, I just can't work out how to access. I pushed the little switch on the side backwardsa and I rocked forward, Fn + F

  • Problem with m230: not enough space for music DB. Please free 8 MB.

    OK, so. Hi, I'm new in this forum. Then.  I wanted to listen to music. SanDisk initialize arrived, then the 512 MB Sansa m230 and then the error: Not enough space for music DB. Please free 8 MB. And then you can see: no files 0/0. And the battery is

  • Using the color picker to the linear gradient does not

    Sorry for the bad English, I really don't know how to ask this question tbh.I'm doing a degraded, object using four colors that I put in place. I did four arrows to the linear gradient bar, but the second, I use the color picker to add the right colo