Skip to Content
0

In SAP Ui5 OnBefore Rendering

Jan 12, 2017 at 12:43 PM

88

avatar image
Former Member

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 ?

10 |10000 characters needed characters left characters exceeded

Hi Jagjit,

Need to see your code to check what went wrong.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sharath M G Aug 01, 2017 at 12:11 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded