How to enable group label selectable on combo box?

When we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
Thanks

When we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
Thanks

Similar Messages

  • How to show default value selected in combo box...

    Hi,
    I need an help...
    I have a combo box and i want to show the default value(coming from DB) selected on combo box on Page Render.
    Thanks,
    Neha

    Hi,
    Will this help?
    database default value in selectOneChoice
    Set default selected value in a SelectOneChoice
    Regards
    Vishal

  • Can I Display a Selection or Combo box using MIDP

    Hey All,
    How can I display a Selection or Combo box in My Form Using MIDlet. Please send a Way to do this. Thanks in Advance.

    Hi
    use 'List' for displaying menu..
    check the api for 'javax.microedition.lcdui.List' class
    regards
    williams

  • How to enable Multi-record select in Oracle Forms

    Hi
    we recently upgraded to R12 -- 12.1.3.
    we have a requirement in which I should let the users select multiple records in a tabular Form (custom form).
    Currently we have a custom form that displays Open sales orders with credit holds. After selecting the record, the user can release the hold on the order by clicking on a button. The requirement is for enabling selection of multiple records and release.
    We have a similary functionality in 'Quick Sales Orders' form. In this form, multiple lines can be selected by pressing 'CTL' and clicking on the records.
    I read about using APP_MULTI for this. But I couldnt figure out how to enable the multiple selection.
    If someone could throw some light on this, it would be greatly helpful

    See http://stackoverflow.com/questions/3291758/how-do-i-use-the-app-multi-package-to-support-multi-selection-in-my-oracle-form for steps/sample code.
    Sandeep Gandhi

  • InfoView - How to Restrict values of Month Dimension Combo Box

    Post Author: alexrox
    CA Forum: Publishing
    Product: Business Objects Enterprise XI R2
    Version: XI R2
    Patches Applied:
    Operating System(s): Linux RHEL 4 x86
    Database(s): Oracle 10gR2
    Error Messages:Steps to Reproduce:
    Hello, we are using Business Objects Enterprise XI R2 in the company I work, and we are facing a problem in some web intelligence reports.Our BO version is in Spanish, so maybe I do not translate some BO terms properly into English.
    We have the "Time" class in the Universe we use, and in that class, we have the "month" dimension.
    When we create some reports in InfoView, we can use the "month" dimension to display the results of that month (dragging and dropping that dimension in the "Analysis Context" Area).
    The user can choose values in the "month" dimention through a combobox in the "analysis context" area. The problem is that Infoview allows the user to select the value "all the values" of that dimension, I mean, all the months, so that the results of the report are according to the "automatic aggregation" calculated of the values of that dimension (all the months).
    But, we do not want to allow the user to select that value (all the values) of that dimension, because it causes that the report displays incorrect results (we have some percentages that have incorrect values in the aggregation, for example). I hope that you understand the problem I have tried to explain.
    My question is how can we restrict so that the combo box (of the month dimension at the analysis context area ) does not allow to select "all the values"?
    Is it possible?  If so, do we have to make a change in the universe or is it a restriction of the web intelligence repport?
    Thank you very much!
    Alejandro Usero Ruiz

    Post Author: jsanzone
    CA Forum: Publishing
    Alejandro,
    In your posting, quote "(we have some percentages that have incorrect values in the aggregation, for example).", I'm wondering if you are calculating the percentages within your universe or not?  I.e. do you have a universe object that in essence is doing the math?  If so, I might suggest that you not do it this way (even though in total aggregation calculations this will produce a valid result), but in disaggregate calculations (during the users "slicing and dicing") the percentages are not re-calculated by the BusObjects tool because it thinks that the data it received from the SQL output is good to go, and this is where the incorrect values in the aggregation start to show up.  We had this problem too, so we ceased from calculating at the universe level and built a local variable to the report, thus BusObjects will recalcuate the percentage properly for each level of aggregation that user selects.  The downside to this approach is that every report that has percentage calculations will require the local variable to be built for that report.  Even users who build their own reports will have to build their own local variable to compute the percentage for their reports.  The upside is that the calculations will be correct every time.

  • Calling a bean method on select of Combo box item

    Hi
    On select of Combo box item in a form, text fields in the same form should be populated
    dynamically.Is it possible to call a bean method which does this,by calling onSelect() method
    of combo box ?
    Thanks in advance,
    Sridevi

    Uff, sorry!
    I ment that you write some code for the "onSelect" event which sends a request to the server with the selected value: onSelect="self.location.href='<%= request.getRequestURI()%>?selectedVal= ' + this.selectedIndex;"

  • How to disable smartcut toolbar or sections combo box?

    Dear firends,
    How to disable smartcut toolbar or sections combo box?
    regards
    Siyavuş

    I am doing this from button OnClick now!!! but it not work for OnStartup document?!
    var x=document.getElementById("pageSelect")
    x.disabled=true
    regards
    siyavuş

  • How to populate a list box linked to selection in combo box?

    Hi All,
    I am a beginner in Xcelsius. I am having problem on how to populate a list box based on the selection on my combo box.
    I have a combo box and a list box.  The combo box value consist of Countries. Values are:
    Singapore
    Indonesia
    Thailand
    When I select, for i.e. Indonesia, I want to populate the list box with all the Postal Code of Indonesia. When I select Thailand, i want to do the same.
    Can anyone shed some lights on how to achieve this?
    My spreadsheet data is as follow
    Country         Postal Code
    Singapore     680123
    Singapore     680124
    Singapore     680125
    Indonesia     155123
    Indonesia     155124
    Indonesia     155125
    Indonesia     155126
    Thailand       333123
    Many Thanks,
    Harianto

    Hi,
    I am detailing the complete steps below:
    In the combobox select the entire range of Country while seeing the records from the Combobox, Xcelsius will automatically show the unique values in the selection.
    After that in the "Data Insertion" section for Combobox select the "Insertion Type" as "Filtered Rows" (please click on the question mark beside this option and it will show how the selection works).
    In the source select the postal code, in the destination select the range which will be used as a data source for the list box.
    This will resolve the concern. Please remember to select the question mark beside the "Insertion Type" option, it explains the working in specific details.
    Best of luck.
    Regards,
    Gourav

  • How To Enable Group Layout When Creating Chart in Crystal Reports XI

    Hi
    I Created a chart, and i placed the same on Report Header, when i want to change the layout Option As Group, it is disabled, how to enable the Group Layout Option.

    Hello
    You should have your group already created and your summary. you place your graph outside the group (RH or RF)
    Luc

  • How to enable printer range selection in printer Dialog?

    I try to do the printer setup, when I do
    Code:
    job.setPageable (book);
    if (job.printDialog ()) {
    try {
    job.print ();
    catch (PrinterException ex) {
    ex.printStackTrace ();
    note: job is PrinterJob.
    The printer setup that shown, it disable the selection mode in printer range. Anyone know how to enable it or do print by text selection (highlight).
    Thank you in advance.

    If you set up a JFileChooser dialog you can set the setMultiSelectionEnabled to true then the JFileChooser returns an array of files.
    eg.
    File files[];
    JFilechooser chooser new JFileChooser();
    chooser.setMultiSelectionEnabled(true);
    if (result == JFileChooser.APPROVE_OPTION) {
    files = chooser.getSelectedFiles();

  • How to Enable Authentication to Selected Users

    1. How to enable SAP and AD authentication only for selected users in infoview login page ?
    2. How to disable(remove) enterprise options in down arrow selection in infoview login page for some users?
    We have to make some changes in web.xml?
    Can anyone help me out.
    Thanks!
    Milton

    You have to enable authentication for your application.
    However, for the public pages, you disable this by setting the page's security attribute Authentication to "Page is public".

  • How to Enable Administration label in  Publisher.

    hi
    i m quite new, in Publisher Administrator Lable is Disabled, i have to create new JDBC connection. plz let me know how to enable it.
    Thanks

    Hi,
    You need these atleast
    telnet
    ssh version 2
    ssh
    ASA(config)# crypto key generate rsa modulus 1024
    In the above you specify the source network where you are going to connect to the ASA. The source interface is also mentioned. This is the interface behind which the users are located. It might typically be "inside" and/or "outside". You can enter multiple statements if you are managing from multiple different networks.
    For example
    telnet 10.10.10.0 255.255.255.0 inside
    ssh 10.10.10.0 255.255.255.0 inside
    ssh 1.1.1.1 255.255.255.255 outside
    In addition to this you can naturally configure local AAA on the ASA so you can use a username/password to authenticate.
    Hope this helps
    Please do remember to mark a reply as the correct answer if it answered your question.
    Feel free to ask more if needed
    - Jouni

  • How to hide certain items in a Combo Box

    I've two Combo Box(CB). First CB contain 4 items(drop-down menus) and the 2nd CB contain 12 items.
    I want that when I select one of the items from Combo Box1, then only 4 out of 12 items from Combo Box2 should be visible. So actually I want first combo Box to act as filter. Could this be done using the AS3 code.

    I don't think there is any way to hide items, but you can rewrite he items basd on the selectedIndex value of the cbHeight combobox.  In the code below, each element of the weightData array is an array of objects.
    import fl.data.DataProvider;
    var weightData:Array = new Array(); 
    weightData.push([{label: "100"},{label: "110"},{label: "120"},{label: "130"}]);
    weightData.push([{label: "200"},{label: "210"},{label: "220"},{label: "230"}]);
    weightData.push([{label: "300"},{label: "310"},{label: "320"},{label: "330"}]);
    function heightSelected(evt:Event):void
         var hSelected:int = evt.target.selectedIndex;
         var dp:DataProvider = new DataProvider(weightData[hSelected]);
          cbWeight.dataProvider = dp;

  • Default selection in combo box at struts form

    hi friends..i am new person in struts form..this is my prg.. display combo box value in 18. but i want 20...how to write program....plz anybody help me....thank you............
    <%
    for (int index = 18; index < 56; index++)                                                                           %>
    <html:option value="<%=index + ""%>">
    <%=index + ""%>
    </html:option>
    <% } %>

    what you need is field "value" in the select:
    [http://struts.apache.org/1.2.x/userGuide/struts-html.html#select]
    see "value" property
    (found it easily with "struts option selected" on google)

  • Multiple selection in combo box

    Hi,
    How to save the selected values (with multiple selection) in to the database from combo box. I made it as multiple selection box by selecting value true for attribute Multiple, but only one value is saving in to database. How to handle it.
    Regds,
    Sudhakar

    I 'll explain the requirement:
    I have three tables, for example employee, department and empDept table which contains empId and DeptId. In my jsp, while inserting employee i need to give all existing departments in combo with multiselect option. When user press submit, i need to insert one record in employee, and records in empDept with new empId and all selected Department ids. empId is dbsequence generation.
    (I did this through LOV mode of list binding editor. Even i select multiple values in JSP, its inserting only first selected record in to empDept table.)

Maybe you are looking for

  • Special characters in utl._url.escape

    Hi I am using httpuri for google translator to convert into different languages. While passing the string, to escape the white spaces, I am using utl_url.escape . But many of my words contain special characters like '+ , @ , $ , ) ,. ,; [, ] etc. Not

  • Source system (0SOURSYSTEM) ID in flat file ODS.

    Good morning Please assist with the following? I created transfer rules for a flat file load to the ODS and the 0SOURSYSTEM is compounded with another characteristic. I have assigned a  'constant' ie. "PF" to 0SOURSYSTEM. I changed the constant later

  • I forget the answer to my itunes security questions, How do I change them?

    I forget the answer to my itunes security questions, How do I change them?

  • 1841 Config for SDM

    Hello, This is the first time I am required to use a Cisco product and am not at all familiar with the setup procedure. I have an 1841, and am trying to set it up for SDM access. It was previously configured and that person is no longer available to

  • Low end Apple supported printer

    Since I could not find a driver for my Dell V305 printer, can anyone recommend a low end all in one printer that will work with OS X 10.6.1? golfer man