RSS
thumbnail
Igor Spasić | 19 Sep 2010

When Liferay portal is deployed in WebSphere 7, it is possible to use JConsole to connect to the app server and monitor the portal. You need two files: (1) wm-jmx.bat @echo off :: user configuration set HOST=liferay:2809 set WAS_HOME=c:/WebSphere/AppServer set PROPS_DIR=.etc :: properties set PROPS= set PROPS=%PROPS%...

36001
2
thumbnail
Ray Augé | 16 Sep 2010

 So my last blog post involved a classloader trick for velocity but it also involved a problem of dynamically listing article fragments on a page. Now, there are a few ways to do this, but the two that come to mind are: 1) Render each article using a specified template which only shows the content of the desired fields (fine, but seems overkill) 2) Parse the article...

38307
5
thumbnail
Ray Augé | 16 Sep 2010

Recently I was asked to solve a WCM dynamic Template problem which involved listing articles using the business logic of the template. One of the first problems I encountered was of course doing a search for the Articles via the JournalArticleLocalService which, in the case of the searchs which return List<JournalArticle>, require an OrderByComparator. Since there is no...

55828
22
thumbnail
Gregory Amerson | 15 Sep 2010

The latest version of Liferay IDE version 1.1 has just been released to the update sites.  To see a list of the new features and improvements take a look at the Liferay IDE 1.1 New and Noteworthy. If you have previously installed Liferay IDE you can just use "Help > Check for Updates" and you should be offered the upgrade. If you have not installed anything before you...

54198
5
thumbnail
Jonas X. Yuan | 14 Sep 2010

The portal provides a framework to add custom attributes or called custom fields to any Service-Builder generated entities at runtime where indexed values, text boxes, and selection lists for input and dynamic UI are available. For example, you could add custom fields on any entities like Wiki page, Message Boards category, Message Boards message, Calendar event, page, organization,...

54282
23
thumbnail
Joshua Asbury | 14 Sep 2010

Over the next couple of weeks, Liferay and our partners are going to present a series of roadshows around the country.  With the recent release of Liferay 6 EE, we want to provide our customers a forum to learn about and collaborate on the latest advancements in portals, content and collaboration.  Key technical and business leaders from both Liferay and our partners will...

40593
1
thumbnail
Paul Hinz | 11 Sep 2010

Liferay 6EE is complete and was launched at Liferay's West Coast Symposium.  It should be obvious now we were purposely quiet leading up to this launch but now with the hood off, there are several topics to discuss including the future of application development, social equity, web content management, social applications and more.  But before drilling into these topics and...

25005
0
thumbnail
Julio Camarero | 07 Sep 2010

(See English version below) En octubre se celebrará en Málaga (España) el Open Source World Conference, una de las conferencias más importantes en materia de software libre a nivel europeo. Desde Liferay hay un gran interés en la conferencia, tanto por el nivel de las ponencias que mucha gente está presentado como por las ponencias que nosotros mismos podríamos presentar si...

40772
8
thumbnail
Jonas X. Yuan | 04 Sep 2010

In previous blogs post, we had discussed applying workflow on Liferay portal core assets. It is true that Liferay 6 integrates workflow system like jBPM or Kaleo on any assets, either core assets or custom assets. Out-of-the-box liferay 6 supports workflow working on following core assets: Blogs Entry, Comments, Document Library Document, Message Boards Message, Web Content and Wiki...

74571
22
thumbnail
Igor Spasić | 07 Sep 2010

These are some quick steps how to use Derby DB with Portal 6. (1) Prepare Portal Database This shall be done only once. +  modify derby/bin/ij.bat by adding: set DERBY_OPTS="-Dderby.system.home=c:\liferay\bundles\data\derby" + start ij.bat and create the database: connect 'jdbc:derby:lportal;create=true;user=liferay;password=liferay';quit; + create...

27927
0
thumbnail
satya ranjan | 06 Sep 2010

If you are a NetBeans user and always wanted to try Portal Pack with latest NetBeans 6.9 and LIferay 6, here is the good news. So there is a new version Portal Pack 3.0.4 available at Portal Pack project site. This version supports NetBeans 6.9 and Liferay 6. You can check this blog for more details ...

12981
3
thumbnail
Igor Spasić | 03 Sep 2010

Liferay portal can be deployed to many app servers. Cool thing is that from version 6 there are ant targets for downloading and preparing app server of your choice.   (1) Download and prepare app server Invoke in portals folder: ant -f build-dist.xml unzip-xxx where xxx stands for name of your server, e.g.: tomcat, geronimo, jetty.... For full list of...

32975
7
thumbnail
Igor Spasić | 01 Sep 2010

By default, liferay themes uses velocity templates. For example, classic theme (.../tomcat-6.0.x/webapps/ROOT/html/themes/classic/templates) uses several (*.vm) velocity templates. But Liferay portal may use freemarker templates (*.ftl) instead. To usee freemarker instead of velocity open liferay-look-and-feel.xml    <theme id="..." name="...">   ...

36491
7
thumbnail
Igor Spasić | 01 Sep 2010

I use IntelliJ IDEA for portal and plugins development. Also, I currently experiment with different project configuration and, therefore, have IntelliJ module files (*.iml) everywhere. For now, I do not want to commit ignore patterns on SVN, but still want to ignore them in my changelist, to have them out of my sight. For this purpose I use global-ignores feature of svn....

49006
0
thumbnail
Mika Koivisto | 01 Sep 2010

That's a question I've head many times and in this post I will show you  just how to do that. These instructions are for Liferay 6 CE GA3 Tomcat 6.0 bundle however you can use any app server supported by Terracotta but the location and some configuration might be slightly different. So to get started you need to download: Liferay Portal 6 GA3 bundled with Tomcat ...

72071
43
thumbnail
Paul Hinz | 01 Sep 2010

27021
0
thumbnail
Igor Spasić | 31 Aug 2010

Portal minifies JS and CSS; and optimizes HTML (by stripping unnecessary characters, etc). Such files are optimized for production, but not for humans :) that dig into the code during development or debugging. To disable minifiers and html stripping, append the following parameters to the URL line: &js_fast_load=0&css_fast_load=0&strip=0  

70330
8
thumbnail
Igor Spasić | 31 Aug 2010

public class   Liferay   {String $ = "YIYEEILLI:L" +"FIYRELYR)IoLERoLtIaAFF" +"lILRpLYIlLaIARoLRLoIlL" +"YAoIRRrYFY." ; String $$=   "LIFERAY.portal:)";String $$$ ="liferay.com";byte[] o;int mm,www;publicvoid portal(){if(o == null){o= $ .getBytes (); } if(mm>=$.length()) { return;}http://www.liferay.comwhile(o[mm]==0x20)mm++;intc=...

27628
9
thumbnail
Mika Koivisto | 24 Aug 2010

Freemarker is a template language very similar to Velocity. Starting from Liferay 6.0 Liferay supports also Freemarker templates in themes and Web Content templates. In this post I will show how you can use Freemarker in your themes. Getting started To get started you'll need Liferay Portal 6.0 GA3 as well as corresponding Plugins SDK. Once you have setup your Portal and Plugins...

78351
10
thumbnail
Alexander Chow | 24 Aug 2010

For a while now, Liferay has offered Basic authentication for various servlets (e.g., WebDAV, JSON, etc.).  For the most part, this has suited most of our needs.  However, recently, there have been some client applications that now require the more stringent Digest authentication system.  To support these requirements, digest authentication has been added to Liferay. ...

46509
11