Quantcast
Viewing all articles
Browse latest Browse all 9052

Using AppBuilder, how to get addressability to Radio buttons???

Trying top test is any of the Radio Buttons have been selected? When I press the "Test Connection" button and go into the Event method, I am tryiing to get addressability to the  see if any of the Radio Buttons where pressed?

I have added this Code below (getting an addressability issue) after reading UI5 doc, which states that I could check the Index of the selected/checked RadioButton for a group???

if (sapmRadioButton.sapMRbDefaultGroup.selectedIndex === 0)

   Radiobuttoncontrol =0;


I have pasted a screen print of the Screen and the AppBuilder button properties  plus the output of one of the button element  from Chrome.

 

Any help would be great

Thank you

Totally New to Appbuilder and UI5,

Image may be NSFW.
Clik here to view.
APPSMPTester.PNG

Image may be NSFW.
Clik here to view.
RadioButton.PNG

<div id="appView--homePageView--ApacheButton1" data-sap-ui="appView--homePageView--ApacheButton1" role="radio" aria-checked="true" aria-disabled="false" class="sapMPointer sapMRb sapMRbSel" tabindex="0" style="overflow: hidden; position: absolute; left: 0px; top: 120px; z-index: 10;"><div class="sapMRbB"><div class="sapMRbBOut"><div class="sapMRbBInn"><input type="radio" tabindex="-1" id="appView--homePageView--ApacheButton1-RB" name="sapMRbDefaultGroup" checked="checked"></div></div></div><label id="appView--homePageView--ApacheButton1-label" data-sap-ui="appView--homePageView--ApacheButton1-label" dir="Inherit" style="text-align:left;" class="sapMLabel sapMRbBLabel">Apache Relay Server</label></div>

<label id="appView--homePageView--ApacheButton1-label" data-sap-ui="appView--homePageView--ApacheButton1-label" dir="Inherit" style="text-align:left;" class="sapMLabel sapMRbBLabel">Apache Relay Server</label>


Viewing all articles
Browse latest Browse all 9052

Trending Articles