Is it possible to diable multiple selections in JTable and JList?

as the title states, is it possible to disable multiple selections? how to prevent user from using ctrl or shift keys to select multiple rows?

Use the setSelectionMode(ListSelectionModel.SINGLE_SELECTION ) for your JList / JTable.

Similar Messages

  • Multiple selection in JTable for deletion

    Dears,
    I'm using Jdeveloper 9.0.3.3 on 8.1.7 Oracle DB.
    I noticed that when a JTable is bound to a View object ==> only one row can be selected.
    My situation -which I think is very common- I have a screen with JTable where I can edit a row and commit my updates or select multiple selection in JTable and delete them at once ; thats what I need.
    It is very like the test of any application module but allow multiple selection and deletion in JTable for user's selected rows.
    How this could be done in JClient?
    Thankx in advance.

    Thanks for your suggestions! They both would work as workarounds, I think. I tried another way:
    Following code changes a TableBinding bound JTable's selection model to Multi select (thanks to Shailesh!!).
    void setMultiSelectionModel(JTable tbl)
    class MultiSelectionListListener implements javax.swing.event.ListSelectionListener
    ListSelectionModel defSelModel;
    MultiSelectionListListener(ListSelectionModel model)
    defSelModel = model;
    public void valueChanged(javax.swing.event.ListSelectionEvent e)
    if (!e.getValueIsAdjusting())
    ListSelectionModel listModel = (ListSelectionModel)e.getSource();
    int leadIndex = listModel.getLeadSelectionIndex();
    if (leadIndex == listModel.getAnchorSelectionIndex()
    && leadIndex == listModel.getMaxSelectionIndex()
    && leadIndex == listModel.getMinSelectionIndex())
    //change currency on the bound iterator only if
    //one row is being selected.
    defSelModel.setSelectionInterval(leadIndex, leadIndex);
    ListSelectionModel newModel = new DefaultListSelectionModel();
    newModel.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    newModel.addListSelectionListener(new MultiSelectionListListener(tbl.getSelectionModel()));
    tbl.setSelectionModel(newModel);
    This fixes the bug if you select some rows and then select a row before the first selected one. Seems to work great.

  • Is it possible to paste multiple selections from excel?

    How do you detect in Java whether a multiple selection in excel has been copied to the clipboard.
    For instance: I have an excel spreadsheet - 3 rows x 3 columns. I highlight the first 3 rows in column 1 and the first 3 rows in column 3 then I copy this to the clipboard (ctrl-c). If I now go to a text editor and paste this then the data from all 3 columns, not the expected 2 columns, appears.
    Likewise, in Java I have tried using the clipboard object looking at all the different data flavours to find a way of detecting that only data from the 1st and the 3rd columns were copied. But I can't find a way.
    This is most likely a microsoft issue in that they never make this information available from the clipboard.
    Can anyone shed any light on this one?

    Use the setSelectionMode(ListSelectionModel.SINGLE_SELECTION ) for your JList / JTable.

  • Multiple selection in JTable

    Hi ,
    The problem is to select multiple rows and columns in the JTable like that of a excel application and have the focus on the first column of the last row. for example if select cells from ( 1,1 ) to ( 4,4), after selection the focus should be in cell (4,1). i have written a prgram( which is below) which uses listSelection to find out the cells which are selected. i found out the cells which are selected also. but i do not know how to get the focus on that cell. i have attached the code below also.. i want to know whether there is any method which set the focus to the particular cell. Can the problem above can be solved in any other way..or a simpler way..
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    class myTable {
    public static void main(String a[] ) {
              JFrame myframe = new JFrame();
              JTable jtable = new JTable(10,10);
              jtable.setCellSelectionEnabled(true);
         // add the listener to the table
    ListSelectionModel listSelectionModel;
         OSSTableSelectionHandler obj = new OSSTableSelectionHandler(jtable,10,10);
         listSelectionModel = jtable.getSelectionModel();
    listSelectionModel.addListSelectionListener(obj);
         myframe.getContentPane().add(jtable);
         myframe.show();
    } // end of public static void main
    } // end of class of myTable
    class OSSTableSelectionHandler implements ListSelectionListener {
                   JTable table;
         int row;
                   int col;
    OSSTableSelectionHandler(JTable tab, int r, int c ) {
         table = tab;
    row = r;
              col = c;
    public void valueChanged(ListSelectionEvent e) {
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
                   int i = 0,j = 0;
    int firstIndex = e.getFirstIndex();
    int lastIndex = e.getLastIndex();
    boolean isAdjusting = e.getValueIsAdjusting();
    if (lsm.isSelectionEmpty()) {
    System.out.println(" Selection empty ");
    } else {
    // Find out which indexes are selected.
                        int maxrow = 0 ;
    int minIndex = lsm.getMinSelectionIndex();
    int maxIndex = lsm.getMaxSelectionIndex();
    for ( i = minIndex; i <= maxIndex; i++) {
    if (lsm.isSelectedIndex(i)) {
                                  if ( maxrow < i )
                                       maxrow = i;
                                  for (j = 0;j < col ;j++ )
                                       if ( table.isCellSelected(i,j) )
                                            System.out.println("The selected index is " + i + " " + j);
                             } // end of if                    
    } // end of for
                   // after this maxrow contains the last row that has beeb selected
                   // this for loop is to find out the first column in the maxrow that is selected
                   for (j = 0;j < col ;j ++ )
                        if ( table.isCellSelected(maxrow,j) )
                                  break;
                   // set the focus to the column ( maxrow, j )
    } // end of else
    } // end of fucn value changed
    } // end of class OSSTableSelectionHandler

    Whic cell is focused depends on where you begin your selection. The cell that you press your mouse first will be the focused one. Here is how I implement the mutiple selection functionality in a JTable as what MS Excel provides. This class is independent of my any other package. your table has to have column headers and a upper left JLabel corner(int the scroll pane containing the table) in order to make this class which I named TableSelectionAdapter function properly. You can revise and imporve it as you need, however.
    package petrochina.riped.gui.table.tableadapter;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    import java.awt.datatransfer.*;
    import java.util.*;
    * Enables multiple selection funtionality on <code>JTable</code>s.
    * @author Guanglin Du,SEC of Riped, PetroChina,
    * [email protected]
    * @version 1.0 2002/09/16
    public class TableSelectionAdapter extends MouseAdapter {
    private String newline = "\n";
    private boolean DEBUG = false;
    // private boolean DEBUG = true;
    private JTable myTable = null;
    private boolean shiftKeyDown = false;
    private boolean ctrlKeyDown = false;
    private int firstSelectedColIndex = -1;
    * Constructs with a <code>myTable</code> to simplify its reusability.
    * Guanglin Du, 2002/09/19
    * @param myTable     a <code>JTable</code>
    public TableSelectionAdapter(JTable myTable) {      
    this.myTable = myTable;
    initTableSelection();
    * The initTableSelection method: initializes the row/column/cell
    * selection functionality of the table.
    * Guanglin Du, 2002/09/19
    public void initTableSelection() {      
    getMyTable().setSelectionMode(
              ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
         //Cell selection
         myTable.addMouseListener(new MouseAdapter() {
         public void mousePressed(MouseEvent e) {
              myTable.setColumnSelectionAllowed(true);
              myTable.setRowSelectionAllowed(true);
         setMyKeyListener(); //shift/control key listener
         //column selection functionality
         JTableHeader myTableHeader = getMyTable().getTableHeader();
         myTableHeader.addMouseListener(new TableHeaderListener());
         //enalbles select-all functionality
         setSelectAllFunction();
    * This setSelectAllFunction isto set the select-all functionality
    * when the upper left corner label of the JTable is clicked.
    * Note: JTable's parent JScrollPane has to be found.
    * Guanglin Du, 2002/09/19
    public void setSelectAllFunction() {      
    Container firstParent = getMyTable().getParent();
    if (firstParent instanceof JViewport) {
         Container secondParent = firstParent.getParent();
         if (secondParent instanceof JScrollPane) {
         JScrollPane myScrollPane = (JScrollPane)secondParent;
         JLabel myLabel =
              (JLabel)myScrollPane.getCorner(JScrollPane.UPPER_LEFT_CORNER );
         myLabel.addMouseListener(this);
    * Detects shift/control key state.
    * DGL, 2002/09/18
    public void setMyKeyListener() {
         getMyTable().addKeyListener(new KeyAdapter(){               
         //keyPressed
         public void keyPressed(KeyEvent e){
              //shift key state
              if(e.isShiftDown())     shiftKeyDown = true;                    
              //control key state
              if(e.isControlDown()) ctrlKeyDown = true;
    //keyReleased
         public void keyReleased(KeyEvent e){
              //shift key state
              if( !e.isShiftDown() ) shiftKeyDown = false;                    
              //control key state
              if( !e.isControlDown() ) ctrlKeyDown = false;
    * Adds the table header listener to enable single/multiple column selection.
    * DGL, 2002/09/17
    public void setTableHeaderListener() {
         JTableHeader myTableHeader = myTable.getTableHeader();
         myTableHeader.addMouseListener(new TableHeaderListener());
    * Returns the <code>myTable</code> property value.
    * @return myTable the table that this class handles
    public JTable getMyTable() {
    return myTable;
    * Sets <code>myTable</code> property value of this class.
    * @param myTable the table that this class handles
    public void setJTable(JTable myTable) {
         this.myTable = myTable;
    * Returns the shiftKeyDown property value.
    * @return boolean, Guanglin Du, 2002/09/18
    public boolean getShiftKeyDown(){
         return shiftKeyDown;
    * Return the ctrlKeyDown property value.
    * @return boolean, Guanglin Du, 2002/09/18
    public boolean getCtrlKeyDown(){
         return ctrlKeyDown;
    * This inner class handles the column selection, the same
    * behavior as MS Excel.
    * Guanglin Du, 2002/09/18
    class TableHeaderListener extends MouseAdapter {
    public void mousePressed(MouseEvent e) {    
         stopLatestCellEditing(); //To save the data being edited
         if(DEBUG) System.out.print("mousePressed on ");
         JTableHeader myColumnHeader = (JTableHeader)e.getSource();
         Point myPoint = e.getPoint();
         int selectedColIndex = myColumnHeader.columnAtPoint(myPoint);
         if(DEBUG) System.out.print("the header of column "
              + selectedColIndex+newline);
         JTable table = myColumnHeader.getTable();
         //The following column selection methods work only if these
         //properties are set this way
         table.setColumnSelectionAllowed(true);
         table.setRowSelectionAllowed(false);
         int myRowCount = table.getRowCount();
         //makes this table focused, so that setMyKeyListener method can
         //listen for shift/control KeyEvent
         table.requestFocus();
    //     System.out.println("myRowCount = " + myRowCount);
         if( getShiftKeyDown() ){
         table.clearSelection();
         table.setRowSelectionInterval(0,myRowCount-1);
         table.setColumnSelectionInterval(selectedColIndex,selectedColIndex);
         if(firstSelectedColIndex > -1) {
              table.addColumnSelectionInterval(firstSelectedColIndex, selectedColIndex);
              firstSelectedColIndex = -1;//restore to -1
         } else if( getCtrlKeyDown() ) {
         table.addRowSelectionInterval(0,myRowCount-1);
         table.addColumnSelectionInterval(selectedColIndex,selectedColIndex);
         } else {
         table.clearSelection();
         table.setRowSelectionInterval(0,myRowCount-1);
         table.setColumnSelectionInterval(selectedColIndex,selectedColIndex);
         if(DEBUG) System.out.println("shiftKeyDown = " + shiftKeyDown
              +";"+" ctrlKeyDown = " + ctrlKeyDown);     
         //saves the first selected column index
         firstSelectedColIndex = selectedColIndex;
    * MouseAdapter implemenation.
    * mousePressed: sets the select-all functionality
    * when upper left corner label of the table is clicked
    * Guanglin Du, 2002/09/18
    public void mousePressed(MouseEvent e) {    
         if(DEBUG) System.out.println("Select all");
         stopLatestCellEditing();//To save the data in editing
         getMyTable().selectAll();
    * Triggers the latest <code>ActionEvent</code> in a table cell to save
    * the latest data. Or, the newly input data will not be stored into the table
    * model and cannot be retrieved.
    public void stopLatestCellEditing() {
    int editingRow = getMyTable().getEditingRow();
    int editingCol = getMyTable().getEditingColumn();
    if (editingRow != -1 && editingCol != -1){
         TableCellEditor cellEditor =
         getMyTable().getCellEditor(editingRow, editingCol);
         cellEditor.stopCellEditing();
    Here is how you can use it in your coding(where myTable is a JTable instance you create):
         /* Adds TableSelectionAdapter to enable all kinds of selection action. */
         TableSelectionAdapter tableSelect = new TableSelectionAdapter(myTable);     

  • AppleScript : modify labels for multiple selection of files and folders in Finder ?

    As an experienced programmer in Pascal, Excel VBA, ... I am trying to find my way in AppleScript (first steps).
    I am trying to build a small script that will run on a keyboard shortcut, and that will toggle the label of selected files and folders (multiple selection ?) in Finder between "purple" and "no label".
    Based on a recorded action, I was trying something along the lines of
    tell application "Finder"
              Activate
              repeat with oneItem in selection
                             set label index of oneItem to 3
              end repeat
    end tell
    I am not clear on how to make the script understand that in a multiple selection I want to apply the requested command to each item. In addition, when testing it on one single item, it appears that I can't set the label index property of "selection" ...
    Can someone please advise what the correct way is of (a) setting the property of a selected item in the Finder and (b) looping through a multiple selection ?
    Thanks in advance.
    Philip
    P.S. Running Mac OSX 10.8.2 on MacBook Air, MacBook Pro and MacMini

    Thanks alot, Softwater. In fact, I have been playing around with that and found that the "get" statement in your script suggestion is not even necessary. The script I saved as a Finder Service is now :
    tell application "Finder"
              repeat with oneItem in selection as list
                             if label index of oneItem = 0 then
                                            set label index of oneItem to 5
                             else
                                            set label index of oneItem to 0
                             end if
              end repeat
    end tell
    By assigning a shortcut key to this one, I can now toggle labels.
    Additional trick I did is to restrict the applicability of the script to only movie-files (I am using this to change the labels of movies / TV shows on my computer which I still want to see versus the ones that I don't want to see anymore). I noticed during testing that the script would also color folders and drives selected in other finder windows than the one I was working in, so now it only works on movie files which is more what I want.
    Great tool, the AppleScript Editor and the Automator. Only a little bit a pitty that finding out about object structure and properties is not very straightforward in the AppleScript Editor (comparing to e.g. the VBA in MS Excel, which has an almost perfect help system and built-in reference). I am not a Microsoft fan in general, but when it comes to MS Excel VBA, I have not seen any built-in help system yet that approaches its usefulness ...
    I guess I will be "seeing" you again on this forum ... I am getting the taste of scripting again :-D

  • Multiple selection of rows and delete the same

    hi how can we select the multiple rows in a table and delete the same.
    if i have 3 rows i have to select 2 rows and if i press the delete button the selected rows should be deleted.
    Can any one help me .
    Thanks
    Badri

    hi
    in the layout of the screen u might have dragged and dropped the table control
    double click on it u will get attributes screen in that u select MULTIPLE under Line-Selection
    under attributes tab.
    the internal table in table control must be like
    data : begin of itab occurs 0,
             empno type .......,
             empname......,
             empcity.....,
             check(1), " for tab selection"
             end of itab.
    data : itab1 like itab occurs 0 with header line.
    in the attributes screen of the table control
    pass the value ITAB-CHECK to the field W/SELECTION
    in SE51
    PBO
    Module_status_0800
    loop with control table_control_name.
    module_fill_tcontrol.
    endloop.
    PAI
    Module_user_command_0800
    loop with control table_control_name.
    module_read_tcontrol.
    endloop.
    in se38
    Module_fill_tcontrol. 
    endmodule.
    Module_read_tcontrol.
    READ TABLE itab1 INDEX control-current_line.
      IF sy-subrc EQ 0.
        MODIFY itab1 FROM itab  INDEX control-current_line.
      ELSE.
        MOVE-CORRESPONDING itab TO itab1.
        APPEND itab1.
        CLEAR itab1.
      ENDIF.
    endmodule.
    module_user_command.
    case sy-ucomm.
    WHEN 'DELE'.
          DELETE itab1 WHERE check = 'X'.
    endcase.
    endmodule.
    Regards
    Murali.M

  • Is it possible to diable the automatic update feature and prevent it being re-enabled from the preferences dialog by editing a config file?

    Id like to do a custom version of FF for our machines (Linux based) which prevents the auto update mechanism working and prevents the user re-enabling it. Any updates would be done by the Linux .deb package management system.
    Is there a way to do with by editing the config files of the default binary version or do I need to build my own from source?

    You can lock the related pref(s).
    lockPref("app.update.auto", false);
    lockPref("app.update.enabled", false);
    See:
    * http://kb.mozillazine.org/Locking_preferences

  • Multiple selection in OVS possible?

    Hello all,
    Is it possible to implement multiple selection in OVS?
    Thanks,
    Raj Balakrishnan

    Hi,
       From what I have seen, multiple selection in OVS is not possible.
       Think of the R/3 search helps. There you can select only a single value for each field. In case you are trying to specify a range, you will have to select a single entry for a low value and another single entry for the high value. Also if you are trying to specify a list of values, then you should select singular entries for each list element.
    Regards,
    Satyajit.

  • Multiple Select boxes in one form

    Does anyone know if it is possible to have multiple select
    boxes inside one form? I have six different select boxes that are
    generated by six separate queries. The action page for all six
    select boxes is the same so I just want one submit button so users
    don't get confuse. I don't want to cluster up the page with submit
    buttons but I may resort to that option.
    My problem is the select boxes generate a number and when
    that number is submitted I want to pass two other variables with it
    to the action page. I tried putting a "Form" tag around the 6
    select boxes. Inside each select box I tried to add an "Input
    type="hidden"" and give thte name and values that I needed. That
    worked for the first select box but when I tried the second select
    box it used the hidden values for the first select box.
    If anyone can help, I would greatly appreciate it. Or if you
    have any other suggestions I am open to any.
    Thanks

    Paross1,
    I wasn't thinking about that and you gave me a great idea.
    Here is how I changed my select boxes.
    <cfform
    action="Resolution_History.cfm?year=#year#&sessiontype=#sessiontype#&btype=res"
    name="form">
    <select name="SRINPUT">
    <option value="">SR
    <CFOUTPUT Query="findSR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HRINPUT">
    <option value="">HR
    <CFOUTPUT Query="findHR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SCRINPUT">
    <option value="">SCR
    <CFOUTPUT Query="findSCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <br>
    <select name="HCRINPUT">
    <option value="">HCR
    <CFOUTPUT Query="findHCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SJRINPUT">
    <option value="">SJR
    <CFOUTPUT Query="findSJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HJRINPUT">
    <option value="">HJR
    <CFOUTPUT Query="findHJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <INPUT TYPE="Submit" VALUE="Submit" alt="submit
    button">
    </cfform>
    On the action page I need the below IF statement to work so
    it will set the variables. It isn't working at this time. Its not
    bringing the values of billnumber, houseorig or the billtype.
    Do you have any thoughts? I know it is close. I need to set
    all of the inputs to input4 to generate my queries.
    <cfif form.srinput gt 0>
    <cfset houseorig eq "s">
    <cfset billtype eq "r">
    <cfset srinput eq input4>
    <cfelseif form.hrinput gt 0>
    <cfset houseorig eq "h">
    <cfset billtype eq "r">
    <cfset hrinput eq input4>
    <cfelseif form.scrinput gt 0>
    <cfset houseorig eq "sc">
    <cfset billtype eq "r">
    <cfset scrinput eq input4>
    <cfelseif form.hcrinput gt 0>
    <cfset houseorig eq "hc">
    <cfset billtype eq "r">
    <cfset hcrinput eq input4>
    <cfelseif form.sjrinput gt 0>
    <cfset houseorig eq "sj">
    <cfset billtype eq "r">
    <cfset sjrinput eq input4>
    <cfelse>
    <cfset houseorig eq "hj">
    <cfset billtype eq "r">
    <cfset hjrinput eq input4>
    </cfif>

  • Multiple selections in a ComboBox

    Hi there!
    Is it possible to make multiple selections in a ComboBox ?
    i.e. make n consecutive selections and store them in an array
    or make n selections in the open list of the CB by using (for
    example) the click-Shift Key keystroke
    Purpose is to allow the user to select multiple different
    issues of a magazine with a maximum ease of use...
    (Code I use is attached below)
    Many thanks for your help!
    Best regards,
    Gerry

    >>"May I do consecutive selections in a CB, store them
    in an Array and then
    compile this list to use labels and data the array contains
    to write an
    invoice
    (with the labels) and calculate its amount (with the data)?"
    Gotcha - and sure you can.
    OK, let's see - you have this (sort of):
    var CBBUYListener:Object = new Object();
    CBBUYListener.change = function(evt:Object) {
    I'd change that to something like this:
    var comboSelected = new Array();
    CBBUYListener= new Object();
    CBBUYListener.change = function(evt:Object){
    //first check to see if this item is already selected
    var didSelect = false;
    for(var i = 0; i < comboSelected.length; i++){
    if(comboSelected
    == evt.target.selectedIndex){
    trace("already selected this item");
    didSelect = true;
    break;
    //if not selected add this index
    if(!didSelect){
    comboSelected.push(evt.target.selectedIndex);
    CBBUY.addEventListener("change", CBBUYListener);
    What you get now is an array - comboSelected that will
    contain the selected
    indexes from the combo box - CBBUY.
    You want a sum of the data:
    function sumSelected(){
    var sum = 0;
    for(var i = 0; i < comboSelected.length; i++){
    sum += CBBUY.getItemAt(comboSelected).data;
    return sum;
    You just get each item's data from the comboBox, at the index
    specified in
    the comboSelected array.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Multiple Selection in dropdown in module pool/text editor

    Hi,
    How to provide an option for multiple selection in dropdown/listbox? Is there any option for this other than triggering F4 function and displaying in ALV or table control with multiple selection option?
    otherwise, is it possible to have multiple selection in text editor?
    Thanks,
    Amal

    HI,
    Instead of displaying multiple selection in deopdown list go for multiple section in ListBOx. It will be easier for you. Here is the demonstration of using ListBox along with screen shots and Code.
    Check this Link
    <Link farm to blocked site removed by moderator>
    Edited by: sum_it2 on Nov 16, 2011 9:37 AM
    Edited by: Vinod Kumar on Nov 16, 2011 3:01 PM

  • Multiple selection to print subcontracting challan

    Hi Gurus,
    Is is possible to have multiple selection of subcontracting challan for printing it at once similar to what we do in T code MB90 for Material Document printout.
    Regards
    Mascot

    You do not have multiple option in J1IF11/12 as in MB90 to take multiple print out.You can take only one print at a time for sub con challan.
    But with any custom process you can try it.

  • Multiple selection checkboxes

    How do we create multiple selection checkboxes?
    here is the more detailed description of what I want:
    which of the next five days they would like to park, via a number of
    checkboxes (important: it must be possible to make multiple
    selections here � you must find out yourself how this is done, it�s not in
    the handout!). The labels on the checkboxes should show the day of
    the week (e.g., �Saturday� and the date and the month �14 March�).
    Any other date information (such as the year) is optional.
    thanks

    <input type="checkbox" name="checkboxName" value="1" />CheckBox1<br>
    <input type="checkbox" name="checkboxName" value="2" />CheckBox2<br>
    <input type="checkbox" name="checkboxName" value="3" />CheckBox3<br>
    <input type="checkbox" name="checkboxName" value="4" />CheckBox4<br>
    <input type="checkbox" name="checkboxName" value="5" />CheckBox5<br>
    <input type="checkbox" name="checkboxName" value="6" />CheckBox6<br>
    <input type="checkbox" name="checkboxName" value="7" />CheckBox7<br>
    <input type="checkbox" name="checkboxName" value="8" />CheckBox8

  • Multiple Selection in Drop Dowm List

    Hi
    I'm developing an application in VC 7.0.I have drop-down lists as input fields in my screens. Is it possible to do multiple selection in the drop down list?..Can i make the user select more than one input from the drop down list?.. should i do this through code or is there any option in the property of UI element?.. Kindly give me your suggestions!!
    Thanks in advance,
    Kavitha.

    Hey guys,
    There's multiple ways to do this.
    1. Use Listbox Element from Visual Composer - This can be done by writing formulas and concatenating multiple entries into a single submit from the listbox. To do this you have to use <Row> tags in your formulas
    (ie) I
    IF(@SIGNIFICANCE==’ALL’,’0KEY”/><Row SIG=”0STD’,@SIGNIFICANCE)
    This will create multiple rows to pass multiple values over from a listbox. I'll publish a how-to guide on this when I have time to write out the details with screenshots.
    2. The other option is use the listbox from web application designer within VC. I already wrote a guide on this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a40f2f7-0c01-0010-d69f-c6317c5165cd
    There is a section in here on listbox.

  • Data multiple selection

    Hi,
    Is it possible to transfer multiple selections list of data in an item to another item , in the branch area?
    Thanks in advanced
    Ilan

    There are so many restrictions and special circumstances for creating or editing a custom form for Applications that you should ask this question in the Apps Forum (http://forums.oracle.com/forums/category.jspa?categoryID=3). People here might or might not have any experience with this. In the Apps Forums they definitely do.

Maybe you are looking for

  • Related Topics as list instead of button?

    I am using RoboHelp 8.0.2 to produce HTML help. Instead of having a Related Topics button, I would like a linked list of topics to appear (so the user doesn't have to click to see the list of topics, and if there is just one topic, isn't automaticall

  • Error MBR1213 again, webmail locked out

    Yet again, attempting to collect email is producing the error message AUTH MBR1213. This appears to be produced by Yahoo rather than BT, but information appears to be non-existant. Usually, I can still get my email by going to the webmail page, but t

  • View Access Privileges

    Hi, I learnt that if we want to create a view in a schema, the owner of the schema should have select,insert,update and delete privileges on all the tables on which the view should be based on. But if we have got the above privilleges through a role

  • Transaction Code for Query

    Hi, I have a QUERY name:ztest,Its infoset title is ztest1 and i want the transaction code as ZQR to be assigned to it.Please let me know the steps for the same.I have to use TCODE SQ01 for it?? Please guide me with this doubt.

  • XIISUSER Gets Locked

    Hi, We have an end to end scenario with MDM and R3 systems interfacing with XI. currently, we are facing an issue where the XIISUSER gets locked sporadically. This caused the messages to be stuck in the Queue and we need to unlocked this user before