How to make a quick checkbox change work in a table?

Hello,
I have an af:table with some columns. In one column I specified a checkbox.
If I check or uncheck the checkbox for each record, the corresponding request is sent to the server and the checkbox change persists when the server has answered to the request.
However if I check many records too quickly during the period of one request, the checkings other than the first one which fired the request are not automatically enqueued and persisted: that is, the checkbox of those components changes their selection to the new value as soon as the click is intercepted and changes their selection back again to the old value when the first request has ended
Is there a way to "quickly" allow checkbox selections? I have tried to set "autosubmit=true" and "immediate=true" to both the table and the checkbox component, but this does not seem to solve the problem.

we have done something similar to this in a table. .but guess its the same with the tree table.
<af:table value="#{bindings.S.collectionModel}"
                        var="row" rows="#{bindings.S.rangeSize}"
                        emptyText="#{bindings.S.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.S.rangeSize}"
                        rowBandingInterval="0"
                        styleClass="AFStretchWidth" columnStretching="column:c3"
                        partialTriggers=":::search"
                        id="t4" selectionListener="#{bindings.S.collectionModel.makeCurrent}"
                        selectedRowKeys="#{bindings.S.collectionModel.selectedRow}">
                <af:column width="15"
                           inlineStyle="#{row.Selected eq 'true'?'background-color:#9CACC9;':''}">
                          <af:selectBooleanCheckbox text=""
                                                    label="" id="sbc4"
                                                    value="#{row.Selected}"/>
                        </af:column>1) Have SelectionListener and SelectedRowkeys
2) Donot have rowSelection
3) have a transient attribute from ur VO called 'selected' (String type)
4) in the button that you have - process the selection from the 'Selected' attribute

Similar Messages

  • How to make site root-relative links work in DW and Server both?

    See details on buggy DW image link behavior, below. My question is:
    1) how to make site root-relative links work in DW and Server both? Or…
    2) how to reliably automate the change of several hundred legacy root-relative links of the form
    /images/image.jpg  to document-relative?
    That is, to
    ../images/image.jpg or
    ../../images/image.jpg or
    ../../../images/image.jpg etc…depending on where the directory is.
    The old format (/images/image.jpg ) used to work fine in my previous DW 8 configuration but appear grey in DW after “upgrading” to DW cs5.5 mac. (they look fine on the server, but it’s hard to edit image-heavy pages locally when they are all grey).
    I tried changing the files to how DW creates root relative links now:
    /public_html/images/image.jpg, which is a very easy, attractive root flow since there’s a one-to-one mapping. These look great in DW but are broken on the server!
    I looked at the “advanced” site setup, and it looked like it might be possible to nuke the /public_html/ part of my server info…but it also looked like there was the potential for doing damage changing these settings, which are automatically generated from our server connection settings, which seem to work.
    The “links relative to document/ site root” toggle…does that change how DW interprets existing links, or just change the default when you are adding a link?  I have made 80% of the file links document relative…before wondering if root-relative isn’t better?
    It sure seems less ambiguous for all those images if theres a way to make root relative work for DW design view, DW link check, and server.
    Summary of buggy behavior: (see test with images here)
    "old style" site root link
          /images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: "external link" (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a (existing format)
    "new style" site root relative link
          /public_html/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: broken
          Ease of switching: easy
    Document relative link
          ../../images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: good
          Ease of switching: hard (how to automate?)
    Absolute link
          http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: external (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a...not a real option
    Thanks!
    Similar discussion on "/"

    Hello again Jon!
    Thanks for jumping on this.
    All clear and understood about where publc_html is etc.
    No contemplation of nuking the actual public_html directory on the server, just the "/public_html" text string at the start of the DW-generated links.
    "/public_html" is automatically added to the front of the link in DW if I create the link with any of the GUI tools, if I have "site root relative" selected. And ""/public_html" ends up in the code, and gets uploaded that way to the server, where it (obviously) doesn't work.
    Doesn't sound like it is supposed to work this way. Also, what seems to be the usual root relative format (/images/image.jpg) shows as a broken link in the GUI and an external link in the DW link check. All this togther makes me thinkI have some obscure setting incorrect?
    The setting that caught my eye is manage sites/ site setup/ advance settings/ local info/ web url,  which is automatically set to http://www.oasisdesign.net/public_html/
    it gives an option to change it but it makes every effort to make this NOT look like something users should mess with:
    Having gone through the more careful thought process during this post, I'm ready to do the experiment of changing the remote server web URL (why is it wrong by default?)...think I'll eat dinner first so there's 45 min to avert disaster if anyone knows this to be a bad idea!
    Art
    PS--don't  have a local testing server...don't think this will solve the GUI broken link/ link shows as external problems.
    Is there an easy, automated way to change links sitewide from document to root relative?

  • How to lock a customer master and how to make a parameter checkbox as defau

    how to lock a customer master and how to make a parameter checkbox as default checked?

    The Account Groups is the one which maintains the field status for the customer master. In case you want to change the field status (i.e. changage the mandatory field to optional field) you need to maintain the same (i.e. changage the mandatory field to optional field) by navigating to the field status screen and then to the general data tab. Here you can change the status of the your field by selecting the 'OPTIONAL' radio button for the respective field and then save the transaction.
    Reward Points if useful.

  • Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8

    Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8 as a control surface ?

    In YAMAHA01v96i:
    Go to DIO/SETUP select Generic DAW. Go to MIDI settings page and set the desired port (personally I use Number 1), Select the same audio frequency you use in your DAW (I use 44.1KhZ)...at this point You should save a scene in you 01V96i to avoid to repeat all the procedure again.
    Open studio manager, go to patch and set the input port from 17 to 32 respectively to USB1-USB16 (this will give you the return from you DAW to the 01v96i
    Save again the scene overwriting the old one.
    in LOGIC
    Click on preferences, select Audio then select 01v96i, then click on control surface and select Mackie design Baby HUI and in the midi session set the same port that you've been setting on the Yamaha 01V96i (Port 1 if you follow this example).
    That's more or less it.
    It worked for me...so far

  • How to make the same code that works only?

    how to make the same code that works only?
    code:
    Form2.Close = Me.Enabled = true
    effect such as this code

    I have this code:
    Public Class Form1
    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
    Form2.Show()
    Me.Enabled = False
    End Sub
    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
    Form3.Show()
    Me.Enabled = False
    End Sub
    End Class
    he wants to after closing Form2 and Form3 unblocked the whole form1
    it means that:
    when I click the button, displays the himself form2 and blocks himself form1" and after closing Form2 , unlocks himself Form1"
    the same with Form3

  • Quick Time player cannon be opened because of a problem. Check with developer to make sure Quick Time player works with this version of Mac OS X

    "Quick Time Player cannot be opened because of a problem"  Futher noted - Check with developer to make sure Quick Time player works with this version of Mac OS X.  The player had been working fine on my iMac 24, even after upgrading to Lion. Now, nothing but this message. This involves Quick TIme Player version 10.0. Could upgrading to the 'Pro' version be worthwhile?  Can't find anything on support that comes close to answering this perplexing situation.
    Thanks,

    QuickTime Player 10.0, if that's what you have, is indeed too old for Lion which should have QuickTime Player 10.1. Check your system to see if perhaps you have two copies of QuickTime Player, something quite possible if you moved or renamed QuickTime Player before upgrading.
    Hope this helps.

  • How to make a row as selected in output internal table in oops ALV

    Hi All,
    I have ALV grid output using oops ALV concept, in my output i have a checkbox as first column when i select this checkbox and press a push button 'Print' which is there above ALV grid that particular line in output table should get selected and i need to code some logic for printing selected row.
    how to make the particluar row in the output internal table to be selected and where to write the logic for print once it is pressed?
    Thanks in advance
    Srilakshmi.

    but the checkbox is not getting set in internal table when i select some checkboxes.
    can anybody explain y the checkbox in internal table not set?
    Hi Srilakshmi,
    As explained by Uwe, when we change a field ( say check box ) in ALV grid, the view (frontend) changes (showing the tick mark) but the changed data ( normally ) is not transfered to the backend.
    We can initiate this data transfer by just registering the cl_gui_alv_grid=>mc_evt_modified  edit event
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    Now as soon as we check a checkbox, the data_changed event is triggered.
    This initiates data transfer to the backend and the checkbox field in internal table is updated.
    check the below code for example.
    DATA: go_cont            TYPE REF TO cl_gui_custom_container,
          go_grid            TYPE REF TO cl_gui_alv_grid,
          gt_fieldcat        TYPE lvc_t_fcat,
          gv_language        TYPE spras VALUE 'E',
          gt_outtab          TYPE TABLE OF bus_loca_demo WITH HEADER LINE.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'BASIC'.
      SET TITLEBAR  '001'.
      PERFORM create_and_init_alv CHANGING gt_outtab[]
                                           gt_fieldcat.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'PRINT'.
          BREAK-POINT.
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
                                      pt_fieldcat TYPE lvc_t_fcat.
      CHECK go_cont IS NOT BOUND.
      CREATE OBJECT go_cont
        EXPORTING
          container_name = 'CUSTOM'.
      CREATE OBJECT go_grid
        EXPORTING
          i_parent = go_cont.
      PERFORM build_display_table.
      PERFORM build_fieldcat CHANGING pt_fieldcat.
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    ENDFORM.                               "CREATE_AND_INIT_ALV
    FORM build_display_table.
      FREE gt_outtab.
      DO 10 TIMES.
        gt_outtab-creation_partner = sy-index.
        gt_outtab-date_field       = sy-datum.
        APPEND gt_outtab.
      ENDDO.
    ENDFORM.                               "build_display_table
    FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'BUS_LOCA_DEMO'
        CHANGING
          ct_fieldcat      = pt_fieldcat.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'CHECKBOX'.
            ls_fcat-checkbox = 'X'.
            ls_fcat-edit     = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'ENTER_FIELD' OR 'DBLCLICK_FIELD'.
            ls_fcat-no_out  = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                               "build_fieldcat
    Cheers,
    Jose.

  • How to make few columns of single record inactive in Table conrol?

    Hi all,
    Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular  record , now table control  should contain ten records , but nine records are in editable state and one record in non editable state .
    How to make few columns of single record inactive in Table conrol?
    Thanks in advance.

    hi there...
    select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
    if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
    dont forget to modify sscreen after setting the attribute values.
    i hope this helps.
    do reward if helpful.

  • How to make the Sourcelist checkbox in Material MasterPurch view- Mandatory

    Hi All,
    Can anyone please let me know how to make the Source list checkbox mandatory in Material Master.
    Ie for example if i am creating and ERSA Material, i want to make the source list option mandatory by default whenever i create an ERSA Material. I know the option to make the Source List mandatory at Plant Level.
    But i want to make source list mandatory at material. By default..it has to appear mandatory on the Material. I want to do this
    specially based on Material Type. Ie i want this to be mandatory only for specific material types i chose.
    Please suggest me the possible ways.
    Thanks
    Sridevi

    Hi, Get Source List Field sel. group from OMSR which is 16 by default change it to new field say 210, then goto OMS9 enter Field sel. group 210,  Check for field 'MARC-KORDB' & change it to mandatory for Field reference ERSA, if you cannot find there you need to create new field reference & assign it to ERSA in OMS2 &

  • How to make custom icc color profile work as default for all users?

    Hi!
    I've calibrated two monitors for the machine running Mavericks OS X. I've managed to move these custom icc color profiles to ColorSync folder in HDD Library, so that that they are available for all the users. However, I cannot figure out how to make these icc profiles work as default profiles for all users and not only the one I used to calibrate monitors.
    Is there a specific place I have to put custom icc profile to make it system default?
    Thank you!

    If you put the profiles in the root /Library/ColorSync/Profiles/ folder, then each user needs to select them in their account. There isn't a way to apply them globally so each account automatically comes up that way.

  • How do I get Quick Time to work on my computer again?

    Apparently I am old and a dummy and it seems I accidentally uninstalled Quick Time from my computer instead of uninstalling something else that I was intending to uninstall.  How can I get Quick Time back?  I've tried the download from the apple.com site, but it never shows up in a file other than some binary file and I don't have the option to "run" after download, just save to this binary file.  PLEASE can someone help me?  THANKS in advance for any and all help.

    Hi 1 olddummy,
    Welcome to the Support Communities!  First of all, you are not old or a dummy.  I'm sure you can give me hundreds of examples of things you can do because of your knowledge and experience, so give yourself a break .   I just want to clarify .... are you using a Windows computer or a Mac?  I'm going to assume Windows and include an article for you that will explain how to delete the iTunes application and all of it's components (because Quicktime is tied to this program).  This will not affect your iTunes library, only the application itself.   Once that is done, you should be able to work with Quicktime again.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/ht1923
    Cheers,
    - Judy

  • How to make the print, email button work in PDF output

    Hello,
    I'm using LC  Designer ES2 to create a xdp form with print, email and httpSubmit  button. Then using LC server to generatePDF output, binding with xml  dynamically. But after that I got the static pdf file and none of the  button work,
    I really need help on how to make it work. Any configuration, plug-in....
    Thanks,

    Hi,
    This is solved by note 1281208.
    Thanks,
    Edited by: Zhijie Kong on May 24, 2011 6:06 PM

  • How to update collection when checkbox changed in report

    I have a report based on a collection:
    select seq_id
           ,c001
           ,c002
           ,apex_item.checkbox(1,seq_id,decode(c003,'J','CHECKED','UNCHECKED')) selected
    from apex_collections
    where collection_name='CONCOLLECTION'When the checkbox changes I want to store the new checked/unchecked status in the collection.
    Steps towards a solution I've come up with:
    1 Create a dynamic action: Change, jquery selector : input[name="f01"]
    2 Create javascript to store value (=seq_id) of changed item into a hidden page item.
    3 plsql code to update collection member with seq_id that is now in hidden item.
    Is this the way to do it?
    If so, it's the javascript of step 2 that I can't figure out.
    thanks, René

    thanks this works.
    Using javascript I store the seq_id and the checked value in 2 page items
    $s('P70_SEQ_ID', $(this.triggeringElement).val() );
    $s('P70_CHECKED', $(this.triggeringElement.checked).val() );The checked value I get is <empty> when checked and 'undefined' when unchecked. Based on this I can now update the collection.
    declare
      l_selectie varchar2(1);
    begin
      if v('P70_CHECKED')='undefined'
      then
        l_selectie := 'N';
      else
        l_selectie := 'J';
      end if;
      apex_collection.update_member_attribute(p_collection_name => 'CONCOLLECTION'
                                                 ,p_seq             => v('P70_SEQ_ID')
                                                 ,p_attr_number     => 3
                                                 ,p_attr_value      => l_selectie);
    end;

  • How to make a mini mac server work on multiple workstations

    I would like to purchase the mini mac server for my 3 boys and set up 3 different workstations (monitor, keyboard, mouse) for each kids.
    Can you do this?  If so how???

    What you are describing is how mini-computers were setup forty or so years ago, and what users were gleefully glad to get rid of when true micro-computers came on the market in the 1970s. In those days the processor and RAM memory were, by far, the most expensive parts of the system costing literally thousands of times more than the keyboards and monitors.
    Today the cost of the processor/RAM/Storage have fallen to the point the monitor may be the biggest  contributor to total system cost. For example a typical $800 Mac mini coupled to a $1,000 27" Thunderbolt display. The class of system you describe is still around and in use, but generally at a total system cost in the $100,000 range. To make what you are describing work you would need, at a minimum...
    A wired or wireless network
    One dedicated Mac mini server with installed server application (no mouse, keyboard, or monitor needed)
    Three work stations each consisting of an iMac or a Powerbook, or...
    one Mac mini
    one keyboards
    one mouse or trackpad
    one monitor
    arguably substantial understanding and/or knowledge of the Server application
    A recommended alternative would be just the network and three work stations, each operating as a stand alone work station. There isn't room here and I don't have the time to go into all the various combinations and the pros and cons of each, but the recommended alternative would end up costing roughly $1,000 less simply be eliminating the server. It would also be a bit more straightforward to administer.

  • How to make an 'order' button that works?

    How do I make an 'order' button, by clicking on it, will post a pre-defined product number in a contactform?
    Probably I have to use php, but I do not know how to make the correct script.
    Regards, Gerald

    If you just need it to pop text into a textfield, you can use javascript, something like this might do the trick for you...
    <textarea id="TheText"></textarea>
    <select id="DropDown">
        <option value="">None</option>
        <option value="text-one">Choice One</option>
        <option value="text-two">Choice Two</option>
        <option value="text-three">Choice Three</option>
        <option value="text-four">Choice Four</option>
    </select>
    <script type="text/javascript">
        var thetextbox = document.getElementById('TheText');
        var mydropdown = document.getElementById('DropDown');
        mydropdown.onchange = function(){
        thetextbox.value = this.value;
    </script>
    The script should come after the textbox and dropdown in your HTML.

Maybe you are looking for