2 Replies Latest reply on May 13, 2010 2:53 PM by yelan_gatein

    how to define a portlet id

    yelan_gatein

      in portlet.xml    

       

          <portlet>
              <portlet-name>MenuPortlet</portlet-name>
              <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
              <init-param>
                  <name>javax.portlet.faces.defaultViewId.view</name>
                  <value>/LeftMenu.xhtml</value>
              </init-param>
              <init-param>
                  <name>javax.portlet.faces.preserveActionParams</name>
                  <value>true</value>
              </init-param>
              <expiration-cache>-0</expiration-cache>
              <portlet-info>
                  <title>Portal Menu</title>
              </portlet-info>
              <supports>
                  <mime-type>text/html</mime-type>
                  <portlet-mode>VIEW</portlet-mode>
              </supports>
          </portlet>

       

      is there a attribute for portlet id ?