Friday, November 5, 2010

How to disable border for all Portlet?

liferay-look-and-feel.xml  (tomcat\webapps\ROOT\WEB-INF) Add the following setting in liferay-look-and-feel.xml for disabling border for all portlets by default. <theme id="classic" name="classic">       <settings>             <setting key="portlet-setup-show-borders-default" value="false" />        </settings> </theme>  or Portal-ext.properties (tomcat\webapps\ROOT\WEB-INF) You can change it through property file also by adding this entry: theme.portlet.decorate.default=false- Gnaniyar Zubair ...

Web Service

IntroductionIn general, web services are resources which may be called over the HTTP protocol to return data. They are platform-independent, allowing communication between applications on different operating systems and application servers. When the database entries are generated by ServiceBuilder, web services can be generated as well based on Apache Axis. As a result, nearly all of the backend API calls can be made using web services. Java clients may be generated from Web Service Definition Language (WSDL) using any number of tools (Axis, Xfire-CXF, JAX-RPC, and so on). Apache Axis is essentially a Simple Object Access Protocol (SOAP) engine—a framework for constructing SOAP processors such as clients, servers, gateways, and so on. This document will show how to use the web...

SSO (Single Sign-on) Using CAS

Single Sign-on (SSO) is a method to allow users to access multiple related but independent software systems while only needing to authenticate once. Many different single sign-on systems can be integrated with Liferay, and articles that describe this process are linked to below. Setting up CAS server We will begin with setting up JA-SIG CAS server on Tomcat 5.x.x. Download cas-server WAR from Liferay's download page or the whole distribution from here and drop the cas-web.war file into Tomcat's webapps dir. In a production environment The CAS server should really run on its own tomcat instance but for testing purposes we'll drop it in the same instance as our Liferay portal. We'll need to edit the server.xml file in tomcat and uncomment the SSL section to open up port 8443....

LIFERAY OVERVIEW

Portal and Web Application The biggest difference between a portal and a web app is that a portal implies configurability. however, most portals allow users to configure things to a certain extent. The goal is to allow each users to see what they want and only what they want. A portal is just a specific type of web application. “it provides a single point of entry to widely distributed information on the web”Collection of Web components are landing in one platform called Portal.Each web components is called as Portlets.What is Portal? Portal is a web based application that commonly provides personalization, content aggregation...

Wednesday, November 3, 2010

Lucene Search in Liferay

Lucene Search  In Liferay What is Lucene? Lucene powered by Akamai EdgeComputing is based on Jakarta Lucene, an open-source search application created by the Apache Software Foundation. Jakarta Lucene is a high-performance, full-featured text search engine library written entirely in Java. The engine uses powerful, accurate, and efficient search algorithms. (http://jakarta.apache.org/lucene). Lucene includes the following functionality: Provides the ability to search in many languages Indexes any text-based file, such as HTML, or any file that can be converted to text Supports ranked searching so the best results are returned first Performs boolean and phrase queries Enables fielded searching (e.g. searches can be submitted that focus on title, author, contents,...

Tuesday, November 2, 2010

ALLOY POPUP

In Liferay's previous versions, we are using Liferay.Popup for popup window using jQuery. As Liferay is moved to Alloy UI , Here is the code for Alloy Popup:To Display some Html content in Alloy Popup:<aui:script>function callPopup(){ AUI().ready('aui-dialog', 'aui-overlay-manager', 'dd-constrain', function(A) { var dialog = new A.Dialog({ title: 'DISPLAY CONTENT', centered: true, modal: true, width: 500, height: 400, bodyContent: "This is testing content inside the popup" }).render(); });}</aui:script>Passing URL : Passing URL into Alloy Popup<aui:script>Liferay.provide(window,'<portlet:namespace />callPopup',function(url1) {var A = AUI();var data = {};var dialog =...

Pages 91234 »

Share & Enjoy

Twitter Delicious Facebook Digg Stumbleupon Favorites More