summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2009-12-02 10:29:00 +0000
committerHenri Sara <henri.sara@itmill.com>2009-12-02 10:29:00 +0000
commit74bb90c7f7835efede72da290813a487b7d60d05 (patch)
treefa17c70352c7cd9bfd4044600f6d60b91032a5d5 /WebContent/WEB-INF
parent05cd3bd1ac7d4d8646d20f9ae4128ca08db05dab (diff)
downloadvaadin-framework-74bb90c7f7835efede72da290813a487b7d60d05.tar.gz
vaadin-framework-74bb90c7f7835efede72da290813a487b7d60d05.zip
#3117 initial JSR-286 shared portlet parameter support and example
svn changeset:10126/svn branch:6.2
Diffstat (limited to 'WebContent/WEB-INF')
-rw-r--r--WebContent/WEB-INF/portlet.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml
index b4a40e77aa..54529685b1 100644
--- a/WebContent/WEB-INF/portlet.xml
+++ b/WebContent/WEB-INF/portlet.xml
@@ -2,6 +2,7 @@
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
version="2.0" 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">
+
<portlet>
<portlet-name>PortletDemoPortlet</portlet-name>
<display-name>Vaadin PortletDemo</display-name>
@@ -137,8 +138,8 @@
<short-title>HelloWorld</short-title>
</portlet-info>
</portlet>
-
- <!--
+
+ <!--
<portlet>
<portlet-name>VaadinInterPortletEventPortlet</portlet-name>
<display-name>Hello World Event</display-name>
@@ -158,7 +159,7 @@
<portlet-info>
<title>Inter-portlet events</title>
<short-title>Inter-portlet events</short-title>
- </portlet-info>
+ </portlet-info>
<supported-processing-event>
<qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Hello</qname>
</supported-processing-event>
@@ -171,6 +172,7 @@
<supported-publishing-event>
<qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:FromVaadin</qname>
</supported-publishing-event>
+ <supported-public-render-parameter>HelloState</supported-public-render-parameter>
</portlet>
<portlet>
@@ -197,6 +199,7 @@
<supported-publishing-event>
<qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:ReplyToVaadin</qname>
</supported-publishing-event>
+ <supported-public-render-parameter>HelloState</supported-public-render-parameter>
</portlet>
-->
@@ -339,6 +342,10 @@
</security-role-ref>
</portlet>
+ <!--
+ These can be used to customize the event object types.
+ The types must be serializable and have JAXB binding.
+ -->
<event-definition>
<qname xmlns:vaadin="http://www.vaadin.com/hello">vaadin:Hello</qname>
<value-type>java.lang.String</value-type>
@@ -349,6 +356,11 @@
<value-type>java.lang.String</value-type>
</event-definition>
+ <public-render-parameter>
+ <identifier>HelloState</identifier>
+ <qname xmlns:vaadin="http://www.vaadin.com/params">vaadin:HelloState</qname>
+ </public-render-parameter>
+
<!--
This can be used to work around an issue in liferay 5.0-5.1.1