ADF - CheckList with Hash Map through radio button on the Tree Table

CheckList with RadioButton or Check List...
Anybody have some example related with ADF??

Which model framework are you using?
Maybe, the best option in this case would be you pass the HashMap as a parameter to the Model layer, and handle the hashmap to DB in the java code.
As far as I know, JPA 2 has a support for this, but ADF BC i don't know...
Regards,

Similar Messages

  • Radio button in the Inner tr:table is not working??

    hi guys,
    I am trying with Nested <tr:table> structure. Like, trying to displaying a table inside another table.
    In both Inner & outer table I have set the rowSelection=single, value for selectionListener, and autoSubmit=true.
    the problem that i am facing is, When i select a radio button from outer table, that's working fine.
    But when i select the radio button from the inner table which lies inside the <tr:column> of the outer table, the value is getting submit and infact method to be called is not getting called.
    what could be the reason?
    <tr:column headerText="#{appBundle['sentinel.entityRatingTemplate.ratio']}" sortable="true" separateRows="true">
                        <tr:outputLabel id="ratioName" value="#{financialRatio.ratioName}"></tr:outputLabel>
         <tr:table id="financialRatioChild" value="#{financialRatio.financialRatio}" var="childRatio" rows="20" width="100%" horizontalGridVisible="true"
                             verticalGridVisible="false" rowSelection="single" autoSubmit="true" selectionListener="#{pageManager.OnTableRowSelection}">
                             <tr:column width="40%" noWrap="false">
                                  <trh:cellFormat width="95%" halign="left">
                                       <tr:outputLabel id="childRatioName" value="#{childRatio.ratioName}"></tr:outputLabel>
                                  </trh:cellFormat>
                             </tr:column>
         </tr:table>
    </tr:column>the above code describes the inner table structure.
    The external <tr:column> is a column of outer <tr:Table>
    can anyone help me?
    thanx,
    subbu

    Hi raymond,
    Thanks for the reply.
    u r telling about restoring the selected the value. In my case it is happening in first time load itself.
    However, the radio button for the Parent row is working fine. Whenever i am clicking the radio button i can get the unique value assigned to that.
    The only difference is, the child <tr:Table> comes inside the <tr:column> of parent Table.
    This is what i cannot understand. Even already i raised another question which deals with handling elements inside the <tr:column>. Refer the following link
    [http://forum.java.sun.com/thread.jspa?threadID=5300426&messageID=10272716#10272716|http://forum.java.sun.com/thread.jspa?threadID=5300426&messageID=10272716#10272716]
    pls tell why and how this strange behaviour is happening.
    Thanks,
    subbu

  • I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    Try to connect in recovery mode, explained in this article:
    iOS: Unable to update or restore
    Before that, back up your device, explained here:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    How to back up your data and set up as a new device
    You can check your warranty status here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • Trying to create multiple lines of radio buttons on the same page. how do i do that??

    Greetings. I'm brand new to this, and am trying to create a form with multiple lines of radio buttons on a single page to send to my students.  How can I do this??  I currently have a table that I want the students to fill out and return, but every time I put radio buttons in, the form only allows selection of one of the 12 - I want students to be able to select one on each row.........

    Each group of three radio buttons for a row should have the same field name and different "Radio Button Choice" (see Options tab). So if you copy & paste the first row, be sure to rename the new ly added radio buttons.

  • Deselect radio buttons except the one that execute change

    Hey!
    Im curious how to improve this code;
    if(this.rawValue == true){
         radiobtn1.rawValue = 0;
         radiobtn2.rawValue = 0;
         radiobtn3.rawValue = 0;
    into a function that unchecks all radio buttons except the one that you checked as true.
    Thank you!

    I put radio buttons on the stage drag-and-drop style, rather
    than have them generated at runtime, and no I don't have any code
    to remove previous instances. I'll try adding code to add and
    remove those as the script runs and see what I come up with. I'm
    still an incredible newbie, so even though I know what I want to
    happen it takes me a while to figure out how to code it.

  • Using radio button selection in multiple tables

    Hello All,
    I've got a bit of a design issue and it being a Friday my brain is a bit foggy and I can't seem to figure out a solution.
    what I want to do is have 3 tables. The user should only be able to select one line from any of the three tables.
    I can do this by having events that clear down selection on the two other tables on any selection of the third, but the select buttons of tables don't really give the UI impression that only one row can be selected. To do this I'd like to use the radio button element.
    so
    table A
    choice - name
    (o) - Anne
    (o) - Bob
    (o) - Charlie
    Table B
    choice - name
    (x) - David
    (o) - Ellen
    (o) - Fran
    Table C
    choice - name
    (o) - George
    Here the entry in table B for David is selected. But any selection of any of the other options should deselected.
    My thoughts are to use a radio button ui element, bind the "selected" value to a unique id for each row/table (an attribute of the node element for each table) and the value to a common shared attribute (not table specific).
    Any better ideas - and certainly any which would mean I'm not going to have to maintain a lookup table of my unique ids and node elements to find out which one is selected?
    Cheers,
    Chris

    Ok - here's how I did it.
    I created another lookup table which had a guid and reference to the element.
    in the each elements I had a guid which I bound to the key for selection property of the radio button in the table.
    I then bound the selected key property to an attribute that was common to all elements.
    in my "processing" logic I read the selected key, read the lookup table - and therefore got the reference to the selected element.
    Would have been an awful lot easier if I could have used a reference to the element itself as the "key" - but that was required to be a character field.
    [image showing radio button selection working across multiple tables|http://i51.tinypic.com/bi79dx.jpg]
    End result works quite nicely.
    Cheers,
    Chris

  • Calling a procedure from an OAF page through a button in the screen

    problem: calling a procedure from an OAF page through a button in the screen

    CREATE OR REPLACE procedure APPS.xx_delete_dept_prc(p_id in number)
    as
    begin
    delete from xx_training_dept_tbl where td_dept_id=p_id;
    commit;
    end;
    2.     create image button for delete
    3.     set the following property to this button:
    action type : fire action
    event :DeleteDept
    parameter :
    name: DEptIdParam value: ${oa.XxTrainingDeptVO1.TdDeptId}
    4.     create Co and writing the following code on process form request
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String actionInscreen=pageContext.getParameter(EVENT_PARAM);
    if ("deleteDept".equals(actionInscreen))
    String deptidparam=pageContext.getParameter("DeptIdParam");
    Serializable [] s={deptidparam};
    Class [] c={deptidparam.getClass()};
    OAApplicationModule am=pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteDept",s,c);
    throw new OAException("delete completed",OAException.INFORMATION);
    5.     create AM and writing the following code
    public void deleteDept(String deptid) {
    XxTrainingDeptVOImpl deptview= getXxTrainingDeptVO1();
    deptview.deleteDept(deptid); }
    6.create VO and writing the following code in view object class
    public void deleteDept(String deptid
    System.out.println("Dept ID =" +deptid);
    String s = "call xx_delete_dept_prc(:1)"; // :1 is the number of parameter to pass it to procedure
    CallableStatement cs =trx.createCallableStatement(s,1); // 1 number of record to fetch but delete always delete 1 row
    try
    cs.setString(1,deptid); // the name of the first parameter
    cs.execute();
    cs.close();
    catch (SQLException e)
    e.printStackTrace();
    }

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • How to add the BexAnalyser as standard radio button to the add-ins?

    HI All,
    how to add the BexAnalyser as standard radio button to the add-ins.
    Thanks
    Vasu

    What do you want to do? Pls give some more details.

  • Can you display a radio button on the same line as a selection field?

    I am fairly sure this can not be done but then I have never had a request like this.
    My users want me to change a screen to have radio buttons on the same liines as other fields.
    For example:
    From Order: ________   To Order: ________         @ First Radio Button
    From Loc:    ____            To Loc:    _____               @ Second Radio Button
    These are using selection screens in an SAP report program - no dynpro or web design.
    And the user would only be able to select one button as all are in the same group.
    I could define as a check box too and only permit one to be selected - I think.
    if this can be done i do not know anyway to codee it.

    Hi
    Please check the below code:
    TABLES: mara,
            vbak.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) v_mat.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN POSITION 60.
    SELECTION-SCREEN COMMENT 70(10) v_ma.
    PARAMETERS: r_m  RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) v_sal.
    SELECT-OPTIONS:  s_vbeln FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 60.
    SELECTION-SCREEN COMMENT 70(10) v_sa.
    PARAMETERS:  r_s  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      v_mat = 'Material number'.
      v_sal = 'Sales Order Number'.
      v_sa = 'Sales'.
      v_ma = 'Mat'.
    Shiva

  • How to set the a  graphic ( 3 radio buttons ) in the report ?

    Hi  Exports,
    1.  How to set the a  graphic ( 3 radio buttons ) in the report ?
    Acutely  I  want to  fetch the record from MCHB-CLABS and MCHB-CSPEM , if the data read from MCHB-CLABS will show the green light otherwise if read from MCHB-CSPEM, it will show red light.
    (e.g :  if syntax error in report  it is showing red light signal , like that how to set in report program)
    Thanking you.
    Subash

    Hi,
    In your internal table declaration, include yet another field for lights..
    DATA: begin of itab,
               lights type light,
              end of itab.
    DATA: GV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    GV_LAYOUT-LIGHTS_FIELDNAME = 'LIGHTS'.
    Use the GV_LAYOUT in your FM to display the ALV.
    IS_LAYOUT                         = GV_LAYOUT
    If itab-lights = 1 => Error
      itab-lights = 3 => Success
      itab-lights =2 => Warning

  • All of my I work programs in iwork won't open and say they are damaged.  Any ideas.  The programs have a white circle with a line through it similar to the ghost busters logo.  Any thoughts?

    All of my iworks programs, pages, keynote, and numbers have a white circle with a line through it, kinda like the Ghost Busters logo.  None of the programs will open and the error messages reads that they are damaged.  How do I repair?

    What you describe is what we get for apps dedicated to PowerPc only when installed on a macintel machine.
    I'm surprised by this behavior for iWork apps which are designed as universal ones.
    How were they installed ?
    Did you used the installer or did you borrowed them from an other machine ?
    If it's case 2, maybe the device used to move the files was not a HFS+ one.
    The only correct way to install iWork is to apply the installer and the late iWork updater.
    Yvan KOENIG (VALLAURIS, France) lundi 25 avril 2011 11:48:24

  • Render radio button *after* the label when using selectoneradio?

    We need a way to render the radio button before the label like so:
    Yes
    o
    Default rendering is the opposite. Do any of you know how to do this, or another way we could solve this?
    Here's our code:
         <h:column rendered="#{questions.radioButton}">      
         <h:selectOneRadio styleClass="label" id="oneradioscale" layout="lineDirection" valueChangeListener="#{participants.questionareFormChange}" >
         <f:selectItems id="answerscale" value="#{questions.answerItems}" />
    </h:selectOneRadio>
         </h:column>
    (we need of course also a way to insert something like a
    after the label.
    Regards,
    Per Chr.

    Hello Cindy,
    if there is "only" a rendering problem, open an OSS message as soon as possible and let the application unchanged.
    Rendering problems are generally fixed rather quickly.
    Armin

  • When saving form with 'Save As', losing radio button value

    I recently upgraded from Acrobat Pro 8.2 to Acrobat Pro 10.  Now experiencing the following issue:
    I have a PDF form, that is filled by an application.   With Acrobat Pro 10, if I open the completed form, and then use 'File' > 'Save As' > 'PDF', then the radio button fields lose their value.  Other fields retain their value, only the radio button fields become blank.   If I use the 'Save' option, then the radio buttons do not lose their value.
    Any help is appreciated!

    Hi,
    Can you check on your page to see if you have "reset page" process - if so, you could probably remove it. Also check on your page branches so see if you are clearing the cache for the page. If your page item is not related to a table field, you can also change the "Source Used" setting for it to "Only when current value in session state is null".
    When you submit a page, all page items should be stored in the session and would be available the next time the page is reloaded UNLESS you clear the cache for the page or the Source settings instruct Apex to retrieve the value from elsewhere - the above are the most likely causes, so check them first
    Andy

  • Selection screen change with check box and radio buttons

    hi frieds
    i have an requirement that
    there is a check box in the selection screen and bydefault it has been check if it check the selection box shuld be disable
    if it uncheck the check box then selection block should enabled and in that againg two radion buttons are there. Bydefualt one radio button is enabled so that correspondng parameter is allow to enter input data. if i select the othere radio button the immeditely it allow the correpnding field entry and other radio button should be disabled with that field.
    please send the piece of code...
    regards
    vijay

    Hi,
    Use the event AT SELECTION-SCREEN OUTPUT.
    Here is an example:
    at selection-screen output.
      if gv_ucomm = 'RG1'.
        loop at screen.
          if pa_rgor = 'X'.
            if screen-name+7(1) = '2' or
               screen-name+7(1) = '1'.
              screen-input = 0.
            endif.
          endif.
          if pa_rgof = 'X'.
            if screen-name+7(1) = '1' or
               screen-name+7(1) = '3'.
              screen-input = 0.
            endif.
          endif.
          if pa_rgaa = 'X'.
            if screen-name+7(1) = '2' or
               screen-name+7(1) = '3'.
              screen-input = 0.
            endif.
          endif.
          modify screen.
        endloop.
      endif.

Maybe you are looking for