From 7d113f46801afbb691737b05551538a29a6473ca Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 21 Jun 2010 10:05:03 +0000 Subject: #5204 Include demo portlets in demo package; portlet configuration files are no longer generated at build, cleaned up manually maintained versions svn changeset:13806/svn branch:6.4 --- WebContent/WEB-INF/liferay-display.xml | 34 ++-- WebContent/WEB-INF/liferay-portlet.xml | 146 ++++++----------- WebContent/WEB-INF/portlet.xml | 291 +++++++++++++++------------------ WebContent/WEB-INF/web.xml | 5 - 4 files changed, 188 insertions(+), 288 deletions(-) (limited to 'WebContent/WEB-INF') diff --git a/WebContent/WEB-INF/liferay-display.xml b/WebContent/WEB-INF/liferay-display.xml index 0e88c0e862..903f441d8b 100644 --- a/WebContent/WEB-INF/liferay-display.xml +++ b/WebContent/WEB-INF/liferay-display.xml @@ -2,26 +2,16 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/WebContent/WEB-INF/liferay-portlet.xml b/WebContent/WEB-INF/liferay-portlet.xml index f3c18e57d0..559592a48a 100644 --- a/WebContent/WEB-INF/liferay-portlet.xml +++ b/WebContent/WEB-INF/liferay-portlet.xml @@ -2,102 +2,52 @@ - - PortletDemoPortlet - true - false - - - SelectDemoPortlet - true - false - - - TableDemoPortlet - true - false - - - FilterSelectPortlet - true - false - - - FeatureBrowserPortlet - true - false - - - ModalWindowPortlet - true - false - - - CalcPortlet - true - false - - - NotificationDemoPortlet - true - false - - - ChatServletPortlet - true - false - - - BrowserDemoPortlet - true - false - - - HelloWorldPortlet - true - false - - - AddressBookPortlet - true - false - - - CalcPortlet - true - false - - - SamplerPortlet - true - false - - - Portlet Mode Example - true - false - - - Portlet HTML Mode Example - true - false - - - - administrator - Administrator - - - guest - Guest - - - power-user - Power User - - - user - User - - + + PortletDemoPortlet + true + false + + + CalcPortlet + true + false + + + SamplerPortlet + true + false + + + Portlet Mode Example + true + false + + + Portlet HTML Mode Example + true + false + + + AddressBookPortlet + true + false + + + + administrator + Administrator + + + guest + Guest + + + power-user + Power User + + + user + User + + \ No newline at end of file diff --git a/WebContent/WEB-INF/portlet.xml b/WebContent/WEB-INF/portlet.xml index 265c3b3869..2b107d5ae2 100644 --- a/WebContent/WEB-INF/portlet.xml +++ b/WebContent/WEB-INF/portlet.xml @@ -11,10 +11,9 @@ application PortletDemo - widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet + com.vaadin.portal.gwt.PortalDefaultWidgetSet text/html @@ -40,31 +39,26 @@ user + - FeatureBrowserPortlet - Vaadin FeatureBrowser + CalcPortlet + Calc com.vaadin.terminal.gwt.server.ApplicationPortlet2 application - com.vaadin.tests.featurebrowser.FeaturesApplication - - - style - height:650px + com.vaadin.demo.Calc widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet + com.vaadin.portal.gwt.PortalDefaultWidgetSet text/html view - edit - help - FeatureBrowser - FeatureBrowser + Calc + Calc @@ -82,76 +76,56 @@ - HelloWorldPortlet - Hello World + SamplerPortlet + Sampler com.vaadin.terminal.gwt.server.ApplicationPortlet2 application - com.vaadin.demo.HelloWorld + com.vaadin.demo.sampler.SamplerApplication + + + widgetset + com.vaadin.portal.gwt.PortalDefaultWidgetSet + + + style + height:650px text/html view - HelloWorld - HelloWorld + Sampler + Sampler + + + administrator + + + guest + + + power-user + + + user + - Portlet Mode Example Portlet Mode Example com.vaadin.demo.portlet.PortletModePortlet - - widgetset - com.vaadin.portal.gwt.PortalDefaultWidgetSet - application com.vaadin.demo.portlet.PortletModeExample + + widgetset + com.vaadin.portal.gwt.PortalDefaultWidgetSet + text/html @@ -164,12 +138,29 @@ PortletModeExample PortletModeExample + + + administrator + + + guest + + + power-user + + + user + Portlet HTML Mode Example Portlet HTML Mode Example com.vaadin.demo.portlet.HtmlModePortlet + + widgetset + com.vaadin.portal.gwt.PortalDefaultWidgetSet + text/html @@ -181,6 +172,19 @@ Portlet HTML Mode Example Portlet HTML Mode Example + + + administrator + + + guest + + + power-user + + + user + @@ -191,81 +195,17 @@ application com.vaadin.demo.tutorial.addressbook.AddressBookApplication - - text/html - view - - - Address Book - Address Book - - - - - SamplerPortlet - Sampler - com.vaadin.terminal.gwt.server.ApplicationPortlet2 - - application - com.vaadin.demo.sampler.SamplerApplication - widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet - - - text/html - view - - - Sampler - Sampler - - - - - CalcPortlet - Calc - com.vaadin.terminal.gwt.server.ApplicationPortlet2 - - application - com.vaadin.demo.Calc - - - widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet - - - text/html - view - - - Calc - Calc - - - - ChatServletPortlet - Vaadin ChatServlet - com.vaadin.terminal.gwt.server.ApplicationPortlet - - application - chat - - - - widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet + com.vaadin.portal.gwt.PortalDefaultWidgetSet text/html view - edit - help - ChatServlet - ChatServlet + Address Book + Address Book @@ -281,47 +221,70 @@ user + + - BrowserDemoPortlet - Vaadin BrowserDemo - com.vaadin.terminal.gwt.server.ApplicationPortlet + VaadinInterPortletEventPortlet + Hello World Event + com.vaadin.terminal.gwt.server.ApplicationPortlet2 application - BrowserDemo - - - style - height:650px + com.vaadin.demo.portlet.VaadinInterPortletEventPortlet widgetset - com.vaadin.demo.sampler.gwt.SamplerWidgetSet + com.vaadin.portal.gwt.PortalDefaultWidgetSet text/html view - edit - help - BrowserDemo - BrowserDemo + Inter-portlet events + Inter-portlet + events - - - administrator - - - guest - - - power-user - - - user - + + vaadin:Hello + + + vaadin:ReplyToVaadin + + + vaadin:Reply + + + vaadin:FromVaadin + + HelloState - + + InterPortletEventPortlet + Hello World Event (non-Vaadin) + com.vaadin.demo.portlet.InterPortletEventPortlet + + text/html + view + + + Inter-portlet events (non-Vaadin) + Inter-portlet events (non-Vaadin) + + + vaadin:Reply + + + vaadin:FromVaadin + + + vaadin:Hello + + + vaadin:ReplyToVaadin + + HelloState + + Custom mode @@ -334,24 +297,26 @@ be serializable and have JAXB binding. --> - vaadin:Hello + vaadin:Hello java.lang.String - vaadin:Reply + vaadin:Reply java.lang.String HelloState - vaadin:HelloState + vaadin:HelloState \ No newline at end of file diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 6b6b681525..a30990e896 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -370,13 +370,11 @@ FeatureBrowser /FeatureBrowser/* - Sampler /sampler/* - @@ -407,7 +405,6 @@ ModalWindow /ModalWindow/* - @@ -418,7 +415,6 @@ Calc /Calc/* - @@ -437,7 +433,6 @@ ChatServlet /chat/* - -- cgit v1.2.3