Java Liveconnect

Koos Vriezen koos.vriezen at xs4all.nl
Thu Oct 24 18:40:45 BST 2002


On Thu, 24 Oct 2002, Dirk Mueller wrote:

> On Mit, 23 Okt 2002, Koos Vriezen wrote:
>
> > (All methods of netscape/javascript/JSObject, are implemented in
> > Javascript)
>
> hmm, can they only call the interpreter of the "own" frame or also the one
> of other frames ?

Don't quite follow your hmm'ing, but in the base class of
HTMLAppletElementImpl, LiveConnectElementImpl::liveConnectEvent(..)
does
    KHTMLView* w = getDocument()->view();
    w->part()->executeScript(this, script);
Guess that's the interpreter of the "own" frame.

> can they survive a site-reload ?

Don't think so, KHTMLPart::clear() does a d->m_javaContext->deleteLater(),
remember, which should delete the applet. Also LC is disabled when
detaching.

Till, do you see a way an applet can inter-context communicate?

Koos






More information about the kfm-devel mailing list