cancel
Showing results for 
Search instead for 
Did you mean: 

RadioButtonGroupByKey and red box around it

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

venkatakalyan_karanam
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Singh,

How is this different from binding the selectedKey to a SimpleType with an enumeration?

And as the example says, I have a node with cardinality 1..1 and attribute with simple type under it.

Thanks,

Rajit

Former Member
0 Kudos

its d same ..........

Former Member
0 Kudos

Anybody has any ideas please?!!