Displaying radio button from hashmap in a grid layout

Hi All,
I am trying to display a hashmap as NETUI radiobuttongroup in jsp in a matrix format as below.
Say map contains 10 elements then it should display as.
1 2 3
4 5 6
7 8 9
10
But either it can be vertical or horizontal and not in a grid layout as i have mentioned above.
Any help/idea is appreciated.

Hi,
use af:forEach and build the drid using trh:tableLayout, trh:rowLayout and trh:cellLayout components
Frank

Similar Messages

  • How to deselect the Radio button from htmlb.table.TableView

    Hi Experts,
    Could you please help me, how to seselect the Radio button from htmlb.table.TableView?
    <hbj:tableView
                                       id="tbvCustomer"
                                       model="mcBean.csModel"
                                       design="ALTERNATING"
                                       headerVisible="TRUE"
                                       footerVisible="TRUE"
                                       navigationMode="BYPAGE"
                                       selectionMode="SINGLESELECT"                               
                                       fillUpEmptyRows="FALSE"
                                       headerText="Searchresults"
                                       visibleRowCount="10"
                                       onNavigate="CustomerSearchNavigate"
                                       visibleFirstRow="<%=mcBean.getCsVisibleFirstRow() %>">
    Problem: After searching and selecting the Customer in the table, then again we are searching for another customer. After that the searched customer is displaying in the Table. By default the table Radio button is selected. Because for first Customer we have selected the Radio button. How we can deselect the FRadio button while searching for another Customer.
    Thanks In Advance.
    Regards,
    Vijay.

    I think it is <2095>.
    In SmartForms, go to your text window. 
    Use the icon on the top left of the text window to switch to the old editor.
    INSERT -> CHARACTERS -> SAP ICONS. 
    Do a FIND on "radio".  It's called ICON_WD_RADIO_BUTTON_EMPTY.

  • Display radio button if number of rows in table equals 1

    I'm having issues buy there maybe a simple script out there.
    I have a table which can have up to four rows. If the table contains only one row, a radio button can be clicked to change the format/entry of cells within that row. I want to hide this radio button from a user if they have added more than one row to the table, and make it available again if they reduce the row count back to one.
    I have everything else working fine (Radio buttons changing format of row, add/removing rows in the table using buttons, row count in first column)
    Anybody got any ideas?
    Cheers
    Bobby

    Place the below code..Change the field names as per your form.
    if(Table1.Row1.instanceManager.count == 1)
         RadioButton.presence = "visible";
    else
         RadioButton.presence = "hidden";
    Thanks
    Srini

  • Is it possible to flip the multiple choice quiz "radio" button from left to right of the answers?

    Hello forum,
    I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
    Thanks, in advance. 

    Hello and welcome to the forum,
    I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-1
    http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
    Lilybiri

  • Deleting a radio button from View for ESS

    Hi,
    I have imported ess~us and created a project on local machine.
    On the first screen of W2 reprint, I want to remove a radio button Intercompany mail. When I navigated to the Dictionaries> local dictionary> data type > simple type> delivery method type. Here on the enumeration tab for this data type. I am not able to edit it. The edit button is not highlighted. Cna any one let me know how to enable it.
    I am doing it right way? please guide me.
    ess 600 BP and NWDI 7.0
    Thanks,
    James

    Do you mean . I have to a Sync sources on project? If so, I tried it. and its still the same.
    Between, just to let you know.
    I am trying to remove a radio button from radio button group by key.
    or
    Does it have anything with the permissions? User here is JDI admin and Devloper.

  • How to display Radio buttons with default selection on

    Hi
    I want to display Radio buttons using jsf
    i have done it using
    <h:dataTable id="apartmentList" value="#{userBean.allApartmentList}"
                   var="apartments">
                   <h:column>
                        <h:selectOneRadio id="selectedApartment" onclick="javascript:setSelectedApartment(this);">
                             <f:selectItem itemValue="#{apartments.apartmentVO.apartmentId}" />
                        </h:selectOneRadio>
                   </h:column>
    inside a data table
    now when i click some page i want to display the radio's with default radio button selected
    also when i select one radio button and click on some command button
    eg:<h:commandButton action="#{userBean.setSelectedApartment}"
    the Radio button's Selection should not disappear
    i have written a javaScript
    function setSelectedApartment(oRadio)
              oForm = oRadio.form;
              elems=oForm.elements;          
              for(iIndex=0;iIndex<elems.length;iIndex++)
                   if(elems[iIndex].type == 'radio')
                        if(elems[iIndex].name != oRadio.name)
                             elems[iIndex].checked=false;
              document.getElementById("apartmentListForm:selectedApartmentId").value=oRadio.value;
    To check which Raio button is Selected
    How do i show the Default Selected button and How the selection should not disappear
    Can any one suggest me links or the solution to this problem
    Thank you
    Geetanjalee

    -set the value binding expression of select items to a request scope bean
    - on the page load event() ,do
    setdefaultval("ur default value")
    so each time on the page load it sets the default value. and you can get selected value by getdefaultval()
    --raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Radio buttons (from Indesign) get larger and overlap when fields are highlighted in Acrobat X

    I have created my first set of interactive forms using Indesign CS6 Buttons and Forms dialog box. As the formatting of the fields does not seem to carry over, I have left the text boxes as Indesign objects and added text fields over the top of them in Acrobat X. I also intended to add drop down menus in Acrobat instead because I didn't like how the Indesign list box behaved in Acrobat (having to click through each item rather than dropping down the entire list). There does not seem to be a way to add a drop down menu item from within Indesign. (Or if there is, can someone please point it out? :-) )
    However I used the sample buttons supplied within Indesign to create radio buttons and check boxes (which automatically included the graphics for the different states). On my first test export to Acrobat it appeared that the buttons retained their formatting, but something rather strange is happening when the fields are highlighted, whereby the buttons enlarge and overlap each other. Very frustrating I must say! I have just about gone nuts trying to find a solution. I've tried several different button options from the sample set; I've created them from scratch within Indesign; I've attempted to resize the fields in Acrobat form editing mode, but this screws up the original buttons. I also have found that once selected in Acrobat, I cannot deselect them again. (Don't know if this is significant info but it may point to some kind of stacking problem??)
    Anyway, to make it clearer here are some screen captures:
    1. Form as it looks when opened in Acrobat X. The two different check box styles are from me experimenting in trying to fix this issue. But they all seem to behave the same way once highlighted.                                                               
    2. Form when interactive fields are highlighted. The text fields are perfect but note the big ugly overlapping circles... :-(
    And some further explanation of how I created the buttons and their issues:
    I would very much appreciate some guidance on what I'm doing wrong here, as my poor little head is going to explode very shortly (and my client is getting pretty annoyed at the delay!!)
    Thank you in advance :-)

    I am having the exact same problem. I can't find a way around it. It seems that they included some states like normal, rollover, and click—but they didn't include a highlighted state. So when highlight fields is on it just shows the generic standard check box, which looks ridiculous if you have customized it at all in inDesign. I read a lot of people saying they can't find a way to change the highlight state—anyone out there have any answers?

  • How to not display radio buttons in the select many shuttle component

    Hi all,
    af:selectManyShuttle is a true nice component.
    For business / UI ergo reasons I've decided to not display the radio buttons before each item. There's no option to do that.
    Is it possible ? How ?
    Regards
    Luc-

    Let say there are three ways:
    1. You can use skinning mechanism,
    2. You can include css file in .jspx page and then use it.
    3. You can write css directly in .jspx page.
    For skinning read documentation. For two other ways here is example code that should be inside metaContainer facet of document tag.
    <f:verbatim>
      <!-- CSS directly in jspx page -->
      <style type="text/css">
        .myClass{
          background-color: #8888FF;
      </style>
      <!-- Include css file in jspx page -->
      <link href="css/incStyle.css" rel="stylesheet" type="text/css" />
    </f:verbatim>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Displaying radio button on report output

    hi folks,
             how to display radiobuttons on the report output.
           thanks,
           santosh.

    Declare parameter as RADIOBUTTON
    like
    Single radio button
    PARAMETER p_purch RADIOBUTTON.
    Two radio button with same group.
    PARAMETER p_sales RADIOBUTTON GROUP opt.
    PARAMETER p_purch RADIOBUTTON GROUP opt.
    Regards,
    Mahesh
    Edited by: Mahesh Guragol on Jan 23, 2008 4:12 PM

  • How to display Radio buttons?

    Hi all,
    I have a textfield say P18_No_OF_RADIOS.In this if the user enters 4 then immediately below the textfield four radio buttons needs to be displayed with editale textfields for radio buttons so that user could give values for each radio buttons.If 5 then 5 radio buttons...i.e with respect to the number radio buttons needs to be displayed!Is it possible?
    ~thanks

    Hi sweetcha,
    Check out following link
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm
    In this link check out function APEX_ITEM.TEXT and APEX_ITEM.RADIOGROUP
    Of course the task which you have mentioned is very much feasible using this utility. Let me know if you find some issue in it.
    Sunil Bhatia

  • How to set radio button from radio group using javascript, HTMLB

    Hi guys,
    I am trying to set one radio button as checked, from my radio button group using javascript.
    This is the code:
         <hbj:radioButtonGroup id='TRAIN_SUB' columnCount="1">
              <hbj:radioButton id="TRAIN_SUB0" text="Not Applicable" key="NA" disabled="true" /> 
              <hbj:radioButton id="TRAIN_SUB1" text="SDF" key="SDF" disabled="true" jsObjectNeeded="TRUE"/>               
         <%     
              ssTrainSubsidy = new String(MAIN_FORM.getParamIdForComponent(TRAIN_SUB));
         %>
         </hbj:radioButtonGroup>
    in javascript, i am using this:
                   /document.getElementById('<%= ssTrainSubsidy%>')[2].checked =true;
    I also tried to access the radiobutton directly, using
              ssTrainSubsidy0 = new String(MAIN_FORM.getParamIdForComponent(TRAIN_SUB0));
    but it has null pointer error.
    but always have error, anyone can help? thanks!!
    Edited by: Feng Guo on Aug 12, 2010 3:44 PM

    document.getElementById(radioid).checked =true;
    this code will work to select the radio button (set). i think there is a error in the id you placed in ID. place the Radio butoon id and check again. Check this thread on [setting a Radio button|Setting HTMLB RadioButtonGroup Selection using JS;
    regards,
    Mahesh

  • [Flex 4.5.1] How to prevent Radio Button from being selected when clicked on? No Changing Event?

    I have a very common use case where you have a few radio buttons and only one can be selected at a time. Some of them are basic and on click should be selected right away, but other are more complex and open a pop up which requires some additional user selections after which the user selected OK or CANCEL for example and only after that the selection of the radio button should be applied programatically.
    So to solve this issue I've come up with 2 workarounds:
    1) make the entire group, that holds the radio button, act as a button with buttonMode="true" mouseChildren="false" and programatically change the radio button within it.
    2) hold the current radio button selection in a variable and in the changeHandler of that radio button return the selection back to what was selected before. But this also causes a small flickering of the radio button which gets selected and deselected immediately after that.. not cool.
    So my question is... is there something I am missing that could do the job without these workarounds... like a Changing event which I use for the ButtonBar but I can't find on the RadioButton or RadioButtonGroup... thanks!

    Hi,thanks for the reply. Actually that was my third option, but not sure if it's very good also..
    Here is a simple scenario:
    User must select between 2 radio buttons:
    1) no volume -> sets variable volume=0 and selects the radio button (that is the normal use case)
    2) set volume -> opens up a pop up with a list that has a X button to close and 4 options: 25% volume, 50% volume, 75%, 100%
    At this point the set volume radio button should not be selected and the user has 2 choices:
    -> hit the X button to close - nothing changes and no volume radio button is still selected and volume is still = 0
    -> hit one of the volume % buttons -> the set volume radio button gets selected and the variable volume=25/50/75/100 depending on the button selected by the user.
    That's a pretty common scenario and it's bugging me that I can't easily alter the radio button selection logic since whenever I click it, it gets selected and I can't put a logic in between in a standard way. This should apply to any component with selection, just like ButtonBar has it with the Changing event.
    So is there any other more convenient way to accomplish this scenario that you could recommend?
    Thanks!

  • Displaying radio buttons with dynamic subforms between 2 radio buttons

    I am very new to Adobe Designer/Form Server and had the following question.
    Our form is going to have the following display
    Radio A
    Radio B
    Radio B1
    List of text boxes
    Radio B2
    Radio C
    Radio C1
    List of text boxes
    Radio C2
    When the form is first displayed, user sees Radio A, Radio B and Radio C, right below each other. When the user selects Radio B, Radio B1 and Radio B2 should appear, and the Radio C should 'slide' down to accomodate Radio B1 and B2.
    Similarly, when the user clicks Radio B1, List of text boxes should appear and Radio B2 should 'slide' down to accomodate those text boxes.
    Is this possible? Can anyone please send me a sample code/design?
    Thanks

    Well I got the form to work by copying the Options List Java Script code in change to docReady and adding if(this.rawValue==0).  This produces the result that I need.
    To clean this up I would like to put this code in a Script Object so I can use the same code in both change and docReady.  I’m not a programmer so I’m not sure what additional code I have to put in the Script Object and what code I have to put in change and docReady to use the Script Object.  Any assistance would be greatly appreciated.
    Thank you.

  • ALV Summation button is not working when GRID layout is specified

    Hi,
    I have created a report with Field: ALV Grid Layout. When i dont select anything in ALV GRID Layout. and execute the report. The outout is displayed in ALV Grid. and if i select amt column and PRESS SUMMATION button. im getting the total. Thats fine.
    When i select any of the saved layout in ALV Grid Layout field.and run the report, the output is geeting displayed. and if i select amt column and press SUMMATION Button, im getting info message in the popup saying "Desired operation cant be performed for Column 'amt'"
    Whts te problem ?
    Thanks in Advance.
    Jhovee.

    PART-II
    FORM f_display_data.
      TYPE-POOLS: slis.                    " ALV Global types
    DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                is_layout   = ls_layout
                it_fieldcat = lt_fieldcat
                it_sort     = lt_sort
           TABLES
               t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA

  • Creating option (radio) buttons from Word to PDF (Acrobat Pro)

    Hello,
    I have a word document with form elements (from the form toolbar). After converting this file into a pdf with the acrobat pro add-in I make a interactive pdf with "form field recognition" (in German: "Formularfelderkennung ausführen") of the form menu.
    So far so good.
    But I want to use option buttons, too, not only checkboxes. In Word these option buttons are available only through the toolbar "control element toolbox" (in German: "Steuerelement-Toolbox"). But these elements are not recognized by the above mentioned Acrobat option.
    So, how can I do this without creating these option buttons by hand in Acrobat Pro?
    Thanks, Carlos

    Is it a Designer or Acrobat created form?

Maybe you are looking for

  • How many people work on drivers @ creati

    I was just wondering ... Even the big NVIDIA Company said a few months ago that they did not had enough man power to create nice Vista Drivers in a short time frame. They just had a few progammers that were busy with thousands of other things and if

  • Can I use my old EOS Rebel S lens on a new EOS body.

    Solved! Go to Solution.

  • MP3 Levels Problem

    I have been responsible for recording sermons at our church, converting them to MP3 and then putting them up on the church's website (hcceugene.org). The 45 minute +- messages need to be highly compressed for dial-up access. Heretofore, I've done the

  • Scanner not working after installing Windows 7

    Just installed Windows 7 and lost the ability to use the scanner function in Adobe.  My scanner still works with my HP C6380 softwar e.  Was wondering if another driver was available for Windows 7.  Yes or no, send if possible I am usin Acrobat 9.0 I

  • Simple works

    hi guys!! ive tried to run a simple rmi test and i got a class not found exception.... so i figured i should try the example and see the what i was doing wrong and guess what? got the same error (except the implementing class name): Caused by: java.r