/jsonws/calendar-portlet/calendar/get-calendar/calendar-id/10466
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
<#-- | |
portletPreferences: Represents the preferences of the application that are used to display content | |
through this template. Use the map API of the selected template language to get the values of the | |
preferences. | |
--> | |
<#if portletPreferences?has_content> | |
<h1>Portlet Preferences</h1> | |
<ul> |
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
buildscript { | |
repositories { | |
ivy { | |
url 'https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles' | |
layout 'pattern', { artifact '[module]/[artifact]-[revision].[ext]' /* OSGi repo pattern */ } | |
} | |
} | |
dependencies { classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.0.0' } | |
} |
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
<#-- DECLARATIONS --> | |
<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> | |
<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] /> | |
<#assign namespace = renderResponse.getNamespace() /> | |
<#macro translate key > | |
${languageUtil.get(pageContext, key)} | |
</#macro> |
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
//This sample is how to use websocket of Tomcat. | |
package wsapp; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; | |
import java.nio.CharBuffer; | |
import java.util.ArrayList; | |
import org.apache.catalina.websocket.MessageInbound; | |
import org.apache.catalina.websocket.StreamInbound; | |
import org.apache.catalina.websocket.WebSocketServlet; |