In the <local-portlet> element, the value of the title attribute specifies the new portlet type that is displayed to users in the Create a New Portlet dialog box.


The attribute value editorType="portlet" indicates that portlets created from the template are editable. When this attribute value is specified, a portlet action with the attribute value editor="true" must also be specified. Otherwise, the portlet deployer sends a warning to the server log and does not deploy the portlet. Note:   Add the word Sample to the name and title in order to distinguish this portlet from the URL Display portlet that is delivered with the portal.  [cautionend]


   <local-portlet name="@webapp.testportlet.contextroot@"
      title="URL Display Portlet Sample"
      editorType="portlet">
      
      <localized-resources locales="en" />