Skip to Content
0

UI5 New Controls

Oct 27, 2016 at 11:37 AM

122

avatar image
Former Member

Dear Experts,

In my current UI5 application(version:1.28) the below mentioned controls from commons library have been used. As commons have been deprecated now, Kindly let me know the new sap.m controls that can be used replacing each of the below controls.

sap.ui.commons.Accordion

sap.ui.commons.Tree

sap.ui.commons.layout.MatrixLayout

sap.ui.commons.layout.MatrixLayoutCel

sap.ui.commons.layout.label

sap.ui.commons.DropdownBox

sap.ui.core.ListItem

sap.ui.commons.layout.MatrixLayoutRow

sap.ui.commons.SearchField

sap.ui.commons.TreeNode

sap.ui.commons.layout.BorderLayout

sap.ui.commons.layout.BorderLayoutArea

Kindly let me know the new controls from sap.m which can be used replaced for each of the above ones.

Waiting for the prompt reply.

Regards,

Shiny

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Oct 27, 2016 at 06:45 PM
0

Hi Shiny ,

Please check out SAPUI5 explored , you will find all the replacements and also the samples of each :

sap.ui.commons.Accordion - sap.tnt.NavigationList

sap.ui.commons.Tree : use sap.ui.table.TreeTable

sap.ui.commons.layout.MatrixLayout : sap.ui.layout.Grid or sap.ui.layout.BlockLayout

sap.ui.commons.layout.MatrixLayoutCel : sap.ui.layout.BlockLayoutCell

sap.ui.commons.layout.label : sap.m.Label

sap.ui.commons.DropdownBox : sap.m.Select/sap.m.ComboBox

sap.ui.core.ListItem : sap.m.ListItemBase(with various new inherited classes like columnListItem , objectListItem , etc )

sap.ui.commons.layout.MatrixLayoutRow : sap.ui.layout.BlockLayoutRow

sap.ui.commons.SearchField : sap.m.SearchField

sap.ui.commons.layout.BorderLayout : you can use any of the layout controls to achieve this control

These could be replacements but still you can explore and research the controls on the above mention URL and choose best suitable for your requirement

thanks

Viplove

Share
10 |10000 characters needed characters left characters exceeded
Sergio Guerrero Oct 27, 2016 at 01:53 PM
0

Shiny,

all the new controls can be found here (Explored SDK):

https://sapui5.hana.ondemand.com/explored.html

most likely you will have the sap.m replacing the sap.ui.commons, but not 100%, please visit the Explored page and become familiar w the m library

Share
10 |10000 characters needed characters left characters exceeded