<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ JBoss, a division of Red Hat                                              ~
  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
  ~ contributors as indicated by the @authors tag. See the                    ~
  ~ copyright.txt in the distribution for a full listing of                   ~
  ~ individual contributors.                                                  ~
  ~                                                                           ~
  ~ This is free software; you can redistribute it and/or modify it           ~
  ~ under the terms of the GNU Lesser General Public License as               ~
  ~ published by the Free Software Foundation; either version 2.1 of          ~
  ~ the License, or (at your option) any later version.                       ~
  ~                                                                           ~
  ~ This software is distributed in the hope that it will be useful,          ~
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
  ~ Lesser General Public License for more details.                           ~
  ~                                                                           ~
  ~ You should have received a copy of the GNU Lesser General Public          ~
  ~ License along with this software; if not, write to the Free               ~
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<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>
      <description>Portlet Content Editor</description>
      <portlet-name>PortletContentEditorPortlet</portlet-name>
      <display-name>Portlet Content Editor</display-name>
      <portlet-class>org.jboss.portal.core.ui.content.portlet.PortletContentEditorPortlet</portlet-class>
      <supports>
         <mime-type>text/html</mime-type>
         <portlet-mode>VIEW</portlet-mode>
         <portlet-mode>EDIT_CONTENT</portlet-mode>
      </supports>
      <resource-bundle>Resource</resource-bundle>
      <portlet-info>
         <title>Portlet Content Portlet</title>
         <keywords>management,admin</keywords>
      </portlet-info>
      <supported-publishing-event><qname xmlns:x="urn:jboss:portal:content">x:select</qname></supported-publishing-event>
      <supported-public-render-parameter>uri</supported-public-render-parameter>
   </portlet>
   <user-attribute>
      <name>user.name.nickName</name>
   </user-attribute>
   <user-attribute>
      <name>user.business-info.online.email</name>
   </user-attribute>
   <user-attribute>
      <name>user.name.given</name>
   </user-attribute>
   <user-attribute>
      <name>user.name.family</name>
   </user-attribute>
   
   <event-definition>
      <qname xmlns:x="urn:jboss:portal:content">x:select</qname>
      <value-type>java.lang.String</value-type>
   </event-definition>
   
   <public-render-parameter>
      <identifier>uri</identifier>
      <qname xmlns:c="urn:jboss:portal:content">c:uri</qname>
   </public-render-parameter>
   
</portlet-app>
