]> source.dussan.org Git - vaadin-framework.git/commitdiff
#3226 lazily initialized portlets: another sample portlet
authorHenri Sara <henri.sara@itmill.com>
Tue, 6 Apr 2010 12:02:12 +0000 (12:02 +0000)
committerHenri Sara <henri.sara@itmill.com>
Tue, 6 Apr 2010 12:02:12 +0000 (12:02 +0000)
svn changeset:12323/svn branch:6.3

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

index d83b47d8b0b0323684344c86080ad18100f7a05c..50bed9c7d56ff533dc7c34323d18992c25eec504 100644 (file)
@@ -23,5 +23,6 @@
                                <portlet id="VaadinInterPortletEventPortlet" />
                                -->
                 <portlet id="Portlet Mode Example"/>
+                <portlet id="Portlet HTML Mode Example"/>
         </category>
 </display>
\ No newline at end of file
index a3c61dc439f9fe97e09aaba93de4087bdb70e6f7..cff3366a41500e2efcea83913df06a4a1e76afb7 100644 (file)
             <instanceable>true</instanceable>
             <ajaxable>false</ajaxable>
         </portlet>
+        <portlet>
+            <portlet-name>Portlet HTML Mode Example</portlet-name>
+            <instanceable>true</instanceable>
+            <ajaxable>false</ajaxable>
+        </portlet>
         
         <role-mapper>
                 <role-name>administrator</role-name>
index bab08d4eb1f3f3ff7a2b69d2822b1f2d6554ae79..6cd7f70a48c3346278c5071947c6d22ab623d48d 100644 (file)
                </portlet-info>
        </portlet>
 
+    <portlet>
+        <portlet-name>Portlet HTML Mode Example</portlet-name>
+        <display-name>Portlet HTML Mode Example</display-name>
+        <portlet-class>com.vaadin.demo.portlet.HtmlModePortlet</portlet-class>
+
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>view</portlet-mode>
+            <portlet-mode>help</portlet-mode>
+        </supports>
+        
+        <portlet-info>
+            <title>Portlet HTML Mode Example</title>
+            <short-title>Portlet HTML Mode Example</short-title>
+        </portlet-info>
+    </portlet>
+
        <portlet>
                <portlet-name>AddressBookPortlet</portlet-name>
                <display-name>Address Book</display-name>