Ok. I figured it out, but I still think there should be a fix. I set hidden="true" for template so now it doesn't show up in the customization screen. One of the o.a.j.modules.actions.controls.Customize.doPerform() has the following code:
jdata.setScreenTemplate("Customize"); This is what get appended to the "template" property. I still have a question on the PSMLs. I created a Role only PSML, that is it is not copied to each user on user create. I really want to have only one PSML resource to manage for new users. Now, what I expected is that on any customization by the User, that user WILL get his personal copy of PSML because he messed with the Role template. What I am seeing is that the Role template is getting modified when a user Customizes a portlet. Is this correct behavior? Thanks Dmitry > -----Original Message----- > From: Dmitry Sklyut > Sent: Friday, January 23, 2004 1:22 PM > To: Jetspeed Users List (E-mail) > Subject: [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