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 Marjorie Furtado <ma...@transcanada.com> on 2002/11/29 16:08:47 UTC

Using the html tag in portlets
Hi,

I am a new user to Jetspeed and I having problems making a portlet
display an object.  I am trying to display html code that originally
used the <EMBED> tag and I converted to use the <OBJECT> tag.  In the
.xreg file I set the "don't_remove_object" parameter to "yes".   When I
try to display the portlet it gives an empty box where an applet should
pop up.  The html file will display the applet in the browser when it is

not in a portlet.

My .xreg file for the portlet is:

<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="TestingApplet" hidden="false" type="ref"
parent="WebPagePortlet">
     <meta-info>
     <title>Testing Applet</title>
     <description>Broker Testing Applet</description>
     </meta-info>

<classname>org.apache.jetspeed.portal.portlets.WebPagePortlet</classname>

     <parameter name="dont_remove_applet" value="yes" hidden="false"/>
     <parameter name="dont_remove_object" value="yes"/>
     <url>/WEB-INF/portlets/testObj.html</url>
     </portlet-entry>
</registry>


The HTML code that used is:

<HTML><HEADER><TITLE>TESTING Messaging Applet</TITLE></HEADER>
<BODY>
<h1> Testing messaging applet </h1>

<object type="application/x-java-applet;version=1.2"
code="MessageClientApplet"
codebase="../classes/com/bluesunrise/portal/portlets/applet/"
height="400" width="500"
alt="Can not do objects">
</object>
<h1> end </h1>

</body></html>


I also tried using the <APPLET> tag and I had the similar problem.

Any help would be greatly appreciated.
Thanks in advance,
Marjorie






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>