Development Steps: Creating a Deployment Descriptor
Example Deployment Descriptor for a Local PortletA local portlet is a portlet that meets the following criteria:
An example of a portlet deployment descriptor for a local portlet follows. You can use this example as a template for creating portlet deployment descriptors for your own local portlets. Simply replace the element values with your own values as appropriate. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE portlets SYSTEM "http://www.sas.com/idp/portlet.dtd"> <portlets> <local-portlet name="simplejsp" title="SimpleJspPortlet" icon="images/ndd.jpg"> <localized-resources locales="en" /> <deployment scope="user" autoDeploy="true" userCanCreateMore="false"> </deployment> <initializer-type> com.sas.portal.portlets.JspPortlet.JspPortletInitializer </initializer-type> <init-param> <param-name>display-page</param-name> <param-value>simpleJspTest.jsp</param-value> </init-param> <portlet-path>/sas/portlets</portlet-path> <portlet-actions> <portlet-action name="display" default="true"> <type>com.sas.portal.portlets.JspPortlet.JspPortlet</type> </portlet-action> </portlet-actions> </local-portlet> </portlets> |