Re-checking previously selected checkboxes

Hi,
I've created a form with 2 canvases. On canvas2 there's a tabular list with check box for each row. From canvas 1 I call canvas 2 and return the check box selections from canvas2 to canvas1.
If I want to change the data selected, I can re-open canvas2. But when canvas2 opens, the saved selections are not reflected.For example: If row2 canvas2 was checked, then it is unchecked when canvas2 is re-opened.
I wrote a piece of code which re-checks the previously selected rows in canvas2, and verified in debug mode that it is working. However, after the trigger containing the code completes execution, the rechecking is lost and I am not able to identify why this is happening. Debug also does not let me trace where the execution flows after completing execution of the containing trigger.
Thanks.

For re-checking the checkboxes, I've written the code as follows:
     --RECHECK CHECKBOXES
     IF NVL (:BL_MESSAGE_MOVEMENT.DS_COUNT, 0) <> 0 THEN
          GO_BLOCK ('BL_USER');
          FIRST_RECORD;
          ST_POS := 1;
          CNTINSTR := :BL_MESSAGE_MOVEMENT.DS_COUNT;
          FOR I IN 1 .. CNTINSTR LOOP
               --GET USER CODE
               END_POS := INSTR (:BL_MESSAGE_MOVEMENT.DEST_USER_CODE,',', 1, I);
               LOCAL_USER_CODE := SUBSTR (:BL_MESSAGE_MOVEMENT.DEST_USER_CODE, ST_POS, END_POS-ST_POS);
               --FIND THE CODE
               --DBUG := :global.g_user_code;
               WHILE :BL_USER.USER_CODE is not null LOOP
        IF :BL_USER.USER_CODE = LOCAL_USER_CODE THEN
             :BL_USER.SELECT_FLAG := 1;
             EXIT;
        END IF;
        next_record;
/*        IF :SYSTEM.LAST_RECORD = 'TRUE' THEN
            :BL_USER.SELECT_FLAG := 1;
            EXIT;
        END IF;
*/             END LOOP;
               --PREPARE FOR NEXT LOOP
               ST_POS := END_POS + 2;
          END LOOP;
          END IF;     
          END IF;
END;

Similar Messages

  • Checking Previously Selected Checkboxes using apex_item.checkbox API

    Hello everyone,
    Before I get into the exact nature of my 'problem at hand', I feel it would be a good idea to give you readers a little background info regarding what I'm working on.
    I'm designing a page in my application (a Targeted Email Communications System) entitled the "Impacted Services Selection Screen." In a nutshell, this page will offer multiple check boxes that allow them to select/deselect the applications they wish to be notified about. Additionally, for each service, the user has the option to select the option to receive "planned" outage notifications, "unplanned" outage notifications, or both.
    I'm working with a report region where I'm querying a table called "TEC_APPS" to populate my checkboxes. This table holds three columns which are:
    (1) Primary Key APP_ID: Numerical identifier for each selectable service.
    (2) APP_NAME: Name of the application itself (i.e. Banner INB, Oracle Collaboration Suite, etc.)
    (3) ENTRY_TYPE: Type of entry within the table. I have four categories: (1) Planned Outage Notification, (2) Unplanned Outage Notification, (3) Horizontal Rule Formatting, (4) Title
    The reason for the "ENTRY_TYPE" column is primarily to format the report so it doesn't look like a "table with a bunch of check boxes inside of it".
    Here's the sql query for my report region:
    select APP_NAME,ENTRY_TYPE,APP_ID,
    decode(ENTRY_TYPE,
         'Planned Outage Notification',apex_item.checkbox(1,APP_ID) || ENTRY_TYPE,
         'Unplanned Outage Notification',apex_item.checkbox(1,APP_ID) || ENTRY_TYPE,
         'Title',APP_NAME,
         'Horizontal Rule Formatting','<hr size="6" width = "100%" color="#898A8A">')as result
    from TEC_APPS
    order by APP_ID;basically, this query generates check boxes for ENTRY_TYPEs of Planned/Unplanned Outage notification, Formatted Title Headers for an ENTRY_TYPE of a title, and an html Horizontal Rule for ENTRY_TYPES of horizontal rule formatting (the reason being my boss's specifications required there to be a formatted line that separates each check box group by context). That way, the groups will look like (note '[]' are meant to represent the check boxes):
    BANNER INB
    [ ] Planned Outage Notification
    [ ] Unplanned Outage Notification
    PORTAL
    [ ] Planned Outage Notification
    [ ] Unplanned Outage Notification
    etc....
    Additionally, I have an after submit process which uses the apex global array to store the selected check boxes and perform an insert into a different table called "TEC_SERVICES", which has the columns:
    (1) PRIMARY_KEY SERVICE_ID: Numerical Identifier for each specific service requested for notification.
    (2) SUB_ID ("subscriber id"): Numerical Identifier for each person using this application
    (3) APP_ID: Foreign key reference to "TEC_APPS" which holds information regarding which application the user has selected for each SERVICE_ID
    Here's the code for the process:
    DECLARE
       l_arrayMark  NUMBER;
       CURSOR c_id_check (aMark IN NUMBER) IS
       SELECT service_id,sub_id,app_id
       FROM tec_services
       WHERE sub_id = :p4_sub_id
       AND app_id = aMark;
       r_id_check c_id_check%ROWTYPE;
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
       BEGIN
          l_arrayMark := to_number(APEX_APPLICATION.G_F01(i));
        OPEN c_id_check(l_arrayMark);
        LOOP
          FETCH c_id_check into r_id_check;
          IF c_id_check%NOTFOUND THEN
            insert into "TEC_SERVICES"
            ( "SERVICE_ID",
              "SUB_ID",
              "APP_ID"    )
            values
            ( TEC_SERVICES_SEQ.nextval,
              :P4_SUB_ID,
              to_number(APEX_APPLICATION.G_F01(i)));
            EXIT;
          ELSIF c_id_check%found THEN
            EXIT;
          END IF;
        END LOOP;
        CLOSE c_id_check;
        EXCEPTION
        WHEN DUP_VAL_ON_INDEX
        THEN NULL;
        END;
    END LOOP;
    END;The sub-block loop basically checks to see if the user already has a record for that APP_ID, and if so exits the loop. I threw the unique key EXCEPTION in at the end just to be safe. I'm new to sql and pl/sql so I'm still trying to learn this stuff. I have come pretty far since I first started about 5 weeks ago.
    Anyways, here's my problem:
    I need to create a process that queries my TEC_SERVICES table to see if the person using my application already has a subscription for the "APP_ID" each checkbox in my report represents. If they do, the page is supposed to load with that/those checkbox(s) already checked. My problem is I'm not quite sure how to update those checkbox values. I have created a "before header" process that aimed at doing this, but is not working. Here is the "rough draft" of the code:
    DECLARE
       l_arrayMark NUMBER;
       CURSOR c_id_find (aMark IN NUMBER)IS
       SELECT sub_id, app_id
       FROM tec_services
       WHERE sub_id = :p4_sub_id
       AND app_id = aMark;
       r_id_find c_id_find%rowtype;
    BEGIN
    if APEX_APPLICATION.G_F01.count = 0 THEN return;
    end if;
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
        BEGIN
        l_arrayMark := to_number(APEX_APPLICATION.G_F01(i));
        OPEN c_id_find(l_arrayMark);
        LOOP
        FETCH c_id_find INTO r_id_find;
        IF c_id_find%found THEN
        apex_util.set_session_state(apex_item.G_F01,'CHECKED');
        -- ** This is where I'm getting mixed up...this is basically trying to say, "if the record for this checkbox already exists for this person, then show this checkbox as selected."
        -- ** I just don't know how I am supposed to do that.  Maybe something similar, but more along the lines of: UPDATE apex_application.g_f01(p_checked_values => 'CHECKED')
        ELSIF c_id_find%notfound THEN
        exit;
        END IF;
        END LOOP;
        CLOSE c_id_find;
        END;
    END LOOP;
    END;I guess I just really don't know how to do this, and it's "Grinding my gears."
    Any help is much appreciated.
    Thank you all,
    Eric
    *** NOTE *** This is my first post ever in the oracle forums. I noticed that even when I include spaces and indentation in my code/post text, it doesn't display in the actual thread itself. Anyone know the markup to insert such things...or like an &nbsp?
    Edited by: user11685190 on Sep 28, 2009 2:09 PM
    Edited by: user11685190 on Sep 29, 2009 6:32 AM

    Gus,
    1. Yeah...I tend to get carried away sometimes. This one's been killing me though b/c I've got a deadline of four weeks left to do this thing and I still have three somewhat "beastly" pages to write before it's completely ready to be tested and considered for production. On top of that, I'm pretty much learning a lot of this stuff as I go.
    2. The first two loops I showed you (Query for the checkbox report, On-Submit process to read checkboxes and insert table data) are fully functional. The problem is, I've worked with "checkbox items" but not so much with the apex API for Report Checkboxes "apex_item.checkbox(p_id, p_val, etc.)). I don't know "how" I could write a pl sql process that queries the table when the page loads to check the checkboxes....addionally, I don't know what commands to use to fill these boxes b/c I've found somewhat unrelated information by conducting web research. Code-wise, my problem is I don't know whether to use:
    UPDATE apex_application.g_f01(p_checked_values => 'CHECKED') ** OR ** if you'd instead use something like 'set available flag = 'Y'' The real problem is I just don't know how I'd do it.
    ...but, on second hand, I do find light in what you said about the "before header" process. If you look at the plsql block, the cursor I'm using to "see if that person already has subscribed to the service
    represented by a checkbox," I'm referencing the page item :P4_SUB_ID. Since this is a before header process...it is running (i think) before the :p4_sub_id item loads...so the cursor is most likely returning as 'not found,' therefore it
    does nothing. However, the source for the :P4_SUB_ID item says to use the source only when the value in session state is null. Because of this, I don't know if my above thoughts are correct.
    Thank you for your thoughts and posting that link...I'll look into it a bit further.
    Oh yeah...and thanks for the [/*code] tip...that looks a ton better.
    Eric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I retrieve selected checkboxes by user into a JPA application?

    Hello, I'm developing an app in JPA, still learning this, I'm displaying some checkboxes which I save into a List, then I separate the selections and put them into an Array, which I convert into String and that's what I store into MySQL table, this is what I have on the index.xhtml file:
    <h:selectManyCheckbox value="#{employee.selectedItems}">
    <f:selectItems var="checkList" value="#{employee.checkboxList()}" itemValue="#{checkList.idTechnology}" itemLabel="#{checkList.name}"></f:selectItems>
    </h:selectManyCheckbox>
    The method checkboxList is in charge of generating the checkboxes and assign a value and name, and the method "selectedItems" is the List<String> that stores the selected checkboxes values, so what I save into the table is something like this: "1,4,6,7" but I don't know how to retrieve the selections and check the checxkboxes according the what the user have on the table:
    This is the method that I use to select all the records from the selected user, this fills all the textfields so I can edit the user, but not the checkboxes, and that's what I need to do:
    public void seleccionarEmpleado(int id_empleado){
    Query q = em.createNamedQuery("Employee.findByIdEmployee");
    q.setParameter("IdEmployee", IdEmployee);
    List<Empleado> listaEmple = q.getResultList();
    for(IdEmployee emple1 : listaEmple){
    emp.setIdEmployee(emple1 .getIdEmployeeo());
    emp.setName(emple1 .getName());
    emp.setLname(emple1 .getLname());
    emp.setTel(emple1 .getTel());
    emp.setAddress(emple1 .getDir());
    emp.setTech(emple1 .getTecha());
    Variable Tech is the one who gets the numbers like "2,3,4" etc, but how can I make the checkboxes to be checked according to these numbers? my english is not so good, thanks in advanced, have a nice day!

    Hello, I'm developing an app in JPA, still learning this, I'm displaying some checkboxes which I save into a List, then I separate the selections and put them into an Array, which I convert into String and that's what I store into MySQL table, this is what I have on the index.xhtml file:
    <h:selectManyCheckbox value="#{employee.selectedItems}">
    <f:selectItems var="checkList" value="#{employee.checkboxList()}" itemValue="#{checkList.idTechnology}" itemLabel="#{checkList.name}"></f:selectItems>
    </h:selectManyCheckbox>
    The method checkboxList is in charge of generating the checkboxes and assign a value and name, and the method "selectedItems" is the List<String> that stores the selected checkboxes values, so what I save into the table is something like this: "1,4,6,7" but I don't know how to retrieve the selections and check the checxkboxes according the what the user have on the table:
    This is the method that I use to select all the records from the selected user, this fills all the textfields so I can edit the user, but not the checkboxes, and that's what I need to do:
    public void seleccionarEmpleado(int id_empleado){
    Query q = em.createNamedQuery("Employee.findByIdEmployee");
    q.setParameter("IdEmployee", IdEmployee);
    List<Empleado> listaEmple = q.getResultList();
    for(IdEmployee emple1 : listaEmple){
    emp.setIdEmployee(emple1 .getIdEmployeeo());
    emp.setName(emple1 .getName());
    emp.setLname(emple1 .getLname());
    emp.setTel(emple1 .getTel());
    emp.setAddress(emple1 .getDir());
    emp.setTech(emple1 .getTecha());
    Variable Tech is the one who gets the numbers like "2,3,4" etc, but how can I make the checkboxes to be checked according to these numbers? my english is not so good, thanks in advanced, have a nice day!

  • Possible BUG: duplicating a shape layer only duplicates previously selected points - PS CS6

    Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) only those points will be duplicated in the new layer. This is true no matter what tool you are currently using.
    What I did was make a rounded-corner rectangle shape -> then direct selected all points on one side to stretch the rectangle without distorting the rounded corners -> then switched to the move tool so no points were selected anymore and only the layer was selected-> duplicate layer (with the intention of duplicating the whole shape). what i got was just the rounded corners on a new layer.
    It seems the only way to duplicate the shape layer in its entirety is to go back with the direct select tool -> select ALL points of the whole shape -> change to move tool -> dupe layer.
    If that's the intended new functionality, it's a bummer because if you intend to only duplicate certain points, you can already do that while using the direct select tool. Using the move tool, it shows no direct selections and therefore you should be able to duplicate the whole layer.
    Maybe I have some weird default option checked that I'm not familiar with? This is not how any previous versions of PS worked and will add friction to my workflow if this is new.

    Yes, this is an issue with CS6 and the first release of CC.  You have to make sure you deselect all nodes in a path, or you will get the result you describe.  I believe Adobe has made some corrections and improvement in the use of shape layers that will hopefully be released soon.  However, if you're sticking with CS6, you've got to make sure to deselect on Win the esp key works great.

  • Check box selection

    Hi
    I have a problem with check box selection.I query from the database and based on the output from the query i prepopulate the check box with a tick mark.But when the user goes again and deselects one of the check box that was ticked and submits the form , it also includes the unchecked box.the following is the code I have.
    <%
    if (itemStr == 00 ){
    %>
    <td align="center">
    <input type="checkbox" name="build">
    </td>
    <% }
    else{ %>
    <td align="center">
    <input type="checkbox" name="build1" checked >
    </td>
    Then in my form I do
    String[] ar = request.getParameterValues("build1");
    how do i ensure if the user unselects from build1 , it doesnt add that item.
    Help Needed
    Arn

    Notice that this line
    request.getParameterValues("build1");
    is getting the value of the check box. The "checked" attribute is not the value, just the attribute.
    Oddly enough, I just wrote some code to do this today.
    First, add this little javascript method to your page.
    <SCRIPT language="JavaScript"> <!--  //Hide contents from older browsers
    function setHiddenTagFromCheckbox(checkbox, element) {
      if(checkbox.checked) {
        element.value="yes";  
      else {
        element.value="no";  
    // End hiding the contents -->
    </SCRIPT> 2) Add a hidden input field for each checkbox field.
    <input type="HIDDEN" name="prin2signhidden" value = "no">3) Add an onclick handler for the check box
    <input type=checkbox name="prin2sign" onclick="setHiddenTagFromCheckbox(document.formname.prin2sign, document.formname.prin2signhidden)">In your servlet check the value of prin2signhidden instead of the checkbox input.
    The forum is doing odd things to this source code. Any place you see a > you should actually have a "greater than" sign.

  • Passing column values to another tab if check box selected in that row

    Hi
    I have the following requirement.
    I have a table that gets populated by a web service. Have added one more field to it which is a check box. Th requirement is that I need to pass the values of column (say id) from each row which has it's check box selected, as input parameters to a web service in another tab.
    example: table has fileds id, name, address,checkbox. If there are 5 rows and the user select 1 and 2 then I need the ids of 1 and 2 to be passed to another tab.
    Is this possible  ........
    Thanks

    Hi
    I just don't want to make multiple selection but pass the values of a column from the selected rows to another tab to be used as input parameters to a web service.
    I want to know how to pass the values(of one filed) of the selected rows across tabs/switches.
    Thanks

  • Using checkboxes as datasource of TileList - how do I then receive selected checkboxes?

    I've been googling and searching for this and it should be simple I'd imagine... (I'm new to Flex so that probably doesn't help:)...
    I have an array that I create using CheckBox components. I then use this array as the dataprovider for a TileList and then also create a CheckBox itemrenderer.
    The issue I'm having is that, I thought if I went over the underlying checkbox array at a later point (say a button click) - that I'd be able to see some selected items yet none of them show up selected as I iterate over them (even though I've checked some of the checkboxes.)
    I have an event on the checkbox rendererer itself and when it fires I do see the selected property set - It's just going over the whole array that I'm not seeing them set. It's as if the underlying dataset is not being modified. What do I need to do so that I can capture the selected checkbox items?  (Is the issue something to do with the renderer being reused?)  I'm thinking getting a handle to checkbox items from from a TileList would be somewhat common so any help/examples appreciated.
    Below is the pertinent code:
    [CODE]
    dataArray is an array of type [B]CheckBox[/B]
    <mx:TileList id="reportMetricsBox"
            borderStyle="solid" height="100%" width="100%" maxColumns="3"
            columnWidth="110" paddingLeft="0" textAlign="left" borderThickness="0"
            dataProvider="{dataArray}">
       <mx:itemRenderer>
           <mx:Component>
               <mx:CheckBox click="handleClick(event)">
                   <mx:Script>
                       <![CDATA[
                           import com.foo.event.CheckBoxEvent;
                           private function handleClick(event:Event):void {
                               dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CLICKED, CheckBox(this)));
                       ]]>
                   </mx:Script>
               </mx:CheckBox>
           </mx:Component>
       </mx:itemRenderer>
    </mx:TileList>
    [/CODE]

    Here's what I did to fix it...
    in my item renderer click handler I set the data selected item:
    private function onChange(event:Event):void {
         dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CLICKED, CheckBox(this)));
        data.selected = !data.selected;
    I'm assuming that's what I should be doing?

  • Previously selected value of a prompt pertaining

    Hi All,
    Had a issue with the dashboard.
    There are two prompts p1 & p2. p2's value are updated based on p1's value.
    Issue being face is that when p2's go button is clicked and next time p1's value is changed and clicked go,the previously selected p2's value is still pertaining. How can i get rid of the previously selected value.
    Thanks.

    Hi svee,
    Thanks for the reply.
    I need the two go buttons,since the two prompts are in different sections and p2 is driven by the presentation variable of p1.
    Also in p2 user can change the value to check for the results.
    Thanks

  • Not able to Check Delta Enabled Checkbox in Datasource

    Hi,
    I created a Custom Datasource in ECC system which extracts data through Function module.  I activated the Datasource without checking the Delta checkbox.  Only when i created Infopackage in BI, i realized my mistake.  When i try to go back to ECC system, i could see that the Delta Enabled check box is now disabled, i am not able to check it now. 
    Is there any way i can make this datasource to Delta enabled in ECC system now?
    Regards,
    Murali

    yes Murali you need to maintain the delta in RSO2.
    select radio button -timestamp local and enter your field:AEDAT.
    check the upper limit n lower limit with functional team so that you do not miss any delta records.
    Check the below link for more detail
    [Geeric Delta|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]

  • How to check whether a checkbox is checked

    This code:
          if (checkBoxCSharpShown.IsChecked)
            checkBoxCSharpShown.IsChecked = false;
    elicits:
    "Cannot implicitly convert type 'bool?' to 'bool'. An explicit conversion exists (are you missing a cast?)"
    How can I check whether the checkBox is checked?
    Delphi ancient/C# newbie

    So why is this so complicated? Why doesn't a check box have a true/false value? The answer is that a checkbox can (optionally and not by default) be a three-state control.
    When ThreeState is true, the checkbox has three states:
    Checked
    Not Checked
    Indeterminate
    They correspond to these tests:
    bool checked = IsChecked.HasValue && IsChecked.Value == true
    bool unchecked = IsChecked.HasValue && IsChecked.Value == false
    bool indeterminate = IsChecked.HasValue == false
    One of the ways a three-state checkbox is used is in a property dialog. If the user selects multiple items (all having some boolean property called 'Active'--for instance), what should the proprety dialog show for that selection if the value of Active is different among the selected items? Should it show True? That wouldn't work, they are not all True, same for False. So instead the property dialog would show Indeterminate, indicating that the collection of Active values is neither True, nor False.
    Now having said all of that I'll refer you to:
    CheckBox.Checked
    This is true or false. If the ThreeState property is True, Checked returns True for True or Indeterminate.

  • Use spacebar to check/uncheck a checkbox in a datagrid.

    I have a DataGrid that has checkbox in the first column. The user wants to be able to check/uncheck the checkbox when he selects a row, by mouse or up and down keys, and hits the spacebar. Currently the spacebar functions if the last thing that the use has clicked on is the Checkbox. If the user clicks in the cell where the checkbox in located(not the checkbox itself), the spacebar won't do anything.
    <mx:TabNavigator>
         <mx:VBox>
              <ms:datagrid id="lgGrid" dataProvider="{this.lData}">
                   <mx:columns>
                        <mx:Array>
                             <mx:DataGridColumn dataField="vis" id="dfID" sortable="false">
                                  <mx:itemRenderer>
                                       <mx:Component>
                                            <mx:CheckBox click="data.vis = !data.vis"  paddingLeft="4"/>
                                       </mx:Component>
                                  </mx:itemRenderer>
                              </mx:DataGridColumn>
                              <mx:DataGridColumn dataField="name"/>
                        </mx:Array>
                   </mx:columns>
              </ms:datagrid
       </mx:VBox>
    </mx:TabNavigator>

    Your TableModel has to indicate that the column is editable. Your TableModel also has to implement setValueAt() so that when the user changes the value, it updates the data.
    The table will know to use it's own boolean renderer/editor for that column because it knows what to do when a column returns a Boolean.

  • Adobe form displaying data of previous selected records

    Dear All,
    I have created a wd component consisting of 2 views.
    In the first view i am displaying an ALV. When i select a record and click on the alv button, the second view
    gets called which contains an Adobe Form showing the data.
    The problem i am facing is that the record which gets displayed in the adobe form is the one previous selected record and not the current record which i select.
    Kindly give your valuable suggestions .
    Regards,
    Niti

    Hi ,
    Adobe form is just an external media in your case , it has nothing to do with your data.
    Check what data is getting passed to adobe form via debuging .
    check if your getting the selected element .
    You can also post your code here if possible.
    Regards
    Kuldeep

  • I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top, it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library option and check the Selected Artist - on

    I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top,
    it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library
    option and check the Selected Artist … one.
    I have changed the Sync option to Manually sync, but that does not help.
    How can I change this to the second option?
    Thanks.

    There is a checkbox above those two options for how to sync.  It says Sync Music; it enables automatic syncing.  That box needs to be checked before you can select from the two options for how automatic syncing is performed.
    NOTE:  If the iPod is current set up to Manually manage music [and videos], checking that Sync Music box replaces its current content with content from your iTunes library, based on how automatic syncing is set up on that screen.
    So, if your goal is to add ONE playlist to an iPod that is managed manually, you do not want to do this because iTunes will erase the iPod's current content and replace it with just that ONE selected playlist (and whatever else you select on that Music settings screen).
    Instead, if the iPod currently uses the manual setting, you need to add playlists manually to the iPod (not use the automatic syncing setting).  Please post back with more details about your situation. 

  • How to disable a default selection checkbox in the tableview

    Hi All,
             How to disable a default selection checkbox in the tableview ???
    I have  a tableview  with a iterator class mentioned on the iterator attribute of the table view. Table is a MULTISELECT tableview . Is it possible to disable or make it invisible a particular row selection check box?.
    For my scenario I have Currency values on all the columns and I want to do a sub total overall total for all the price column fields in the last row of that table. I archived this functionality using Iterator class method. But I don't want the user to delete that last row in any case.
    Thanks for your help in advance.
    Thanks,
    Greetson

    Hi,
      You can NOT disable the "Checkbox" of particular row using HTMLB. I had the same requirement. I achieved using <b>2 Tableviews</b>, one after another. 1st tableview will show all the rows and 2nd Tableview(without Table Header) and without any row. The <b>total</b> will be displayed as <b>Column title</b> of 2nd Tableview.
    Here is the code of 2nd tableview which we used to display the Total:
              <htmlb:tableView id                  = "tv2"
                               headerVisible       = "false"
                               keyColumn           = "appid"
                               footerVisible       = "false"
                               selectionMode       = "SINGLESELECT"
                               design              = "ALTERNATING"
                               fillUpEmptyRows     = "false"
                               visibleRowCount     = "0"
                               width               = "100%"
                               table               = "<%= tot_header %>" >
                <htmlb:tableViewColumns>
                  <htmlb:tableViewColumn columnName = "empno"
                                         title      = "Total"
                                         width      = "50"
                                         type       = "TEXT" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn columnName = "ename"
                                         title      = "  *      "
                                         width      = "90"
                                         type       = "TEXT" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn columnName = "appamount"
                                         title      = "   <%= tot_appamt %> "
                                         width      = "60" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn columnName = "ugjr_amt"
                                         width      = "60"
                                         title      = "<%= tot_ugjr %>" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn columnName = "apprvd"
                                         width      = "50"
                                         title      = "*" >
                  </htmlb:tableViewColumn>
                </htmlb:tableViewColumns>
              </htmlb:tableView>
    Hope this will help you.
    <b>Note: Reward each useful post.</b>
    Raja T
    Message was edited by:
            Raja T

  • Message on Checkbox on selection just after selecting checkbox

    Hi,
    On selection screen,i have a checkbox and i want when user click on that particular checkbox it should give instant message.
    For this purpose,we can use on_click event but i dont know how to use it on selection screen.
    Anyone can please suggest.
    Regards,
    Praveen

    Hi,
    Try this.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
      PARAMETERS cb_msg TYPE c AS CHECKBOX USER-COMMAND u-01.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN.
    IF sy-ucomm = 'U-01'.
      MESSAGE 'Check box selected' TYPE 'I'.
    ENDIF.
    If you want the message to be displayed only when the check box is checked then add the condition.
    IF sy-ucomm = 'U-01'.
      IF cb_msg = 'X'.
        MESSAGE 'Check box selected' TYPE 'I'.
      ENDIF.
    ENDIF.
    Thanks,
    Sri.
    Edited by: Sri on Apr 28, 2011 5:37 PM

Maybe you are looking for