WebEngine PolicyClient

Harshad RJ hrjet9 at gmail.com
Sat Mar 15 06:01:16 UTC 2014


Hi,

I have been playing with the WebView / WebEngine and wanted more
control over navigation actions of the user.

I noticed that WebPage.java has a PolicyClient, but is set to null by
WebEngine. Have two questions:

* Even if I modify WebEngine and set the PolicyClient, it doesn't
receive any callbacks. Is it disabled somewhere else? I looked at
WebPage.java and found that the corresponding fwk* functions don't get
called.

* Is there any plan to expose this functionality through the public API?

thanks,
HRJ


More information about the openjfx-dev mailing list