Skip to Content
avatar image
Former Member

In SAP Ui5 OnBefore Rendering

In SAP Ui5 OnBefore Rendering event is getting called twice while navigating from View1 to View2. I have used Alert statement in OnBefore event in View2 , but this event is getting called twice . Could anyone please help me why this is happening ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 01, 2017 at 12:11 PM

    onBeforeRendering loads everytime a view is rendered.

    Suspicion, is for some reason, both views may be getting called. Is the alert call in the onBeforeRendeing from view1 or view 2?

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded