cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cannot add direct child without default aggregation defined for control sap.m.ViewSettingsDialog

Former Member
0 Likes
10,374

Hi,

Does anyone know how the mistake happened?

Please advise.

Thanks.

Fragment:

Controller:

error:

Accepted Solutions (1)

Accepted Solutions (1)

former_member227918
Active Contributor

since you have alias m for sap.m as xmlns:m="sap.m", so you need to prepend m: for every control/aggregations inside ViewSettingsDialog

or better to remove m from your code and do like below, will work...

xmlns:m="sap.m" -> xmlns="sap.m"

<m:ViewSettingsDialog -> <ViewSettingsDialog

Answers (0)