JCEF onLoadEnd not getting called

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

JCEF onLoadEnd not getting called

Postby kallol » Mon Sep 04, 2017 2:58 am

Hi,

I am using trying to execute some javascript after the page has loaded in JCEF, for which i am using the onLoadEnd method. Now this works fine when the URL is loaded first time to the JCEF frame but after that if I click on any links the onLoadEnd method is not called and as a result I am not able to execute the javascript after the user clicks on any link within the JCEF frame.

What handler should I use to handle this event?

Thanks in advance !!
kallol
Newbie
 
Posts: 5
Joined: Tue Aug 08, 2017 11:03 pm

Re: JCEF onLoadEnd not getting called

Postby magreenblatt » Tue Sep 05, 2017 12:38 pm

You can use CefLoadHandler.onLoadingStateChange
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: JCEF onLoadEnd not getting called

Postby kallol » Wed Sep 06, 2017 6:44 am

Thank you!! Placing executejavascript calls in CefLoadHandler.onLoadingStateChange worked.
kallol
Newbie
 
Posts: 5
Joined: Tue Aug 08, 2017 11:03 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 35 guests