aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet / portlet - Communication" Watch "Applet / portlet - Communication" New topic
Author

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

daniel


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

Joined: Mar 22, 2005
Posts: 42289
    
  64
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?


Ping & DNS - my free Android networking tools app
sridhar mam
Greenhorn

Joined: Jun 28, 2007
Posts: 4
Hi,

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.
-Sri
narendra dwfs
Greenhorn

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 :

http://liferay-blogging.blogspot.com/2011/01/applet-portlet-communication.html

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Applet / portlet - Communication