You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

portlet.xml 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
  3. version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. 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">
  5. <portlet>
  6. <portlet-name>JSR286TestPortlet</portlet-name>
  7. <display-name>Vaadin Portlet 2.0 Test</display-name>
  8. <portlet-class>com.vaadin.server.VaadinPortlet</portlet-class>
  9. <init-param>
  10. <name>ui</name>
  11. <value>com.vaadin.tests.integration.JSR286Portlet</value>
  12. </init-param>
  13. <init-param>
  14. <name>widgetset</name>
  15. <value>com.vaadin.DefaultWidgetSet</value>
  16. </init-param>
  17. <supports>
  18. <mime-type>text/html</mime-type>
  19. <portlet-mode>view</portlet-mode>
  20. <portlet-mode>edit</portlet-mode>
  21. <portlet-mode>help</portlet-mode>
  22. </supports>
  23. <portlet-info>
  24. <title>Vaadin Portlet 2.0 Test</title>
  25. <short-title>Vaadin Portlet 2.0 Test</short-title>
  26. </portlet-info>
  27. <security-role-ref>
  28. <role-name>administrator</role-name>
  29. </security-role-ref>
  30. <security-role-ref>
  31. <role-name>guest</role-name>
  32. </security-role-ref>
  33. <security-role-ref>
  34. <role-name>power-user</role-name>
  35. </security-role-ref>
  36. <security-role-ref>
  37. <role-name>user</role-name>
  38. </security-role-ref>
  39. </portlet>
  40. <!-- This can be used to work around an issue in liferay 5.0-5.1.1 <container-runtime-option>
  41. <name>javax.portlet.escapeXml</name> <value>false</value> </container-runtime-option> -->
  42. </portlet-app>