Skip to Content
avatar image
Former Member

RadioButtonGroupByKey and red box around it

Hi All,

I've a RadioButtonGroupByKey attached to a SimpleType to show the choices. When nothing is selected I'm using

messageManager.raiseInvalidContextAttributeMessage(element,attrInfo,IMessageComp.E00, "Choice", true);

but there's no red box around the RadioButtonGroup just as it would be for an inputfield.

Any ideas appreciated.

Regards,

Rajit Srinivas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 16, 2007 at 09:14 AM

    the definition of radio buttons include that there has one to be selected. If you bind the RadioButtonGroupByKey as stated in the documentation this will work automatically

    http://help.sap.com/saphelp_nw2004s/helpdata/en/86/16e13d82fcfb34e10000000a114084/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 01:06 PM

    Hi Rajit,

    1. in RadioButtonGroupByIndex only have context and attributes,

    context cardinality should be 1..n and selection 1..1

    2. in Radio RadioButtonGroupByKey directly mapped in attribute.. no need to context...

    Regards,

    P.Manivannan.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 16, 2007 at 06:21 PM

    Hi Rajit

    As of my knowledge you wont get a red box for a Radio Button because its selected key is binded to a Simple Type with a list of Enumeration values.

    Its not possible in the case of Radio button.

    Regards

    Kalyan

    Add comment
    10|10000 characters needed characters exceeded