Author: chris.laprun(a)jboss.com
Date: 2010-03-03 10:09:27 -0500 (Wed, 03 Mar 2010)
New Revision: 1944
Modified:
components/pc/trunk/samples/src/main/artifacts/basic-portlet-war/WEB-INF/portlet.xml
components/pc/trunk/samples/src/main/artifacts/google-portlet-war/WEB-INF/portlet.xml
Log:
- Added SessionPortlet and SessionCounterPortlet definitions and marked them as
remotable.
- Marked Google portlets as remotable.
Modified:
components/pc/trunk/samples/src/main/artifacts/basic-portlet-war/WEB-INF/portlet.xml
===================================================================
---
components/pc/trunk/samples/src/main/artifacts/basic-portlet-war/WEB-INF/portlet.xml 2010-03-03
15:07:51 UTC (rev 1943)
+++
components/pc/trunk/samples/src/main/artifacts/basic-portlet-war/WEB-INF/portlet.xml 2010-03-03
15:09:27 UTC (rev 1944)
@@ -1,26 +1,26 @@
<?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. ~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2010, 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"
@@ -33,7 +33,7 @@
<portlet-name>ExceptionPortlet</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.ExceptionPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>Exception portlet</title>
@@ -41,10 +41,44 @@
</portlet>
<portlet>
+ <portlet-name>SessionPortlet</portlet-name>
+ <display-name>Session Portlet</display-name>
+
<portlet-class>org.gatein.pc.samples.basic.SessionPortlet</portlet-class>
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+ <portlet-info>
+ <title>Session portlet</title>
+ <keywords>sample,session</keywords>
+ </portlet-info>
+ <container-runtime-option>
+ <name>org.gatein.pc.remotable</name>
+ <value>true</value>
+ </container-runtime-option>
+ </portlet>
+
+ <portlet>
+ <portlet-name>SessionCounterPortlet</portlet-name>
+ <display-name>Session Counter Portlet</display-name>
+
<portlet-class>org.gatein.pc.samples.basic.SessionCounterPortlet</portlet-class>
+ <supports>
+ <mime-type>text/html</mime-type>
+ </supports>
+ <portlet-info>
+ <title>Session Counter portlet</title>
+ <keywords>sample,session</keywords>
+ </portlet-info>
+ <container-runtime-option>
+ <name>org.gatein.pc.remotable</name>
+ <value>true</value>
+ </container-runtime-option>
+ </portlet>
+
+ <portlet>
<portlet-name>AJAXResourcePortlet</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.AJAXResourcePortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<supports>
<mime-type>text/javascript</mime-type>
@@ -58,7 +92,7 @@
<portlet-name>HeaderInjectionPortlet</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.HeaderInjectionPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<supports>
<mime-type>text/javascript</mime-type>
@@ -72,7 +106,7 @@
<portlet-name>FailDuringInitPortlet</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.FailDuringInitPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>Fail during init portlet</title>
@@ -83,7 +117,7 @@
<portlet-name>RandomEventPortlet1</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.RandomEventPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>A portlet that generate events randomly</title>
@@ -111,7 +145,7 @@
<portlet-name>RandomEventPortlet2</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.RandomEventPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>A portlet that generate events randomly</title>
@@ -140,7 +174,7 @@
<portlet-name>RandomEventPortlet3</portlet-name>
<portlet-class>org.gatein.pc.samples.basic.RandomEventPortlet</portlet-class>
<supports>
- <mime-type>text/html</mime-type>
+ <mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>A portlet that generate events randomly</title>
Modified:
components/pc/trunk/samples/src/main/artifacts/google-portlet-war/WEB-INF/portlet.xml
===================================================================
---
components/pc/trunk/samples/src/main/artifacts/google-portlet-war/WEB-INF/portlet.xml 2010-03-03
15:07:51 UTC (rev 1943)
+++
components/pc/trunk/samples/src/main/artifacts/google-portlet-war/WEB-INF/portlet.xml 2010-03-03
15:09:27 UTC (rev 1944)
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~ JBoss, a division of Red Hat ~
- ~ Copyright 2008, 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. ~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2010, 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...
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
@@ -119,5 +119,10 @@
<identifier>zipcode</identifier>
<qname
xmlns:g='urn:jboss:portal:simple:google'>g:zipcode</qname>
</public-render-parameter>
+
+ <container-runtime-option>
+ <name>org.gatein.pc.remotable</name>
+ <value>true</value>
+ </container-runtime-option>
</portlet-app>