Created
April 27, 2017 17:14
-
-
Save chingovan/e862aeeaae7ea719c75a1405ba7ac1e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.chingovan.liferay7.test.portlet; | |
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet; | |
import javax.portlet.Portlet; | |
import org.osgi.service.component.annotations.Component; | |
/** | |
* @author ChiNV | |
*/ | |
@Component( | |
immediate = true, | |
property = { | |
"com.liferay.portlet.display-category=category.sample", | |
"com.liferay.portlet.instanceable=true", | |
"javax.portlet.display-name=test-portlet Portlet", | |
"javax.portlet.init-param.template-path=/", | |
"javax.portlet.init-param.view-template=/view.jsp", | |
"javax.portlet.resource-bundle=content.Language", | |
"javax.portlet.security-role-ref=power-user,user" | |
}, | |
service = Portlet.class | |
) | |
public class TestPortlet extends MVCPortlet { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment