cancel
Showing results for 
Search instead for 
Did you mean: 

OpenUI5 SplitButton source

Former Member
0 Kudos

According to SAPUI5 SDK - Demo Kit there's a nice SplitButton control, but I'm not able to find the .js source for it in the SDK. A text search through the SDK only turns up a mention in the release notes. Can somebody shed some light on where the code is, and why it's not in a standard package like sap.ui.commons? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

jmoors
Active Contributor
0 Kudos

Hi,

I think you are looking at the SAPUI5 documention and the OpenUI5 source, the sap.suite controls are not currently part of the OpenUI5 library.

Regards,

Jason

Former Member
0 Kudos

Thanks Jason. That makes sense. Though that means that the OpenUI5 release notes contain a mixture of OpenUI5 and SAPUI5 announcements, which makes it difficult/confusing for OpenUI5-only developers. It would be helpful if these notes could filter out the SAPUI5-specific details.

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

you can look at sapui5 testsuite application SplitButton - sap.suite.ui.commons and can see the source code of the application by right click view page source.

if you want to see the source code of splitbutton then press F12 got to Sources and there open path sdk->resources->sap->suite/ui/commons->themes/sap_bluecrystal->SplitButton-dbg.js

alternatively you can see the .js at https://sapui5.netweaver.ondemand.com/sdk/resources/sap/suite/ui/commons/SplitButton-dbg.js

Hope this helps!

Regards,

Chandra

jmoors
Active Contributor
0 Kudos

You can view the source code, but can't use the control if you are using OpenUI5.

Many thanks,

Jason

ChandraMahajan
Active Contributor
0 Kudos

Yes you are right.

Former Member
0 Kudos

Thanks for the responses!