Re: Using the html tag in portlets

Mon, 02 Dec 2002 10:15:36 -0800

What does the html that is generated by WebPagePortlet look like? 
Specifically, what does 

codebase="../classes/com/bluesunrise/portal/portlets/applet/" 

get re-written as? I suspect it just can't find the codebase.  

stu

>>> [EMAIL PROTECTED] 11/29/02 09:08AM >>>
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:  
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to