Applets as views [message #89202] |
Wed, 21 May 2008 08:52  |
Eclipse User |
|
|
|
Originally posted by: mike.xmos.com
Hi,
This is kind of a complicated issue and probably non-standard use of the
RAP framework but if anyone does have any thoughts that would be great...
One of my RAP views uses a Java applet (it's inside a qooxdoo iframe).
When my perspective changes and the view is hidden, I believe the applet
is getting destroyed. Next time the view is shown, the applet appears
again because (I think) the browser has cached it, but the applet's
state has of course gone. So in other words when the view returns, the
applet's constructor (or init method) is being called but not my
widget's constructor.
I'm guessing there's no way round this because of the way the iframe
behaves?
Cheers,
Mike
|
|
|
|
|
|
Re: Applets as views [message #521937 is a reply to message #521496] |
Fri, 19 March 2010 07:48  |
Eclipse User |
|
|
|
Hi Austin,
Registering the resources did the trick, the applet loaded ok. I'm still not very focused into interactivity, from what I've read all I require can be done.
I'm more focused on strugling with the appearence, I have the applet in a view and I can't get it to resize to fit the view, can it be done?
I work with Eclipse RCP for many years now, but this RAP is a whole new world.
Best regards,
Ivo.
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds