The <deployment> element specifies that all portal users can create new instances of the portlet.
<deployment scope="user" autoDeploy="false" userCanCreateMore="true" /> <initializer-type> sample.displayurl.Initializer </initializer-type> <init-param> <param-name>error-page</param-name> <param-value>Error.jsp</param-value> </init-param> <init-param> <param-name>display-page</param-name> <param-value>Viewer.jsp</param-value> </init-param> <init-param> <param-name>edit-page</param-name> <param-value>Editor.jsp</param-value> </init-param> <error-handler> <type>sample.displayurl.ErrorHandler</type> </error-handler> <portlet-path>/sample/portlets</portlet-path>