jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Applet / portlet - Communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet / portlet - Communication" Watch "Applet / portlet - Communication" New topic

Applet / portlet - Communication

Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
Hello Everybody !

I am looking for a way to send information form an applet to a portlet. Is this - somehow - possible ?

thanks in advance


Visit me at http://liferay-blogging.blogspot.com
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
What, exactly, do you mean by "send information"? What is the target of this sending - an HTTP-addressable portal page? The portal page in which the applet is embedded? Something else? What is being sent?
sridhar mam

Joined: Jun 28, 2007
Posts: 4

Did you get the solution for it?

I want to do the same...

I have an applet form embedded in portlet, and when I submit the form, it should pass through portlet.

Thanks in advance.
narendra dwfs

Joined: Jun 15, 2010
Posts: 1
You can get the values into the form when you submit the form
by just using java script.
an applet can call the javascript methods and also
send data to javascript methods as a parameters.
in javascript you can set the value to the textboxes.

Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
It is possible.

Portlet -> Applet: Use Applet parameters.

Applet -> Portlet: Use Netscape javascript libraries to call jsvascript functions that take the parameters
Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
This is how you do applet - portlet communication :


I agree. Here's the link: http://aspose.com/file-tools
subject: Applet / portlet - Communication
It's not a secret anymore!