You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Mark Orciuch <ma...@ngsltd.com> on 2004/03/30 19:33:35 UTC
RE: JavaAppletPortlet info
Sample java applet portlet definition:
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="JavaMine" hidden="false" type="ref"
parent="AppletPortlet" application="false">
<meta-info>
<title>Mine Sweeper Game</title>
<description>Example of Java applet</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
<parameter name="codebase" value="." hidden="true" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="width" value="152" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="code" value="jmapplet.class" hidden="true"
cachedOnName="true" cachedOnValue="true"/>
<parameter name="height" value="195" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="archive" value="javamine.jar" hidden="true"
cachedOnName="true" cachedOnValue="true"/>
<parameter name="border" value="0" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="align" value="top" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="rows" value="8" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="marks" value="true" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="mines" value="10" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="graphics" value="true" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="type" value="application/x-java-applet" hidden="false"
cachedOnName="true" cachedOnValue="true"/>
<parameter name="level" value="beginner" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<parameter name="cols" value="8" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
<media-type ref="html"/>
<url cachedOnURL="true"/>
</portlet-entry>
</registry>
In the future, please post your questions to the list for everyone's
benefit.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com
-----Original Message-----
From: Douglas Villalobos [mailto:douglas.villalobos@illative.com]
Sent: Monday, March 29, 2004 4:51 PM
To: mark_orciuch@ngsltd.com
Subject: JavaAppletPortlet info
Hi Mark, my name is Douglas, I have seen your JavaAppletPortlet code
sample but I don't understand it fully specially the configuration.
Do you have any sample with most information. I need to create a portlet
that contains a applet.
Thanks
Douglas