Skip to content

Instantly share code, notes, and snippets.

@martinlau
Created August 18, 2012 11:15
Show Gist options
  • Save martinlau/3386177 to your computer and use it in GitHub Desktop.
Save martinlau/3386177 to your computer and use it in GitHub Desktop.
Portlet descriptor for a simple java portlet
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
version="2.0">
<portlet>
<portlet-name>clojure-portlet</portlet-name>
<portlet-class>au.com.permeance.clojure.ClojurePortlet</portlet-class>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-mode>help</portlet-mode>
</supports>
<portlet-info>
<title>clojure-portlet</title>
<short-title>clojure-portlet</short-title>
</portlet-info>
</portlet>
</portlet-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment