UNPKG

generator-liferay-portlet-template

Version:

Generated liferay portlet is a yeoman generator. This generator make a portlet with a specific configuration.

43 lines (35 loc) 1.46 kB
<?xml version="1.0" encoding="UTF-8"?> <portlet-app version="2.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"> <portlet> <description xml:lang="EN"><%= name %></description> <portlet-name><%= name %></portlet-name> <display-name xml:lang="EN"><%= name %></display-name> <portlet-class>es.tier.portlet.<%= nameLowerCase %>.<%= name %></portlet-class> <expiration-cache>0</expiration-cache> <supports> <mime-type>text/html</mime-type> <portlet-mode>view</portlet-mode> <!-- portlet-mode>edit</portlet-mode--> </supports> <supported-locale>en</supported-locale> <supported-locale>es</supported-locale> <resource-bundle>content.Language</resource-bundle> <resource-bundle>content.Language_es</resource-bundle> <resource-bundle>content.Language_en</resource-bundle> <supported-locale>es_ES</supported-locale> <portlet-info> <title><%= name %></title> <short-title><%= name %></short-title> <keywords><%= name %></keywords> </portlet-info> <security-role-ref> <role-name>guest</role-name> </security-role-ref> <security-role-ref> <role-name>power-user</role-name> </security-role-ref> <security-role-ref> <role-name>user</role-name> </security-role-ref> </portlet> </portlet-app>