I registered a portlet whose parent was the WebPagePortlet.
 
<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="WebPageTestPortlet" hidden="false" type="ref"
parent="WebPagePortlet" application="false">
        <meta-info>
            <title>WebPageInJetspeed</title>
            <description>Displays a web page in a portlet</description>
        </meta-info>
 
<classname>org.apache.jetspeed.portal.portlets.WebPagePortlet</classname
>
        <parameter name="dont_remove_applet" value="yes" hidden="false"
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_script" value="yes" hidden="false"
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_object" value="yes" hidden="false"
cachedOnName="true" cachedOnValue="true"/
        <media-type ref="html"/>
        <url cachedOnURL="true">http://lightning/dragdropapp</url>
    </portlet-entry>
</registry>
 
The problem is when it shows the portlet the object isn't displayed that
is specified using the OBJECT tag.  This is because the codebase
attribute is being set to http://lightning/ instead of
http://lightning/dragdropapp by the HTMLReWriter.  I have tried putting
the full url to the page thinking it was a bug with figuring out the
base URL but Jetspeed keeps changing it back to the form above in my
xreg file.  How to do I get the WebPagePortlet to put the correct base
URL address in the codebase attribute.
 
Thanks,
 
Chris

Reply via email to