showdocument() unzuverlaessig bei verschiedenen targets

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Daniel Jung (jung_at_uib.no)
Date: 08/10/04


Date: Tue, 10 Aug 2004 03:42:30 +0200

Hallo

Eine aehnliche Frage ist vor zwei Monaten schon mal in
microsoft.public.de.german.inetexplorer.ie6 gestellt worden:

From: "Nico Heussner" <anonymous@discussions.microsoft.com>
Subject: Applet-Problem mit Methode getAppletContext().showDocument
Date: Tue, 8 Jun 2004 00:38:44 -0700
Message-ID: <195d001c44d2b$a04315a0$a301280a@phx.gbl>

(aus googlegroups kopiert; mein nntp hat die nicht mehr,
darum kein followup)

***********************************************

Ich habe ein Frameset (A(BC(D))) wie dies:

 ---------------------------------------------
| A |
 ---------------------------------------------
| | |
| B | |
| | |
 --------------------- D |
| | |
| C | |
| | |
 ---------------------------------------------

In Frame C ist ein Applet. Das ruft des oefteren
showdocument(url, target) auf, und zwar werden alle
anderen (drei) Frames angesteuert. Das funktioniert.

Nur: Unter IE 6.0 funktioniert nur der Aufruf von
Frame D stets korrekt. A und B werden ein paar Mal
korrekt aufgefrischt, aber dann ist Sense. Keine
Exception, kein Fehler in der Konsole. Die restlichen
Funktionen im/vom Applet laufen korrekt weiter.

Die XHMTL-deklarasjonen und die META-tags der
aufgerufenen Dokumente sind gleich. Es handelt sich
bei D um verschiedene Seiten (URLs); bei A und B
ist es jeweils die gleiche URL, die aufgefrischt
werden soll (Inhalt hat sich dynamisch geaendert).
Die Syntaks ist in allen Faellen stets gleich.

Firefox etc. fuehren das korrekt aus, alle Frames werden
stets korrekt aufgefrischt, nur IE 6.0 also nicht.

Das Applet habe ich "geerbt", und beim Kompilieren
sehe ich, dass da unter java.io.DataInputStream
mehrfach readLine() verwendet wird - was deprecated
ist. Kann das daran liegen?

Das Applet funktioniert trotzdem gut. Urspruenglich
wurde nur ein Frame (D) addressiert, und ich adressiere
jetzt also drei. Wie gesagt, die Syntax ist jedesmal
die gleiche, und die Konkatenierungs-Umgebung ebenfalls.
Und die anderen Browser machen da auch mit...

Hat da jemand eine Idee?

Danke:
- Daniel

FUP: microsoft.public.de.german.inetexplorer.ie6?



Relevant Pages

  • Re: Proper way to handle window closing and program shutdown
    ... Converts a Applet into an Application. ... @param applicationWidth width of frame, ... public void windowClosing(WindowEvent e) ...
    (comp.lang.java.gui)
  • Re: Batch/Block-Mode updates to Select Lists - How to avoid?
    ... (applet I don't know what it make) ... !(parentFrame instanceof Frame)) ... catch (IOException e) ... public int readMessage throws IOException ...
    (comp.lang.javascript)
  • Re: opening a window from an applet..
    ... (public class extends JFrame?) ... if it's a JFrame instead of an applet does it still have to have initmethod? ... (can I open a swing window from an applet? ... Which is a frame like any other. ...
    (comp.lang.java.gui)
  • Re: *Please Help* Strike II (Was: Re: Enabling and actioning an asynchronous Stop button)
    ... frame has zero autonomy when it comes to event processing. ... If I were to use Frames (Where obviously the Applet and its underlying ... the Java Applet? ... Trap can interrupt a currently executing outermode AST. ...
    (comp.lang.javascript)
  • Re: Response.Redirect
    ... Frame is opened a ASPX side. ... A Frameset is an HTML document which contains references to several Frames, ... Ein Frameset ist ein HTML-Dokument, ... Datenbanksuchroutinefall spezifisch, der den Ausgangsantrag bildete. ...
    (microsoft.public.dotnet.framework.aspnet)