Skip to Content
0
Aug 03, 2016 at 12:42 PM

Get View-Properties via a oEvent

891 Views

Hey Experts!

I want to catch up the properties of my views on my page when i am routing on it. At the moment i do trigger my onRouteMatched function to get all information in my oEvent.

Why i am doing this? Simple, i just want to refresh my Models on my Page immediately.

Here in the image below you can see that i was able to find my displayed views, but i can not enter this view via a path to reach my oModel on it like:

e.g.

var oView = oEvent.getSource().getViews()._oViews

oView.sap.support.projecttemplate.project.views.OverviewPageView.oModel

OR oEvent.getSource().getViews()._oViews[sap.support.projecttemplate.project.views.OverviewPageView]

What did i wrong?

Thanks a lot!

Best regards,

Danilo

Attachments

pageConsole.PNG (93.9 kB)