Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2007, 04:09 PM
Member
 
Join Date: Jul 2007
Posts: 1
Mikalai.Kardash is on a distinguished road
Java Applet re-creation problem
Hi skilled,

At our project we use an Applet that resides in the iFrame. On the main page the iFrame is used to show an Applet.
There is a table with two cells, there is DIV in every cell with IDs “div1” and “div2” accordingly. The iFrame is in the "div1".

When we move an iFrame from “div1” to “div2” using the JavaScript code below:

div2.appendChild(
document.getElementById('myframe')
);

where ‘myframe’ is the iFrame ID, the Applet destroys and new one is being created. This leads to the loss of data that was stored in the applet before.

We need to avoid such a behavior of the Applet somehow or find a workaround to this problem.

This problem reproduces on SUN JVM 1.5.0.11 and 1.6.0.x.

Please share your ideas/suggestions with me – you will help us a lot.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java applet button problem .. :( plz help! i4gotmyid Java Applets 1 04-17-2008 06:11 PM
java applet button problem .. :( plz help i4gotmyid New To Java 0 04-05-2008 11:55 AM
applet problem plz HELP shibajisanyal Java Applets 1 01-09-2008 03:47 AM
Problem with run Java Applet Albert Java Applets 1 07-13-2007 05:06 PM
Applet problem Ed Java Applets 2 07-02-2007 05:35 PM


All times are GMT +3. The time now is 07:19 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org