Reg Radio Buttons configured as a group

Hi,
I have 5 search regions and 5 radio buttons on a page.I have configured 5 radio buttons as a group.I have done a PPR on radio buttons whereby based on the radio button clicked the corresponding Search region(OAF Query region) is rendered on the page.So when a radio button is clicked, it shows a query region with a "Go" and "Clear" button.
1."Go" button is working fine for all query regions but "Clear" is working only for the query region rendered by the last radio button,... that is which ever radio button is last on the page....it alone clears the data on the search fields.(irrespective of query region it is clearing all the search criteria's).For the rest of the radio buttons when "Clear" is clicked it does not clear the search fields.
2.Each Query region is based on a different View object and the VO's are read only.
The code written for configuring all the radio buttons as a group is:
(Here..Customer,Item,Arrow,registration,supplier are the five radio buttons)
OAMessageRadioButtonBean customerButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("CustomerRB");
customerButton.setName("SearchRG");
customerButton.setValue("Customer");
OAMessageRadioButtonBean partButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("PartRB");
partButton.setName("SearchRG");
partButton.setValue("Item");
OAMessageRadioButtonBean arrowButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("ArwUniqueNumRB");
arrowButton.setName("SearchRG");
arrowButton.setValue("Arrow");
OAMessageRadioButtonBean regButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("RegNumRB");
regButton.setName("SearchRG");
regButton.setValue("Registration");
OAMessageRadioButtonBean manfButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("ManufacturerRB");
manfButton.setName("SearchRG");
manfButton.setValue("Supplier");
Thanks,
Swarna

Thanks for the reply...I have checked in Dev guide.It is given that...for multiple query regions with auto customization mode I have to
1.Set the Add Indexed Children property of the container for the query bean to false.---But query bean does not have Add Indexed Children attribute..where to set this?
2.Call the oracle.apps.fnd.framework.webui.OAQueryUtils createSecondaryQueryBean API---I tried doing this....by...
OAQueryBean custQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("CustQueryRN");
OAQueryBean itemQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("ItemQueryRN");
OAQueryBean arwQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("ArwUnqNumQueryRN");
OAQueryBean suppQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("SupplierQueryRN");
OAQueryBean regQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("RegNumQueryRN");
OAHeaderBean hdrBean = (OAHeaderBean)webBean.findIndexedChildRecursive("SimpleSearchHdrRN");
Now I am supposed to call the API which I am not able to:
I have tried writing it as below but it hasnt worked.....
hdrBean.createSecondaryQueryBean(pageContext,webBean,itemQueryBean,"1");
I am supposed to call this API for all my radio butons apart from the first:
createSecondaryQueryBean(pageContext,webBean,itemQueryBean,"1");
createSecondaryQueryBean(pageContext,webBean,arwQueryBean,"2");
createSecondaryQueryBean(pageContext,webBean,suppQueryBean,"3");
createSecondaryQueryBean(pageContext,webBean,regQueryBean,"4");
How do I proceed?

Similar Messages

  • Using a radio button to populate another group of radio buttons?

    I am new to Adobe forms and new to Javascript. I have a question on my form with a radio button group (PHQ) with four choices 1, 2, 3 or 4. If the user chooses "1", I want a check to appear in the "No" box for another radio button group (Screen). If, on the other hand, the user chooses 2, 3, or 4, from the PHQ group, I want a check to appear in the "Yes" box of the Screen group. Is this possible? Not sure how to go about doing this.

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Radio Button or Check Box Group

    Hi,
    I built a form based on a query. There is a flag column, only one of queried records is allowed to be "Y" in this column. The rests must be null.
    Most ideal thing is to have a radio button group, only one of them can be selected.
    Another way is to have a group of check boxes also allow only one checked. Once another check box is selected, the previously selected box must be unchecked.
    Does anybody have idea of how to do it?
    Thanks,
    null

    You have the save the number of the current ("checked") record in your data block.
    After that you can launch a trigger which will scan every record in your data block (there are enough built-ins like FIRST_RECORD, LAST_RECORD, NEXT_RECORD, Current_record property, etc.)to allow you to do this. The trigger will set the check item property to "unchecked" if it is not the saved "checked" record.
    Joseph
    null

  • Reg:Radio button in ABAP Query

    Hi ABAPers ,
    I created radiobuttons in SQ02 there i have to write the coding for it ... what type of coding we have to write
    ALV coding wll work out or what type of coding we have to write can you guys plz suggest me
    Help me out from this problem i am not familiar with ABAP Query
    Regards,
    Y Ravichandra.

    Hi Ravichandra,
       You have to use at selection-screen output event for this purpose here is a sample code try it and you will get the logic.
    PARAMETERS :
       p_flight RADIOBUTTON GROUP r1 ,
       p_book RADIOBUTTON GROUP r1 .
    PARAMETERS :
      w_temp1 RADIOBUTTON GROUP r2 MODIF ID sc1 ,
      w_temp2 RADIOBUTTON GROUP r2 MODIF ID sc1 .
    SELECT-OPTIONS s_carrid FOR sflight-carrid MODIF ID sc1 .
                                           " Airline Code
    PARAMETERS :
    w_temp01 RADIOBUTTON GROUP r3 MODIF ID sc2 ,
    w_temp02 RADIOBUTTON GROUP r3 MODIF ID sc2 .
    SELECT-OPTIONS s_bookid FOR sbook-bookid MODIF ID sc2 .
                                           " Airline Code
    *                       AT SELECTION-SCREEN OUTPUT                    *
    AT SELECTION-SCREEN OUTPUT .
      IF p_flight = 'X'  .
        fl_flag = 1 .
        LOOP AT SCREEN.
          IF screen-group1 = 'SC2'.
            screen-active = 0 .
            MODIFY SCREEN .
          ENDIF.                           " IF SCREEN-GROUP1 = 'SC2'
        ENDLOOP.                           " LOOP AT SCREEN
      ELSEIF p_book = 'X' .
        fl_flag = 2 .
        LOOP AT SCREEN.
          IF screen-group1 = 'SC1'.
            screen-active = 0 .
            MODIFY SCREEN .
          ENDIF.                           " IF SCREEN-GROUP1 = 'SC1'
        ENDLOOP.                           " LOOP AT SCREEN
      ENDIF .                                " IF P_FLIGHT = 'X' .
    Here in this case, There are 2 radio buttons and 2 select options. On clicking the first radio button one of the select option is hidden. If you you just have a single radio button then you can avoid using at selection-screen output and just write your code start-of-selection.
    Much Regards,
    Amuktha

  • Simple query reg radio button

    Hii All
    In my report i am creating two radio buttons normally when we create radio buttion text comes first then radio button comes
    But i want first radio button comes then corresponding text to my radio button appears
    Helpful Answers will be rewarded
    regards
    Hitesh

    Hi
    see this selection screen design
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    double click that text elements and write what ever you want and activate it
    thats all

  • Reg: radio button and parameters usage

    Hi,
       If there are 3 radio buttons and 1 parameter, and if i click one radio button then the parameter must be a mandatory, if i click the remaining radio button the parameter must be a normal one( Not mandatory).
    give me clear picture to solve it, as soon as possible,
    thanks in advance

    Hi,
    Wanna try this...??
    PARAMETERS: p_exp RADIOBUTTON GROUP radi,
                p_imp RADIOBUTTON GROUP radi,
                p_clear RADIOBUTTON GROUP radi.
    PARAMETERS: path(30)    TYPE c .
    at selection-screen.
                if p_exp = 'X'.
                 if path is initial.
                  message 'Enter clear' type 'E'.
                endif.
                endif.
    Solves ur problem!!
    Have Fun!!
    Ira!!

  • Reg: Radio Buttons urgent

    HI all
    How to add radio buttions in  prgogramm. how to initialize in the programm and where can i give selecton parameters in the programm plz send me detailed steps
    regards
    JK Rao

    hi,
    i am sending u a simple ex prog which is close to ur req,go thru it.
    i have 2 radio buttons and 2 parameters on the selection screen.
    if 1st radio button is selected,display material number
    that is eneted by the user for the parameter p_matnr,
    if 2nd ine is selected display  plant.
    displaying part you can wirte accordingly,
    <b>selection-screen begin of block b1 with frame.
    parameters:r1 radiobutton group GP1,
               r2 radiobutton group gp1.
    selection-screen end of block b1.</b>
    <b>selection-screen begin of block b2 with frame.
    parameters:p_matnr type mara-matnr,
    p_werks type mard-werks.
    selection-screen end of block b2.</b>
    data:v_matnr type mara-matnr,
    v_werks type mard-werks.
    start-of-selection.
    <b>if r1 = 'X'.</b>
    select matnr from mara into v_matnr
    where matnr = p_matnr.
    write:/ v_matnr.
    endselect.
    else.
    select werks from mard into v_werks
    where werks = p_werks.
    write:/ v_werks.
    endselect.
    endif.
    *do award points for all helpful answers
    regards

  • Issue in radio button group in module pool in infotype creation

    Hi,
    I have a custom infotype,where there are six radio buttons belonging to same group for different mode of payment.Issue is when user clicks a radiobutton,a subscreen opens .there are six different subscreens when user clicks on each of the six radio buttons.
    Requirement is when user clicks one button ,one subscreen opens but the other radio buttons(whcih are eligible to be open) gets disabled .I have tried to handle the issue manually through coding ,but i think the issue is with the radiobutton grouping.
    How to make the other radio buttons open for input even when the user has clicked on one button and the subscreen opens corresponding to the screen so that the imemediately ther user clicks on another radio button and get the corresponding subscreen opened for him.Pls advise.

    I have written a custom module in PBO section of my custom infotype.There i have written this code:-
    LOOP AT SCREEN.
        READ TABLE  fp_it_payment_opt_open INTO wa_payment_opt_open WITH KEY scrname = screen-name.
        IF sy-subrc = 0.
          screen-input = c_input_on.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    The internal table it_payment_opt contains all the radio buttons and checkboxes and is populated when the radio buttons and checkboxes are turned input on while modifying the screen depending upon course of my price and personnel subarea.
    While calling subscreen area in PBO,the radiobuttons get into a state of input-off automatically.so i have written a z-module after
    the module hidden_data .
    PROCESS BEFORE OUTPUT.
            general infotype-independent operations
      MODULE before_output.
      CALL SUBSCREEN subscreen_empl   INCLUDING empl_prog empl_dynnr.
      CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
            infotype specific operations
      MODULE p9300.
      CALL SUBSCREEN subscreen_area INCLUDING subscr_prog subscr_dynnr.
      MODULE hidden_data.
      module z_open_paymnt_optns.
    My problem has been solved ,hence am closing the thread.Thanks to all of you.

  • I need to reset, clear or deselect a group of radio buttons

    I haven't been able to find the answer to this: I have a quiz-like animation that uses a group of radio buttons, I need the group to reset, clear or deselect the previous selection after submitting the answer on each question, is that possible?
    Here is the code:
    stop();
    var messageBox:TextField = new TextField();
    messageBox.text = "";
    addChild(messageBox);
    messageBox.textColor = 0xFF0000;
    messageBox.width = 200;
    messageBox.height =100;
    messageBox.x = 450;
    messageBox.y = 340;
    var userAnswer:int;
    var rbg:Object = rbA.group;
    var finalScore:int;
    btnCheck.addEventListener(MouseEvent.CLICK, nextBtn);
    function nextBtn(evt:MouseEvent):void {
    userAnswer = int(rbg.selectedData);
                if(userAnswer == 0) {messageBox.text = "PLEASE SELECT AN OPTION";
    }else{
    finalScore = finalScore + userAnswer;
    messageBox.text = "";
    nextFrame();
    btnFinish.addEventListener(MouseEvent.CLICK, finishBtn);
    function finishBtn (evt:MouseEvent):void {
    userAnswer = int(rbg.selectedData);
    if(userAnswer == 0) {messageBox.text = "PLEASE SELECT AN OPTION";
    }else{
    finalScore = finalScore + userAnswer;
    if (finalScore > 13){ gotoAndStop(8);
    }else if (finalScore > 9){ gotoAndStop(7);
    }else if (finalScore > 4){ gotoAndStop(6);
    }else {}
    startOver.addEventListener(MouseEvent.CLICK, reStart);
    function reStart(evt:MouseEvent):void {
    gotoAndStop(1);
    finalScore = 0;

    I'm all ears on this one because I checked into this the first time I saw this posting back whenever and couldn't find the solution.  And now I built something that tries to make it happen, and it doesn't.  In the AS3 help docs it doesn't say gets or sets, whereas in the AS2 docs it goes on about doing such things with that property... so maybe they changed the compnent for AS3?
    Here's what I concocted building off a help docs example.  rb3 and rb4 are basically there just to reset rb1 and rb2:
    import fl.controls.RadioButton;
    import fl.controls.RadioButtonGroup;
    var rbg1:RadioButtonGroup = new RadioButtonGroup("group1");
    var rbg2:RadioButtonGroup = new RadioButtonGroup("group2");
    var rb1:RadioButton = new RadioButton();
    var rb2:RadioButton = new RadioButton();
    var rb3:RadioButton = new RadioButton();
    var rb4:RadioButton = new RadioButton();
    rb1.group = rbg1;
    rb2.group = rbg1;
    rb3.group = rbg2;
    rb4.group = rbg2;
    rb1.move(10,10);
    rb2.move(10,50);
    rb3.move(150,10);
    rb4.move(150,50);
    addChild(rb1);
    addChild(rb2);
    addChild(rb3);
    addChild(rb4);
    function resetGroup1(evt:MouseEvent){
    rbg1.selection.selected = false;
    rb1.selected = false;
    rb2.selected = false;
    rb3.addEventListener(MouseEvent.CLICK, resetGroup1);
    rb4.addEventListener(MouseEvent.CLICK, resetGroup1);
    I rarely use radio buttons components.  If I need them, I usually create my own using movieclips.  If you go this route then you'll be able to decide what they can do, you just need to create the functions for controlling their behavior as a group..

  • How to select single radio button in particular group and to calculate valu

    Hi.. Experts..
    I have 2 radiobutton groups and each radiobutton group consists 10 radio buttons..
    in each group i want to select one radiobutton and based on the radiobutton selected the value
    as to get calculated.
    what happens is that if i select a radiobutton in onegroup and select in another group , radiobutton selected in previous group get's
    deselected.
    please help in this .. it's very urgent...
    here is my code .. help if want to change the coding or is there any better way of coding then this..
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = " ">
        <htmlb:form>
          <%@include file="tst1.htm" %>
          <htmlb:tray id    = "2"
                      width = "100%" >
            <htmlb:gridLayout columnSize  = "15"
                              rowSize     = "3"
                              cellPadding = "5"
                              cellSpacing = "5"
                              width       = "100%" >
           <htmlb:radioButtonGroup id = "rbg1"
      columnCount = "3"
       selection = "<%= selection %>" >
              <%-- qno --%>
              <htmlb:gridLayoutCell columnIndex = "1"
                                    rowIndex    = "1"
                                    width       = "30" >
                1
              </htmlb:gridLayoutCell>
              <%-- Dimensions --%>
              <htmlb:gridLayoutCell columnIndex = "2"
                                    rowIndex    = "1"
                                    width       = "300" >
                Understands the company's vision and long-term goals and the role he/she and team members have to play in accomplishing them.
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Don't know --%>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "1"
                                    width       = "80" >
                Don't Know
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "2" >
                N
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="n">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Rarely --%>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "1" >
                Rarely
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "2"
                                    width       = "20" >
                1
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "2"
                                    width       = "20" >
                2
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "2"
                                    width       = "20" >
                3
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - sometimes --%>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "1" >
                Some
                times
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "2"
                                    width       = "20" >
                4
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "2"
                                    width       = "20" >
                5
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "2"
                                    width       = "20" >
                6
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - most of the time --%>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "1" >
                Most of the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "2"
                                    width       = "20" >
                7
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "2"
                                    width       = "20" >
                8
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - all the time --%>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "1" >
                All the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "2"
                                    width       = "20" >
                9
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "2"
                                    width       = "20" >
                10
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              </htmlb:radioButtonGroup>
          </htmlb:gridLayout>
    <%-- qno2 --%>
    <htmlb:gridLayout columnSize  = "15"
                              rowSize     = "3"
                              cellPadding = "5"
                              cellSpacing = "5"
                              width       = "100%" >
    <htmlb:radioButtonGroup id = "rbg2"
      columnCount = "3"
       selection = "<%= sel %>" >
              <%-- qno --%>
              <htmlb:gridLayoutCell columnIndex = "1"
                                    rowIndex    = "1"
                                    width       = "30" >
                1
              </htmlb:gridLayoutCell>
              <%-- Dimensions --%>
              <htmlb:gridLayoutCell columnIndex = "2"
                                    rowIndex    = "1"
                                    width       = "300" >
                Understands the company's vision and long-term goals and the role he/she and team members have to play in accomplishing them.
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Don't know --%>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "1"
                                    width       = "80" >
                Don't Know
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "2" >
                N
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "3"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="n">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - Rarely --%>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "1" >
                Rarely
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "2"
                                    width       = "20" >
                1
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "4"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "2"
                                    width       = "20" >
                2
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "5"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "2"
                                    width       = "20" >
                3
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "6"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - sometimes --%>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "1" >
                Some
                times
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "2"
                                    width       = "20" >
                4
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "7"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "2"
                                    width       = "20" >
                5
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "8"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "2"
                                    width       = "20" >
                6
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "9"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="hello">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - most of the time --%>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "1" >
                Most of the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "2"
                                    width       = "20" >
                7
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "10"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "2"
                                    width       = "20" >
                8
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "11"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <%-- Rating Scale - all the time --%>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "1" >
                All the time
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "2"
                                    width       = "20" >
                9
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "12"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "2"
                                    width       = "20" >
                10
              </htmlb:gridLayoutCell>
              <htmlb:gridLayoutCell columnIndex = "13"
                                    rowIndex    = "3" >
                <input type="radio" name="***" value="male">
              </htmlb:gridLayoutCell>
              </htmlb:radioButtonGroup>
            </htmlb:gridLayout>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

    Dont duplicate the thread, follow ur original thread Re: Regarding radio buttons
    Raja T

  • Radio Buttons - returning individual values from an exclusion group possible?

    Using LC Designer 7.1
    Does anyone know if it is possible to return individual values from an exclusion group of radio buttons?  My xml data file gives one value for the entire group, e.g.,
    2
    ...where the second radio button was selected.  But I'd prefer an output something like this...
      0
      1
      0
    etc...
    Is something in this format possible?

    You might be better off to use checkboxes and script them to act like radio buttons (as an exclusion group). That way they'd each have an on/off value.
    Regards,
    Dave

  • How do I uncheck a radio button

    I have a set of three radio buttons:
    Field type: exclusion group
    Value type: User entered optional, Default: none
    When one accidentally checks one of these buttons, it cannot be unchecked - or at least so it seems.
    The question is: Does anyone know of a way to make the checkmark disappear, for example by clicking one more time in the checked button?
    I think that this is a common problem and that somewhere in the Livecycle button settings there is something that I have overseen, but I cannot find the solution!
    I am not expierienced with javascript, but if that is what it takes I'm a fast learner.
    Thanks in advance!

    You woudl have to execute a command to reset the RadioButtonList. The command is xfa.host.resetData("the name of the RadioButtonList")
    Now you will need some way for the user to indicate this to you ....you can have a button on the form beside the radiobuttons to reset them  and that code can go on the click event of that button.
    Hope that helps
    Paul

  • How to uncheck all radio buttons in WHEN-NEW-FORM-INSTANCE trigger

    Hi,
    I have one radio group(RDBTNGRP) having three radio buttons (RDBTN1,RDBTN2,RDBTN3) in a control block, i want to uncheck all these three buttons through code.
    Any help please.
    Regards,

    Hello,
    I don't think you can achieve using the code or property to unselect all radio buttons.
    One possibility is there to create one extra radio button in that same group and set any value for that. Let say you have two radio buttons in the radio group and now you created one more radio button in the same group. And set the value like ABC. Now go to the property of new created radio button and set the X Position, Y Position, Width and Height to zero (0). And set the initial value for that radio group to ABC (new created radio button). So at runtime it will look like unselected all radio buttons. And while saving you can check if radio button selected on your criteria or not.
    -Ammad

  • Nee help in changing de radio button

    the output wil have the radio button, but i d0n wan the radio button.. wat shld i change?
    change to List izit? when i change to List, there's sumtin wron with my fm3.append(imageItem);
    thx
    import java.io.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    public class Screensaver extends MIDlet implements CommandListener {
         // declare the form
         private Form fm1;
         private Form fm2;
         private Form fm3;
         // declare image
         private Image pix;
         private ImageItem imageItem;
         // declare commands
         private Command okayCommand;
         private Command backCommand;
         private Command cancelCommand;
         private Command saveCommand;
         // declare display
         private Display display;
         // Choice Group of preferences
         private ChoiceGroup choice;
         // declare TextField, RecordStore
         private TextField tx_field;
         private RecordStore record;
         // declare byteArray
         ByteArrayOutputStream output = new ByteArrayOutputStream();
         task tasking = new task();
    Timer timer = new Timer();
    int currentId=1;
    int timeInterval=1000;
    boolean u = false;
    public Screensaver()
              display = Display.getDisplay(this);
    // Specify a font face, style and size
    //Font font = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
              okayCommand = new Command("OK",Command.SCREEN,1);
              backCommand = new Command("Back", Command.BACK, 0);
              cancelCommand = new Command("Cancel", Command.BACK,0);
              saveCommand = new Command("Save",Command.SCREEN,1);
    //startApp()
    public void startApp()
              // form for the main menu
              fm1 = new Form(".: Main Menu :.");
              choice = new ChoiceGroup("Choice Label", Choice.EXCLUSIVE);
              choice.append("Start Screensaver",null);
              choice.append("Options",null);
              choice.append("Exit",null);
              fm1.append(choice);
              fm1.addCommand(okayCommand);
              fm1.setCommandListener(this);
              // form for option
              fm2 = new Form(".: Options :.");
              // create new textfield to enter time interval
              tx_field = new TextField("Time Interval(sec)","",5,TextField.ANY);
              fm2.append(tx_field);
              // saveCommand to save the time interval
              fm2.addCommand(saveCommand);
              fm2.addCommand(backCommand);
              fm2.setCommandListener(this);
              //form for the screensaver
              fm3 = new Form(".: Screensaver :.");
              fm3.addCommand(backCommand);
              fm3.setCommandListener(this);
              display.setCurrent(fm1);
              // cannot stop the screensaver//
    //pauseApp()
    public void pauseApp()
    //destroyApp()     
    public void destroyApp(boolean u)
              notifyDestroyed();
    // handle commands to change time interval and to display menu again
    public void commandAction(Command c, Displayable d)
              // saving the time interval
              if (c == saveCommand)
                   Integer inter = new Integer(0);
                   timeInterval = inter.parseInt(tx_field.getString());
                   timeInterval = timeInterval * 1000;
                   // display menu again
                   display.setCurrent(fm1);
              // backCommand, will return to main menu, setCurrent(fm1)
              else if (c == backCommand)
                   // display menu again
                   display.setCurrent(fm1);
              else if (c == okayCommand)
                   // getSelectedIndex() ==0, means the 1st icon is selected (start screensaver)
                   if (choice.getSelectedIndex() == 0)
                        display.setCurrent(fm3);     
                        timer.schedule(tasking, 0, timeInterval);
                   // the option is selected, so display fm2
                   else if (choice.getSelectedIndex() == 1)
                        // display screensaver
                        display.setCurrent(fm2);
                   // exit option is selected, so us destroyApp
                   else
                        boolean testing = true;
                        // exit
                        this.destroyApp(testing);
    public class task extends TimerTask {
         public void saveEntry (String entry_E) throws RecordStoreException {
              byte [] data = entry_E.getBytes();
              record.addRecord (data, 0, data.length);
    public void run(){
                        // de nx 4lines determine whether the pix cn move anot..
                                  if(fm3.size()==1)
                                                 fm3.delete(fm3.size()-1);
         try {
                             // open recordstore
                             record = RecordStore.openRecordStore ("screensaver", true);
                                  if(u==false)
                                  this.saveEntry("/1.png");
                                       this.saveEntry("/2.png");
                                       this.saveEntry("/3.png");
                                       this.saveEntry("/4.png");
                             output.write(record.getRecord(currentId),0,record.getRecord(currentId).length);
                   catch (RecordStoreException e)
                   try {     
                             // layout of image
                             pix = pix.createImage(output.toString());
                             // Convert the image to immutable
                             imageItem = new ImageItem(null, pix, ImageItem.LAYOUT_CENTER |
                             ImageItem.LAYOUT_NEWLINE_AFTER | ImageItem.LAYOUT_NEWLINE_BEFORE,"(Image)");
                   catch (IOException e)
                   // display imageItem to fm3(screensaver)
                   fm3.append(imageItem);
                   currentId++;
                   u = true;
                   output.reset();
                   // 4pix, so currentId==5
                   if(currentId==5)
                   {   //display currentId==1 1st (1st pix)
                        currentId=1;
    }

    did u chk my reply..
    "the "group" the radio buttons will be placed in. Radio buttons in the same group will have mutually exclusive selection, regardless of their physical placement on the page. See selectOneRadio - it groups the radios automatically. The reason you would use selectBooleanRadio instead of selectOneRadio is that you have more control over the placement of each radio. Using a selectBooleanRadio alone is uncommon; in any case, you must set the group attribute."
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_selectBooleanRadio.html

  • Regarding Radio Button

    Hi All,
    I am using ADA Logical database in my Report which is creating Selection Screen.
    In this selection screen there are two radio buttons in a same group and
    first radio button is by default selected.
    But in my report I have to make second radio button as default.
    What shall I write in
    Loop at Screen.
    Endloop.
    Rishi

    Hi Martin,
    Yes it workks. Problem solved. Thanks boss.
    One last query.
    Actually there were 3 Radio Buttons. I have removed first with following code.    
    Loop at screen.
    IF screen-name = 'XEINZEL'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
    Endloop.
    As it was not required.
    But Martin the Label for this first Radio button was List assets, so I require this Label  to print only but not Radio Button on  Selection Screen and then next two Radio Buttons on subsequent lines. So Is it Possible.
    Rishi.

Maybe you are looking for

  • Rosetta emulation gone on iMac 20" (2GHz, 10.5.5)

    A few days ago, I noticed that some apps don't work anymore. They all are PPC. Now I tried to open a universal binary file (iChat, Safari) with Rosetta (used the file information and checked the rosetta option) and the app didn't work either. So it l

  • How to rise an event in Popup

    What is a proper way of using a dynamic event in Popup in order to send a message from it to the main application? Thanks

  • What is sent as web adress??

    Hi. I have a script to a Fox Board and I would like to know what is sent out from this code I have. I believe it is sent something like this: http://192.168.0.90/7000/DL1 I guess it send something else in the end but i cant figure it out. Is there an

  • How to call a method by clicking on a button

    hi, I have made a jsp page where I define a method toto. what the html source code for a button wich when you click it will process this method ? thanx

  • I don't undersand the error that I am getting

    here is my code for reference public class shop5{            public static void main(String[]args){         int aftersixsum=0;//int is set to 0          int[]array4 = new int[args.length-1];//creates a new int array that has up to spot four, and five