]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added more demo portlets.
authorPetter Holmström <petter.holmstrom@itmill.com>
Wed, 4 Nov 2009 11:57:39 +0000 (11:57 +0000)
committerPetter Holmström <petter.holmstrom@itmill.com>
Wed, 4 Nov 2009 11:57:39 +0000 (11:57 +0000)
svn changeset:9618/svn branch:portlet_2.0

WebContent/WEB-INF/liferay-display.xml
WebContent/WEB-INF/liferay-portlet.xml
WebContent/WEB-INF/portlet.xml

index 73e43478ef6c662200a7ff9106ddc0dc412d14ba..288a4638c1300c117cd03cc2cd2897bdac0ce413 100644 (file)
@@ -17,5 +17,6 @@
                                <portlet id="HelloWorldPortlet" />
                                <portlet id="AddressBookPortlet" />
                                <portlet id="CalcPortlet"/>
+                               <portlet id="SamplerPortlet"/>
         </category>
 </display>
\ No newline at end of file
index eecb32eb1549003b1d17fe61e647f53ef0083243..696afaaee835c6270c19cc6121845cdc94aeb04f 100644 (file)
                 <instanceable>true</instanceable>       
                 <ajaxable>false</ajaxable>
         </portlet>          
+        <portlet>
+                <portlet-name>SamplerPortlet</portlet-name>
+                <instanceable>true</instanceable>       
+                <ajaxable>false</ajaxable>
+        </portlet>
+        
         <role-mapper>
                 <role-name>administrator</role-name>
                 <role-link>Administrator</role-link>
index 719560852c9947c75703a494d0698f0a30b09cc7..f097509c870800144457d95c0a6fa68ad2349cdb 100644 (file)
                        <short-title>Address Book</short-title>
                </portlet-info>         
        </portlet>      
-       <!-- TODO -->
+       
+       <portlet>
+               <portlet-name>SamplerPortlet</portlet-name>
+               <display-name>Sampler</display-name>
+               <portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>
+               <init-param>
+                       <name>application</name>
+                       <value>com.vaadin.demo.sampler.SamplerApplication</value>
+               </init-param>
+               <init-param>
+                       <name>widgetset</name>
+                       <value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</value>
+               </init-param>
+               <supports>
+                       <mime-type>text/html</mime-type>
+                       <portlet-mode>view</portlet-mode>
+               </supports>
+               <portlet-info>
+                       <title>Sampler</title>
+                       <short-title>Sampler</short-title>
+               </portlet-info>         
+       </portlet>
+       
        <portlet>
                <portlet-name>CalcPortlet</portlet-name>
                <display-name>Calc</display-name>