I saw the recent posts regarding the XSP problem.  ( I downloaded the mods
to JetspeedDiskCache and JetspeedServletRequest).  I am able to add a link
to a cocoon portlet, which then displays properly as a link in my
applications portlet.  When selected, it works fine.  My problem is that I
am trying to add a cocoon portlet for display in my home page.  I have added
an entry to my portlet registry that looks like ...
*****************
portletregistry fragment
*****************
                <entry type="ref" parent="Cocoon" name="UserReportList"
application="true">
                        <url>/content/dynamic/xsp/Category2.xml</url>
                        <parameter name="stylesheet"
value="/content/dynamic/xsp/Category4.xsl"/>
                        <metainfo>
                                <title>User Report List</title>
                                <description>User accessable list of
reports.</description>
                        </metainfo>
                </entry>
*****************
I am having an interesting go of getting familiar with the psml controllers,
controls and portlets, but I modified an existing sample psml to include my
cocoon portlet.  Basically, I want a 2 column page with the left being a
custom portlet that I have written and the right being a cocoon portlet.  My
custom portlet (KPIPane) works fine, however, I get no output from my cocoon
portlet.

I would be greatful for any advice on 2 fronts.  1. Any insight into my
cocoon portlet problem.  2. Any advice on the psml structure (i.e. use grid
controller possibly).  

Thanks.

***********************
default.psml
***********************
<?xml version="1.0" encoding="iso-8859-1"?>
<portlets user="default">
        <controller
name="org.apache.jetspeed.portal.controllers.FlowPortletController"/>
        <skin>
                <property name="selected-color" value="#990000"/>
                <property name="background-color" value="FFFFFF"/>
                <property name="title-color" value="#FFCC00"/>
        </skin>
        <portlets>
                <controller
name="org.apache.jetspeed.portal.controllers.FlowPortletController"/>
                <layout position="0"/>
                <metainfo>
                        <title>Home Page</title>
                </metainfo>
                <skin>
                        <property name="background-color" value="#FFFFFF"/>
                </skin>
                <entry type="ref" parent="SubNavigator">
                        <layout position="0"/>
                </entry>
        </portlets>
        <portlets>
                <controller
name="org.apache.jetspeed.portal.controllers.RowColumnPortletController">
                        <parameter name="sizes" value="25%,75%"/>
                        <parameter name="mode" value="row"/>
                </controller>
                <layout position="1"/>
                <metainfo>
                        <title>Home Page</title>
                </metainfo>
                <skin>
                        <property name="background-color" value="#FFFFFF"/>
                </skin>
                <portlets>
                        <controller
name="org.apache.jetspeed.portal.controllers.FlowPortletController"/>
                        <layout position="1"/>
                        <entry type="ref" parent="KPIPane">
                                <layout position="0"/>
                        </entry>
                </portlets>
                <portlets>
                        <controller
name="org.apache.jetspeed.portal.controllers.FlowPortletController"/>
                        <layout position="2"/>
                        <entry type="ref" parent="UserReportList">
                                <layout position="0"/>
                        </entry>
                </portlets>
        </portlets>
</portlets>

*******************


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to