Yes we can invoke Liferay JSON Web Service from Web Content Display Portlet too. Web Content Display Portlet is used for displaying HTML content in the portlet. However we can easily consume JSON Web Service from it. In this article we will build one small POC to consume JSON Web Service. Highlight of this article 1. Identify […]No Comments.
Jackson API is a multi-purpose Java library for processing JSON. Using Jackson API we can process as well produce JSON in different ways. In this article we will show how to use this Jackson API for creating JSON. Maven Dependency:
<span style="color: #000000;"><strong><span style="font-size: 14pt; font-family: 'Trebuchet MS', Geneva;"><span style="text-decoration: underline;">Example 1</span>: </span></strong><span style="font-size: 14pt; font-family: 'Trebuchet MS', Geneva;">Jackson API to create JSON Array</span></span>
The above code will produce the below JSON Example 2: Jackson API to create […]1 Comment.
Liferay serveResource and alloy aui-io-request module made Ajax easy to implement in Liferay Portlet. If you have basic knowledge of Ajax and you want to learn how ajax call happens by Alloy A.io.request method then this article can help you to understand inside out. At the end of this article you will be able to know how A.io.request works and what's the […]5 Comments.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.