<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2009 eXo Platform SAS.

    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 version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
 -->

 <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="1.0">

   <portlet>
    <description xml:lang="EN">Public Render Parameter API Portlet</description>
    <portlet-name>PRPAPIPortlet</portlet-name>
    <display-name xml:lang="EN">Public Render Parameter API Portlet</display-name>
    <portlet-class>org.gatein.portal.samples.api.PRPPortlet</portlet-class>

    <supports>
      <mime-type>text/html</mime-type>
    </supports>

    <portlet-info>
      <title>PRP Portlet</title>
      <short-title>PRP Portlet</short-title>
      <keywords>Sample</keywords>
    </portlet-info>

     <supported-public-render-parameter>navigation_uri</supported-public-render-parameter>
     <supported-public-render-parameter>page_name</supported-public-render-parameter>
     <supported-public-render-parameter>site_type</supported-public-render-parameter>
     <supported-public-render-parameter>site_name</supported-public-render-parameter>
     <supported-public-render-parameter>window_width</supported-public-render-parameter>
     <supported-public-render-parameter>window_height</supported-public-render-parameter>
     <supported-public-render-parameter>window_show_info_bar</supported-public-render-parameter>

  </portlet>

  <portlet>
    <description xml:lang="EN">Locale URL Portlet</description>
    <portlet-name>LocaleURLPortlet</portlet-name>
    <display-name xml:lang="EN">A Portlet example demonstrating locale selection in URL</display-name>
    <portlet-class>org.gatein.portal.samples.api.LocaleURLPortlet</portlet-class>

    <supports>
      <mime-type>text/html</mime-type>
    </supports>

    <portlet-info>
      <title>Locale URL Portlet</title>
      <short-title>Locale URL Portlet</short-title>
      <keywords>Sample</keywords>
    </portlet-info>
  </portlet>

  <public-render-parameter>
     <identifier>navigation_uri</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:navigation_uri</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>page_name</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:page_name</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>site_type</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:site_type</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>site_name</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:site_name</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>window_width</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:window_width</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>window_height</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:window_height</qname>
  </public-render-parameter>
  <public-render-parameter>
     <identifier>window_show_info_bar</identifier>
     <qname xmlns:prp='http://www.gatein.org/xml/ns/prp_1_0'>prp:window_show_info_bar</qname>
  </public-render-parameter>

</portlet-app>
