AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Applet <-> Web-Browser Kommunikation

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Language (German)
View previous topic :: View next topic  
Author Message
Frank Meinhardt
Guest





PostPosted: Sun May 20, 2007 1:13 am    Post subject: Applet <-> Web-Browser Kommunikation Reply with quote



Hallo!

ich möchte aus einem Applet Daten in ein HTML Formular Feld schreiben
und dieses absenden. Geht das direkt, ohne den Umweg über Javascript?
Falls nicht, wie rufe ich aus dem Applet im IE und Firefox eine
Javascript-Funktion auf?

Grüsse,
Frank
Back to top
Stefan Matthias Aust
Guest





PostPosted: Sun May 20, 2007 1:34 am    Post subject: Re: Applet <-> Web-Browser Kommunikation Reply with quote



Frank Meinhardt schrieb:

Quote:
ich möchte aus einem Applet Daten in ein HTML Formular Feld schreiben
und dieses absenden. Geht das direkt, ohne den Umweg über Javascript?

Es könnte über das DOM-API des Applets gehen, siehe
http://java.sun.com/javase/6/docs/jre/api/plugin/dom/org/w3c/dom/html/HTMLInputElement.html,
oder aber eben auch nicht.

Quote:
Falls nicht, wie rufe ich aus dem Applet im IE und Firefox eine
Javascript-Funktion auf?

http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/java_js.html

--
Stefan Matthias Aust
Back to top
Bernd Post
Guest





PostPosted: Sun May 20, 2007 1:38 am    Post subject: Re: Applet <-> Web-Browser Kommunikation Reply with quote



Frank Meinhardt schrieb:
Quote:
Hallo!

ich möchte aus einem Applet Daten in ein HTML Formular Feld schreiben
und dieses absenden. Geht das direkt, ohne den Umweg über Javascript?
Falls nicht, wie rufe ich aus dem Applet im IE und Firefox eine
Javascript-Funktion auf?

Grüsse,
Frank
Habe ich persönlich nie gebraucht, aber der Weg über JSObject scheint

recht vielversprechend.
http://www.rgagnon.com/javadetails/java-0172.html

HTH
Bernd
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Language (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.