Greg,

> Sorry for the delay in responding to your message

No worries.  :-)

> > Topic #1: How might Pivot manipulate the DOM for the page on which it
sits?

> This can be done via LiveConnect, which is a feature of the Java plugin.
> Prior to J6u10, it wasn't universally supported, but now is.

I am looking at https://jdk6.dev.java.net/plugin2/liveconnect/ now.  Good to
see that this is no longer non-portable.

> We had previously exposed LiveConnect via a static eval() method
> in the pivot.wtk.BrowserApplicationContext class, but this was
> problematic because only one applet instance could set the static
> member that provided access to LiveConnect.

> However, I can think of a couple workarounds

> 1) Pass some reference to LiveConnect directly to the application

> A better approach along these lines might be to pass a "page context"
> object to the application.

I prefer something along these lines, and would like to suggest the use of a
annotation.

> 2) Revert to the static approach and require the applet to set the
> separate_jvm parameter to true.

Again, I'd prefer to see an annotation supported approach, and not a static
method.

> > Topic #2: How might Pivot respond to JavaScript events on its page?
> I think Todd did some prototyping in this area

Again, as I've started to think about it, there might be some very cool
analogies to what we have in JSR-286 in the way of annotation-based
programming.

        --- Noel


Reply via email to