Skip to Content
avatar image
Former Member

displaying radiobuttons as a group

Hi Experts,

I am new to webdynpro. I am trying to create a rating questionnaire with main topics having sub topics in it, more like a survey.

I want radiobuttons for subquestions and i should be able to select only 1 radio button out of say 5.

ex.

1. Starters.

1. Soup

2. Chopsuey

3. Won ton.

Right now i am able to display main question but it shows radiobuttons for it. How do i accoplish this in webdynpro?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 05, 2010 at 07:12 AM

    Look at the web dynpro component WDR_TEST_EVENTS, to know the usage all the UI elements available.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 08, 2010 at 08:10 AM

    choose the radio button by key ui element. Create a data element with domain having all your radiobutton as fixed values. Bind the data property of radiobutton with the attribute which is of that custom data element type.

    Regards

    Vishal Kapoor

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 08, 2010 at 09:16 AM

    You can disply your question in the textview and then use radio button to select available options. Refer following link for help on radiobutton.

    [Radiobutton|http://help.sap.com/saphelp_nw70/helpdata/en/c0/e8884118aa1709e10000000a155106/frameset.htm]

    [Radiobutton by Index|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d7/f08841e3af1609e10000000a155106/content.htm]

    [Radiobutton by Key|http://help.sap.com/saphelp_tm60/helpdata/en/37/a6884121a41c09e10000000a155106/content.htm]

    Regards,

    Saket

    Add comment
    10|10000 characters needed characters exceeded