Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

ComponentContainer does not return aggregations?

$
0
0

Hi all,

I have create a custom component which is actually a VBox which contains 2 sap.m elements: SearchField and Popover.

In my view, i used this:

<core:ComponentContainerid="testSearchField"name="components.SearchFieldPopover"/>

 

In the controller.js, I needed to control the SearchField element in the "components.SearchFieldPopover".

I was able to do: this.getView().byId("testSearchField")

 

but I cannot get the individual element (SearchField and Popover) by using:

this.getView().byId("testSearchField").getAggregation()


How do I control the individual element in this case?



Regards,

Chris


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>