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 Dmitry Sklyut <Dm...@orcom.com> on 2004/01/23 19:21:57 UTC

[J1] Customization Does Not work

Hi All,

I am experiencing a strange problem.

When I try to customize a portlet (click on the customize button in the
header of the portlet), customization does not take hold but appends
",Customize" to the template name.  So when I come back to the portal I get
the following error instead of the portlet:  JspViewProcessor: Could not
load a template /template/p_portlet_name.jsp,Customize

Here is my configuration:  Jetspeed 1.4.  PSML is only at the role level.

The portlet in question has the following .xreg:
++++++++++++++++++++++++++++++++++++++++++++
<portlet-entry name="CSR Customer Dream Screen" hidden="false"
        type="ref" parent="JSP" application="false">
        <meta-info>
            <title>Customer Dream Screen</title>
            <description></description>
            <image></image>
        </meta-info>
 
<classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
        <parameter name="template"
            value="/customerinfo/p_dream_screen.jsp" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info/>
        </parameter>
        <parameter name="action"
            value="customerservice.DreamScreenAction" hidden="true"
            cachedOnName="true" cachedOnValue="true">
            <meta-info/>
        </parameter>
        <parameter name="fields"
            value="Name, PhoneNumber, FaxNumber, Address, CreditScore"
            hidden="false" cachedOnName="true" cachedOnValue="true"
type="style">
            <meta-info>
	
<title>Fields</title>
						        <description>Fields
to display</description>
						        </meta-info>
				</parameter>
				<parameter name="fields.style.items"
value="Name, PhoneNumber, FaxNumber, Address, CreditScore" hidden="true"/>
				<parameter name="fields.style.layout"
value="$northsouth" hidden="true"/>
    		<parameter name="fields.style" value="CheckBoxGroup"
hidden="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="false"/>
        <category group="Jetspeed">csr</category>
    </portlet-entry>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I expected on customization that a psml will get copied to a psml for the
user, but that didn't happen either.  Can someone point me to a place to
start debugging this, or a pointer to resolution?

Thanks

Dmitry