How to realize Checkbox and Radio Buttons based on Attributes in JHeadstart

Hy@ all,
I try to redevelop the Summit Forms Demo in ADF.
The module "ORDER" contains, among other things, a checkbox and radio buttons based on database columns(VARCHAR2).
The column(checkbox) named PAYMENT_TYPE contains the values CASH and CREDIT and the column(radio button) called ORDER_FILLED contains the values Y and N.
After creating the business components, I set in JHeadstarts Application Definition the Display Type of these two attributes to checkBox and radio-horizontal.
I created a dymanic domain for the radio-horizontal and a static domain for the checkBox.
The radio-horizontal within the dymanic domain works nearly correct.
I set the Data Collection in this dynamic domain to the required Group and the Value and Meaning Attribute to the necessary Attribute.
Within the JSF- Page the values are shown right but unfortunately there are too many radio buttons available. Instead of displaying the two radio buttons CASH and CREDIT were many CASH and CREDIT radio buttons shown.
I can´t find any solution for this case.
The problem with the checkBox is that therfore a static domain is required but I want to show the value of the checkBox based on the described attribute, like the handling of the radio horizontal.
But I don´t know how to implement this, if it is possible.
I´m using JHeadstart v10.1.3.2 and I´m pleased about any reply or solution.
Best regards
Chris

Chris,
If you run the application module tester, and query the view object usage underlying your dynamic domain, how many rows does it return? It should return only two rows, one for CASH and one for CREDIT. If more than two rows are returned, your query is wrong.
What is the problem with using a static domain for the checkbox?
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • How to use Checkbox  and radio buttons in BI Reporting

    Hi BW Experts,
       My Client has given a report in ABAP format and the report has to be develop in BI.It contains Check boxes and the radio buttons. I don’t know how to use Checkboxes and radio buttons in Bex.For using this option, do we need to write a code in ABAP.Please help on this issue.
    Thanks,
    Ram

    Hi..
    Catalog item characteristic
    - Data element
    - Characteristic type
    Entry type
    List of catalog characteristics
    Designer
    Format (character)
    Standard characteristic
    Alternative: Master characteristic
    (used for automatic product
    assignment)
    Simple entry field
    Alternatives:
    Dropdown listbox or radio button
    list

  • Tree structure with checkboxes and radio buttons

    Hi,
    I am using SNODETEXT as tree structure. On the child node, I need to have checkboxes and radio buttons. Is this possible?

    Hi
    Muse does not currently have dropdown lists, radio buttons, or checkboxes as part of the forms. You may want to check out using Adobe FormsCentral, Jotform, or Wufoo and inserting them via Object > Insert HTML as an alternative from the Muse forms, as those forms will have the lists, buttons, and checkboxes you're looking for.
    Another way if you are publishing your site to Business Catalyst, then you can create forms in BC admin section and copy the form html in Muse page which will render the from that you have created in BC in your Muse site page.
    More details :
    http://helpx.adobe.com/business-catalyst/using/create-insert-form.html
    Thanks,
    Sanjit

  • Values of checkboxes and radio buttons not recognised

    Hi folks,
    I have a bit of a strange problem and I'm hoping you can help shed some light.
    Basically I have a form with various elements in it, some of which seem to have a problem telling my pl/sql code what their values are. The culprits seem to be radio buttons and check boxes. Now those are individual items created with the wizard within a specific section if the outcome is different from sql created form elements in tables.
    The radio buttons is one field, let's call it :P100_RADIO which returns either 'AB', 'CD' or 'EF'. The checkbox, let's call it :P100_CHECKBOX is just one checkbox returning the value 'Y' if it's checked.
    after submit, I have a process which among other things checks the value returned by those two elements to set a variable v_paid either as 'Y' or 'N'
    as a small summary of what I'm trying to do, here's a code snippet:
    v_checkbox varchar2(1);
    v_paid varchar2(1);
    begin
    v_checkbox := :P100_CHECKBOX;
    if v_checkbox is not null AND :P100_RADIO = 'CD' THEN
      v_paid := 'Y';
    else
      v_paid := 'N';
    end if;
    end;If I submit my form I get the error message
    "ORA-06502: PL/SQL: numeric or value error: character to number conversion error"If I change the condition to v_checkbox is not null only, I get the same error
    If I change it to v_checkbox != '' I don't get an error but v_paid is set with 'N'
    If I change it to v_checkbox = 'Y', I get the same error again
    If I change it to *:P100_RADIO = 'CD'* only, I get the error as well.
    I also mistakenly tried v_checkbox is null and it submitted fine, though the value of v_paid was still 'N'
    I've tried changing the varchar2(1) to something greater, up to varchar2(4000) but that didn't make any difference.
    So I seem to understand there's a discrepancy of types somewhere but I can't work out where or how to change that. In my code an insert is performed after the if statement and the value of :P100_RADIO is added to the table with the expected value.
    After looking at the source of the page produced by Apex, I also tried to replace :P100_CHECKBOX with :P100_CHECKBOX_0 but that didn't make a difference either. It's possible Apex thinks :P100_RADIO and :P100_CHECKBOX are supposed to return some sort of arrays but just why it would just return a string in an sql statement beats me.
    The worst thing is, I'm fairly certain the code worked the first time I implemented it. So if anyone has any idea of what's going on that would be quite helpful. As always, I have a nagging suspicion it's a silly tiny mistake somewhere I just can't see.
    Thanks folks :)

    okay here's the code for the whole procedure. Some variable names have been changed but it's otherwise the same code:
    DECLARE
    v_total_cost     NUMBER(10,2);
    v_deposit        NUMBER(10,2);
    v_remaining      NUMBER(10,2);
    v_payment_type   varchar2(2);
    v_checkbox       varchar2(4000);
    v_user           varchar2(4000);
    v_bok_paid       varchar2(1);
    v_msg            varchar2(4000);
    BEGIN
    v_total_cost     := :P100_COST;
    v_deposit        := :P100_DEPOSIT;
    v_remaining      := v_total_cost - v_deposit;
    v_payment_type   := :P100_PAYMENT_AMOUNT;
    v_checkbox       := :P100_CHECKBOX;
    v_user           := :APP_USER;
    --wwv_flow.debug('before condition');
    if v_checkbox != '' AND :P100_RADIO = 'CD' THEN
      v_bok_paid := 'Y';
    else
      v_bok_paid := 'N';
    end if;
    --wwv_flow.debug('after condition');
    IF v_payment_type  = 'D' THEN
    :P100_AMOUNT_TO_PAY := :P100_DEPOSIT;
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_deposit, v_payment_type, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_remaining, 'L','N', null, SYSDATE, v_checkbox, v_user);  
    ELSIF v_payment_type  = 'F' THEN
    :P100_AMOUNT_TO_PAY := :P100_COST;
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_total_cost, :P100_PAYMENT_AMOUNT, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
    END IF;
    :P100_TRANSACTION_FLAG := '1';
    if v_bok_paid = 'Y' then
    v_msg := '<div>Message clipped</div>';
    --send confirmation email
    GLO_CORRESPONDANCE.proc_corr_controller(
    :P100_BOOKING_MEMBER_ID,
    :P100_BKG_ID,
    null,
    v_msg,
    'E',
    'Payment confirmation',
    null
    end if;
    END;Thanks :)

  • Checkboxes and radio buttons

    When will Adobe Muse have checkboxes and ratiobuttons capability added to their forms?

    Hi
    Muse does not currently have dropdown lists, radio buttons, or checkboxes as part of the forms. You may want to check out using Adobe FormsCentral, Jotform, or Wufoo and inserting them via Object > Insert HTML as an alternative from the Muse forms, as those forms will have the lists, buttons, and checkboxes you're looking for.
    Another way if you are publishing your site to Business Catalyst, then you can create forms in BC admin section and copy the form html in Muse page which will render the from that you have created in BC in your Muse site page.
    More details :
    http://helpx.adobe.com/business-catalyst/using/create-insert-form.html
    Thanks,
    Sanjit

  • In linux, the larger checkboxes and radio buttons are breaking my layout - how can I override them?

    I've tried css with selector input[type="checkbox"] but this has no effect.

    You need to add <b>-moz-appearance:none!important;</b>

  • How to put Check Boxes and Radio button in Smartforms

    Hi all,
    How to put check Box and radio button in Smartforms ............ from web properties there is an option to use. But How to use.     
    regards,
    Mohsin

    u can declare the checkboxes or radiobuttons whatever in driver program and pass the same to ur form...

  • How do I give the radio buttons a buttongroup and id dynamically as the datagrid is populated?

    I am using the following component as an item renderer for a
    <mx:DataGridColumn>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    >
    <mx:HBox horizontalAlign="left" left="10">
    <mx:RadioButton />
    <mx:RadioButton />
    <mx:RadioButton />
    <mx:RadioButton />
    <mx:RadioButton />
    </mx:HBox>
    </mx:Canvas>
    How do I give the radio buttons a buttongroup and id
    dynamically as the datagrid is populated?

    "nikos101" <[email protected]> wrote in
    message
    news:g83gfl$m8o$[email protected]..
    >I am using the following component as an item renderer
    for a
    ><mx:DataGridColumn>
    >
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    >
    > <mx:HBox horizontalAlign="left" left="10">
    > <mx:RadioButton />
    > <mx:RadioButton />
    > <mx:RadioButton />
    > <mx:RadioButton />
    > <mx:RadioButton />
    > </mx:HBox>
    > </mx:Canvas>
    >
    > How do I give the radio buttons a buttongroup and id
    dynamically as the
    > datagrid is populated?
    What is your actual goal?

  • Simplifyin​g Large Amount of Checkboxes or Radio Buttons

    Hey everyone,
    I am having an issue with handling a problem. I think part of is that I don't know how to approach the problem. Let me explain the problem and my idea for the solution(you'll see why it's difficult or tedious)
    Problem: Our software records 145 channels. Sometimes we use all of these channels, but more often than not, we use a fraction of this. Due to the complexity of the acquisition code, which was written outside of the lab, we have decided to handle this issue by post processing data. We want to see a list of the channels, and select which ones we want to remove.
    My solution: Create a front panel with all of the channels name(dynamic) and a checkbox or radio button next to each one. I have gotten the names, but the only way I can see to handle the check boxes is to make 145 of them, which means I'll have 145 controls in my block diagram and that can be a bit of a cluster(pun intended). I couldn't find anything that LabVIEW had built in or anything on the forums. I may have been looking for the wrong thing. I would appreciate any guidance or solutions.
    If I just need to put my big boy pants on and deal with the high amount of controls, I will. I have always been under the impression that if it code looks too ugly, you're probably doing it wrong.
    Thanks,
    Seth

    It also depends if all these channels can be splitted into logical groups. In this case you can bundle them in clusters.
    In the attached picture there is a cluster containing 16 smaller clusters. Note that in the actual application there is 2 other tabs with similar cluster of clusters. These 3 major clusters where also bundled into a master Signal Select cluster (this was developped in LV2009 so the cluster constant took an awful lot of block diagram space, I welcomed the cluster constat icon feature introduced in LV2010!).
    In the lower right you can see how this unbundled.
    Ben64
    Attachments:
    Lot of checkboxes GUI.png ‏64 KB

  • How to make Copy and Paste buttons to transfer data from one form to another

    Hi, a complete newbie here.  I’m looking to create a Button 1 that can Copy data from a filled out adobe form, mainly the text fields and checked radio buttons, and then have another Button 2 that can Paste the copied data to another form, containing the exact same text fields and radio buttons.
    Example:
    1. Click "Copy" in Form 1
    2. Click "Paste" in Form 2
    3. Fills data from Form 1 to Form 2
    Any idea how to do this?

    Users will need to uncheck Enable Global Object Security Policy, found in the JavaScript section of the Preferences to do it. That's unlikely to be the case since the opposite is the default.
    Take a look at the section of the JavaScript SDK "Querying an Acrobat form field value in another open form" for details on how to do it.
    http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/JS_Dev_AcrobatForms.76.41.html

  • How do I include the radio-button items on a second column as possible answers to the question?

    Using Adobe Acrobat Pro X, we created a fillable PDF from an existing PDF.
    One question can be answered by choosing one of four choices (radio buttons). The answers are laid out in a 2-by-2 arrangement.
    When Acrobat Pro converted the PDF into fillable format, it thought that the radio-button answers on the second column are not part of the question.
    How can I manually override Acrobat and make choices 3 and 4 part of the question.
    Please click attached screenshot for better zoom.

    George,
    i am the OP. I mistyped my email address and cannot log in to my original account.
    Thanks for your reply.
    How do I give each radio button the same name but unique button values?
    I right-clicked the first radio button, chose Properties (Ctrl+I).
    I copied the name: "What is your personal net worth in Canadian dollars including spousecommon law partner if applicable".
    I clicked Close.
    I then went into the Properties dialog window of the third radio button, which is one of the ungrouped choices. I pasted the name [What is your personal net worth in Canadian dollars including spousecommon law partner if applicable]. I then clicked Close.
    I get an error message pop up:
    A field of a different type already uses this name. Please choose a new name for the field, or change the field type to match the existing field with this name.
    What must I do now?
    Thanks.

  • How to define  parameters with radio button

    HI
      How to define  parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
            I don't know how to paste figures here, otherwise i will provied u the figure for more details.
    Regards.

    PARAMETERS : r1 RADIOBUTTON GROUP radi.
    Go to --> text elements --> selection text
    R1    <your text>
    You can change the program selection screen lay out in screen painter (se51) .
    screen number for your selection screen is 1000.
    Regards,
    Santosh reddy
    Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

  • How to create dropdown box, radio button,check box in wad

    Hi,
    How to create dropdown box, radio button,check box in wad.
    Thanks,
    cheta.

    Cheta,
    This are all standard Web Items in the WAD. Drag them onto your template and then make the changes you need to them in their Properties.
    Regards
    Gill

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • HELP! I need help to understand how to get value on radio buttons!

    hello,
    I realy need the help from anyone that knows how to get value from radio buttons in a JSP.
    I have this :
    <%
    java.util.Vector vLinha = (java.util.Vector) datos.get("ConsNefect");
              java.util.Hashtable ordens;
              java.util.Enumeration eLinha = vLinha.elements();
              String t = "radio";
              String x = "escolha";
              String l = "";
    int i = 0;
              //int esc = 0;
    String fila = "";                         
              boolean bol = true;
    while (eLinha.hasMoreElements())
    ordens = (com.ibm.dse.base.Hashtable) eLinha.nextElement();     
              if (++i%2 == 0)
    fila = "formgriscla";
    else
    fila = "formgrisosc";
    out.println("<tr>");
    out.println("<td class=\"" + fila + "\">");
    out.print("<p class=\"dato2\">");          
              out.print("<a href=" + urls.get("action"));
         out.print("&sequencia=" + (String) ordens.get("sequencia"));                    
         out.print(">");
              out.print((String) ordens.get("descricao"));
         out.print("</a></p></td>");
              out.println("<td class=\"" + fila + "\">");
    out.print("<p class=\"datop\">");          
              out.print((String) ordens.get("datap"));
    out.print("</p>");
    out.println("<td class=\"" + fila + "\">");
    out.print("<p class=\"datop\">");
    out.print((String) ordens.get("erro"));
              out.print("</p>");
              out.println("<td class=\"" + fila + "\">");
              out.print("<p class=\"datop\">");     
              l = (String) ordens.get("sequencia");     
              out.println("<input type=\"" + t + "\" name=\"" + x + "\" value=\"" + l + "\">");          
              out.print("</p></td>");      
              out.println("</tr>");
              //esc++;
    %>
    <!--input type="Hidden" name="escolha" value=<!--%l%>-->
    <!--input type="Hidden" name="escolha" value="<!--%=escolha%>"-->
    </td>
    </tr>
    I don�t know how to take the value... PLEASE HELP ME OUT!
    THANKS TO ALL!,
    Best wishes,
    Alex (portugal)

    You must wrap your contents into a FORM element and, then, using getParameter("escolha"), retrieve your value.

Maybe you are looking for

  • Error in BI Content 7.03 Import

    Hi, i have installed BW 7.0 in unix machine. I am getting the follwoing error during BI content 7.03 import. Pls let me know whether , i have to import BI-content 7.01 before or i can import BI 7.03 directly I am facing error in XTA_put execution <b>

  • Bad video RAM causing dots and lines

    Hi, For some days there is a rendering error on my iMac G5 1.5 GHz (Tiger 10.4.11) : Dock, all menus, all message boxes are displaying with strange pattern overlayed on top. See http://snowflakejoins.com/forumhelper/desk.png and http://snowflakejoins

  • Files not previewing or opening from external drives

    Having some issues after updating my iMac to Mavericks this morning - some files stored on networked drives area not opening, I just get a message saying 'application cannot be found' whenever I open a PDF, JPEG, DOC, AI, PSD ....anything! The enclos

  • I can't access "Advanced Options" in my User Account for Mac OSX

    I cannot access the "Advanced Options" menu when I right click on my user account in System Preferences.  When I right click, the option shows up, but nothing happens when I click on it.  It does allow me to access it for other users, as I am the adm

  • Networking load balancing - problem with backup network

    The thing is, that if I setup hosts in cluster to use backup Network, the vitual IP and FQDN will not answer. If I utilize domain Network for clustering, it works okay. I´m not sure, what is the best way to configure it when using NLB. My backup Netw