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 Danh Hoai <ho...@indent.org> on 2002/10/18 16:34:47 UTC

Problem registering multiple instances using same portlet

I am trying to use the same portlet to load 2 html/jsp in the same pane, but
I see only one html in the pane.   It seems that the portlet is created
once(cached ?).
The portlet I wrote extends AbstractPortlet.   Is this configuration
problem? please see my .xreg below.

Thanks for your help.


    <portlet-entry name="test1" hidden="false" type="ref"
        parent="HTML" application="false">
        <meta-info>
            <title>test 1</title>
            <description>test 1</description>
        </meta-info>
        <classname>com.indent.portlets.PageDispatcherPortlet</classname>
        <url cachedOnURL="true">/html/diss.htm</url>
        <parameter name="url"
            value="discussionForum"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
    </portlet-entry>

    <portlet-entry name="test2" hidden="false" type="ref"
        parent="HTML" application="false">
        <meta-info>
            <title>test 2</title>
            <description>test 2</description>
        </meta-info>
        <classname>com.indent.portlets.PageDispatcherPortlet</classname>
        <url cachedOnURL="true">/html/docMgmt.htm</url>
        <parameter name="url"
            value="docMgmt"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
    </portlet-entry>



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