ValueChangeEvent is getting fired on scrolling down table

Hi,
We are trying to implement a checkbox based selection of rows on a table using JDeveloper 11.1.1.3.0.
We've created a Boolean attribute in EO and based on the EO, we've created the VO. While creating the table using VO, we are converting the Boolean attribute to "af:selectBooleanCheckbox".
Now the issue is on UI. When we scroll down the table, ValueChangeEvent for the checkbox is getting fired without even selecting the checkbox.
Please let me know why it is behaving like this.
Thanks in advance.
Regards
Ardhendu Samajdwer

jsf code:
<af:column sortProperty="Selected" sortable="true"
headerText="Selected" id="c32"
inlineStyle='#{(row.Selected)?"background-color: #ffaaaa":""};'
width="105">
<af:selectBooleanCheckbox value="#{row.bindings.Selected.inputValue}"
valueChangeListener="#{viewScope.InstWorkFlowBean.ckeckBoxValueChangeAction}"
id="sbc1" autoSubmit="true"/>
</af:column>
Managed Bean:
public void ckeckBoxValueChangeAction(ValueChangeEvent valueChangeEvent) {
DCIteratorBinding oeInstWorkflScrhVO1ItrBndng =
ADFUtils.findIterator("OeInstWorkflScrhVO1Iterator");
RowSetIterator oeInstWorkflScrhRsltSet =
oeInstWorkflScrhVO1ItrBndng.getRowSetIterator();
RowKeySet rowkeyset = masterTableRef.getSelectedRowKeys();
Boolean newValue = (Boolean)valueChangeEvent.getNewValue();
Iterator itr = rowkeyset.iterator();
while (itr.hasNext()) {
Key key = (Key)((List)itr.next()).get(0);
Row currentRow = oeInstWorkflScrhRsltSet.getRow(key);
if (currentRow != null && newValue) {
if (selectedIds.length() > 0) {
selectedIds =
selectedIds + "," + currentRow.getAttribute("Id");
} else {
selectedIds = selectedIds + currentRow.getAttribute("Id");
if (currentRow != null && (!newValue)) {
String tempString1 =
selectedIds.substring(0, selectedIds.indexOf(currentRow.getAttribute("Id").toString()));
String tempString2 = "";
if (selectedIds.contains(",")) {
tempString2 =
selectedIds.substring(selectedIds.indexOf(currentRow.getAttribute("Id").toString()) +
currentRow.getAttribute("Id").toString().length() +
1);
selectedIds = tempString1 + tempString2;
oeInstWorkflScrhRsltSet.reset();
System.out.println(selectedIds);
OperationBinding executeWithParams =
ADFUtils.findOperation("ExecuteWithParams");
executeWithParams.getParamsMap().put("instWfIds", selectedIds);
executeWithParams.execute();
AdfFacesContext.getCurrentInstance().addPartialTarget(childTableRef);
AdfFacesContext.getCurrentInstance().addPartialTarget(componentHeader);
}

Similar Messages

  • Getting JTextArea to scroll down automatically

    I want my text area to automatically scroll down once certain text has gone below the view area, however when i update the carot to the position it still does not scroll...and i have also tried scrollPane and i just cant use them, they always mess up for me...maybe the two problems are related, so tell me if you have any ideas, thanks

    however when i update the carot to the position it still does not scroll...Works fine for me:
    textArea.setCaretPosition( textArea.getDocument().getLength() );

  • Table Scroll down using a button

    Hi,
    Can some expert Webdynpro consultant try out this weird requirement and give me the solution. ( Its for an app to be used on Mobile which is why asking for it. Its working fine on computers/Laptops)
    Create a table and bind it with a child node and fill it with data so that it has many rows.. Now for scrolloing down, instead of using the scroll down button provided by the table element, create a new button which will perform the same functionality of scrolling down.
    I have found the class which has the method which perform this functionality but am not able to use it properly.
    The class is CL_WDR_P13N_DT and the method is AGGR_MOVE_DOWN.
    I have tried MOVE_ELEMENT and all move related methods of if_wd_context_node, these methods just change the index position, they dont move the table contents down. So pls dont waste your time on that.
    I have used this code:
    DATA: lo_nd_resb_tab TYPE REF TO if_wd_context_node,
              vn type ref to CL_WDR_P13N_DT.
    lo_nd_resb_tab = wd_context->get_child_node( name = 'EKKO_TAB' ).
    create object vn.
    CALL METHOD VN>AGGR_MOVE_DOWN
    EXPORTING
    VISIBLE_NODE = lo_nd_resb_tab
    Thanks & Regards

    Hi Fawaz,
    To scroll to the required column or row in the output, use the methods of the interface
    class IF_SALV_WD_TABLE_SETTINGS (implementing class
    CL_SALV_WD_CONFIG_CLASS).
    Methods for Horizontal and Vertical Scrolling
    Function                                                                                 Method
    Specify row to be displayed as the first row -             SET_FIRST_VISIBLE_ROW
    Get row to be displayed as the first row -                  GET_FIRST_VISIBLE_ROW
    Specify column to be displayed as the first column -  SET_FIRST_VISIBLE_SCROLL_COL
    Get column to be displayed as the first column -       GET_FIRST_VISIBLE_SCROLL_COL
    regards,
    Amol

  • My timeline table disappears when i scroll down to the bottom

    Hi, i have put my images on after effects and everything was going well like normal, until i uploaded my final 12-20 images (im using after effects for my final 3 minute animation for uni), when i tried to scroll down to rezize these images and to make them 2f long the timeline table disappears everytime, also i managed to see that the frames with the problem are not the normal purple colour but are a blackish grey colour... ive tried deleting the frames and re uploading them but the same problem occured. I saved my work closed down my computer and re-opened it and the problem was still there. i also tried pasting the frames into a new composition but again... same problem. Is there a way to solve this problem as this animation is due in tomoz and i need to start adding sounds on audition and premiere but the animation needs to be finished so i can sync the sounds at the correct places
    Please reply
    Katie x

    In addition to Todd's curiousity, I'm curious about something else: is this a SEQUENCE of images, such as stop-frame animation? 
    If the original file names have been retained, they're probably in the order in which they were taken, and you can import the lot of them as an image sequence.  To get the on-2 look you seek, you can use the resulting clip's interpret footage settings.  Select the target frame rate you want, and multiply that number by two.  You're all set.

  • SCROLL DOWN IN ADOBE INTERACTIVE FORM TABLE

    Hi Experts,
                  Any possible for to keep scroll down option in adobe interactive form? If possible means please let me know.
    Thanks,
    Senthil Prabhu

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Many of my photos appear briefly as I scroll down the page then disappear leaving a box outlined with a broken-line.  The menu bar says that I have 300 pictures hidden, but I am unable to get them unhidden.

    I am experiencing difficulty with iPhoto '11.  Some of more recent photos can not be accessed.  As I scroll down the page of photos, the most recent ones appear briefly, then disappear to be replaced with a box outlined by a broken-line.  The menu bar says that I have 317 photos hidden.  Hiding photos is not something that I normally do, can't imagine why these are hidden.  Anyway, when I try to unhide the photos, I can view them as an event, but if I click on a single photo, or try to move it into an album, the photo does not display.  Instead I get a dark exclamation point within a triangle.  Another problem with these same photos is on the event page there is no key photo for these events only a dark screen.  I can't find an answer to my problem.  Has anyone experienced this?  What is the problem and how can I correct it?  

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

  • Reader XI: after opening a pdf I get black areas in the doc when scrolling down

    Hello,
    I have a problem with acrobat reader XI after a new installation of my hdd.
    After opening a pdf, I get black areas in the pdf when I scroll down. The black area disspear when scrolling up. What can I do? Win7 Prof 64bit
    Many thanks in advance
    Michael

    Hello Michael,
    Please make sure that you are using latest version of Reader XI.
    Please Go to Help-> Check for Updates...
    Regards,
    Anoop

  • Y there is no option in iPad mini to directly go down or at last image by jus tapping at right corner, same option is available with iPhone , I hv 7000 images in album, it gets difficult again n again to scroll down 7000 images n come at end

    Y there is no option in iPad mini to directly go down or at last image by jus tapping at right corner, same option is available with iPhone , I hv 7000 images in album, it gets difficult again n again to scroll down 7000 images n come at end

    We are fellow users here on these forums, as far as I know Apple haven't said. If you want that feature then you can try leaving feedback for Apple : http://www.apple.com/feedback/ipad.html

  • How do you get it to show the temperature when you scroll down?

    On some some IDevices I see when you scroll down, it shows the temperature and the date. But on my iPad mini when I scroll down, it just shows the day. But at the bottom it says, " weather information provided by yahoo" I have yahoo weather installed. How do I get it to show the temperature too? Thanks.

    Settings->Privacy->Location Services->Weather-> Turn it on.
    It will show your current locations weather. Note that it uses GPS and internet access. so it may use your Cellular Data and battery.

  • Problem with a Table Control Scroll Down.

    Hi,
    I´m working with a table control in which I select one of the many lines the table contains and I move it into a structure, I delete the data of the table control internal table and I move the selected line back into the internal table to show only that record. My problem is the following:
    Whenever I have to scroll down to select a line, the selected line doesn´t appear afterwards. I believe that it´s because the scroll bar disappears and keeps on showing the line where the record I selected used to be and because the selected record is added in the fist line of the TC.
    Is there any way of avoiding the disappearrance of the vertical scroll bar? Or how can I show the record added in the first line if the TC only displays the position where the selected record used to be?
    This is the logic I use to show the single record.
      READ TABLE TI_ASIGLOT WITH KEY PUSH = 'X'.
      IF SY-SUBRC = 0.
        MOVE-CORRESPONDING TI_ASIGLOT TO ST_ASIG.
        CLEAR TI_ASIGLOT.
        REFRESH TI_ASIGLOT.
        MOVE-CORRESPONDING ST_ASIG TO TI_ASIGLOT.
        ST_ASIG-CPEND = ST_ASIG-GAMNG.
        MOVE ST_ASIG-CPEND TO TI_ASIGLOT-CPEND.
        APPEND TI_ASIGLOT.
    Thank´s and regards.
    Lucila

    Well, I´m going to anwser my own question. The problem was that in my TC the top field value was the line number of the record I've selected. So the only thing I had to do to fix it was to asign 1 to the field TC-top_line inside the form where I select the record.
      READ TABLE TI_ASIGLOT WITH KEY PUSH = 'X'.
      IF SY-SUBRC = 0.
        MOVE-CORRESPONDING TI_ASIGLOT TO ST_ASIG.
        CLEAR TI_ASIGLOT.
        REFRESH TI_ASIGLOT.
        MOVE-CORRESPONDING ST_ASIG TO TI_ASIGLOT.
        ST_ASIG-CPEND = ST_ASIG-GAMNG.
        MOVE ST_ASIG-CPEND TO TI_ASIGLOT-CPEND.
        APPEND TI_ASIGLOT.
        W_INI = 1.
      ELSE.
        MESSAGE I889(100) WITH TEXT-T07.
        EXIT.
      ENDIF.
    z_result-top_line = 1.
    (z_result is my TC )
    Best regards,
    Lucila

  • Question when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Itunes gets a connection untrusted message and I can't scroll down to allow exception

    I'm trying to download itunes (which I trust is a safe site) and get a connection is untrusted message. I click the "I understand the risks" but cannot scroll down to allow an exception.

    I think you're going to have to find & delete that particular one without Mail running, then redo it it with maybe 33 per send.
    I'd get EasyFind...
    http://www.macupdate.com/info.php/id/11076
    Here's a direct download link to EasyFind 4.0 which runs in 10.3.9 & up...
    http://www.devon-technologies.com/files/legacy/macosx1039/EasyFind.dmg.zip
    From this page,
    http://www.devon-technologies.com/support/faqs.php?p=default&cat=19
    Freeware applications:
        * EasyFind 4.0
        * PhotoStickies 5.6
        * ThumbsUp 4.3
        * XMenu 1.8
    http://www.versiontracker.com/dyn/moreinfo/macosx/8707
    Use it to search your whole drive for case insensitive & show invisibles...
    .emlx
    (dot ee em el ex)
    Then sort by Date, look for about the last one datewise.
    Find Any File...
    http://apps.tempel.org/FindAnyFile/

Maybe you are looking for

  • IPhoto '11 Version 9.2 (626) Events not showing up

    When I import photos from a memory card into iPhoto '11 Version 9.2 (626), they show up in the Last Import but the event(s) which they make don't show up in the Events view. So the only way I can keep track of the photos is to name them while they're

  • I'm getting an error trying to re-install Lightroom 5 on my new Mac Pro.   The old Mac Pro died.   When i try to enter my Serial

    hello.  I had Lightroom 5 on my old Mac Pro.   Worked great.  The Mac PRo died.  I bought a new Mac Pro and am trying to re-load Lightroom but it won't accept my Serial number.   Please help.  Thanks.

  • Download datas from SAP to Excel in OO

    Hallo, i create an excel-document with the methods CALL METHOD DOCUMENT->CREATE_DOCUMENT     EXPORTING       OPEN_INPLACE     = ' ' *      CREATE_VIEW_DATA = CREATE_VIEW_DATA *      ONSAVE_MACRO     = ONSAVE_MACRO *      STARTUP_MACRO    = STARTUP_MA

  • Reporting a bug

    I want to report a serous bug; FireFox 4.0 options - '''General Tab''' -check boxes - From the help file; '''Warn me''' when websites try to redirect or reload the page: When this option is enabled, Firefox will prevent websites from redirecting you

  • Attachments cannot be opened by recipients

    I decided to use Mac Mail with my new intel iMac rather than Entourage. But now people on windows-based machines cannot open my Word attachments. This is why I went to Entourage on my old Mac. Argghhh. I have checked "always send windows-friendly att