topical media & game development

talk show tell print

professional-portal-01-WEB-INF-portlet.xml / xml



  <?xml version="1.0" encoding="UTF-8"?>
  <portlet-app>
    <portlet id="LucenePortlet">
      <portlet-name>LucenePortlet</portlet-name>
      <display-name>Example Search Portlet with Lucene</display-name>
      <portlet-class>org.opensourceportals.samples.LucenePortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>EDIT</portlet-mode>
        <portlet-mode>VIEW</portlet-mode>
        <portlet-mode>HELP</portlet-mode>
      </supports>
      <portlet-info>
        <title>Example Search Portlet with Lucene</title>
        <short-title>Lucene Search</short-title>
        <keywords>Search, Lucene</keywords>
      </portlet-info>
      <portlet-preferences>
        <preference>
          <name>indexPath</name>
          <value>C:\lucene\index</value>
        </preference>
        <preferences-validator>org.opensourceportals.validator.LuceneValidator</preferences-validator>
      </portlet-preferences>
    </portlet>
  </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.