topical media & game development

talk show tell print

professional-portal-09-DirectoryPortlet-web-WEB-INF-portlet.xml / xml



  <?xml version="1.0" encoding="UTF-8"?>
  <portlet-app>
    <portlet>
      <description lang="EN">Directory Portlet</description>
      <portlet-name>DirectoryPortlet</portlet-name>
      <display-name lang="EN">Directory Portlet</display-name>
      <portlet-class>DirectoryPortlet</portlet-class>
  
      <init-param>
        <description>What should we describe here</description>
        <name>initName</name>
        <value>initValue</value>
      </init-param>
  
      <expiration-cache>-1</expiration-cache>
  
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>edit</portlet-mode>
        <portlet-mode>help</portlet-mode>
      </supports>
  
      <supported-locale>en</supported-locale>
  
      <resource-bundle>DirectoryResources</resource-bundle>
  
      <portlet-info>
        <title>Directory Portlet</title>
        <short-title>DirectoryPortlet</short-title>
        <keywords>Directory</keywords>
      </portlet-info>
  
      <portlet-preferences>
        <preference>
           <name>userSelection</name>
           <value>last_name</value>
        </preference>
        <preferences-validator>DirectoryValidator</preferences-validator>
      </portlet-preferences>
  
      <security-role-ref>
        <role-name>trustedUser</role-name>
        <role-link>auth-user</role-link>
      </security-role-ref>
    </portlet>
  
    <custom-portlet-mode>
      <description lang="EN">Pre-defined custom portlet mode CONFIG</description>
      <portlet-mode>CONFIG</portlet-mode>
    </custom-portlet-mode>
  
    <custom-window-state>
      <description lang="EN">Occupies 50% of the portal page</description>
      <window-state>half-page</window-state>
    </custom-window-state>
  
     <security-constraint>
      <portlet-collection>
        <portlet-name>TimeZoneClock</portlet-name>
      </portlet-collection>
      <user-data-constraint>
        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
      </user-data-constraint>
    </security-constraint>
  </portlet-app>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.