Search

Friday, August 27, 2010

How to disable border by default for all portlet in Liferay

Please add following setting in liferay-look-and-feel.xml  file for disabling border for all portlets by default.

<theme id="ecommera" name="eCommera">
       <settings>
            <setting key="portlet-setup-show-borders-default" value="false" />
        </settings>
</theme>

Wednesday, August 11, 2010

What is WSRP?

WSRP stands for Web Services and Remote Protocal

The Web Services for Remote Portlets specification defines a web service interface for accessing and interacting with interactive presentation-oriented web services. It has been produced through the joint efforts of the Web Services for Interactive Applications (WSIA) and Web Services for Remote Port als (WSRP) OASIS Technical Committees. It is based on the requirements gathered by both committees and on the concrete proposals to both committees. There are mainly two actors Producer and Consumer.
 Producer produce web services and Consumer consumes it and will present easily consumable form to an End -User.



Motivation for WSRP

Portals and other Web applications render and aggregate information from different sources and provide it in a compact and easily consumable form to an End-User.












Friday, August 6, 2010

How to use Freemarker Template Language in Liferay 6 theme?

From Liferay 6.* version Liferay is supporting both Velocity Templates and Freemarker Template languages in Themes. Here are the settings to use Freemarker(ftl) Temaplates for our Themes.

Please write ftl instead of vm in template-extension node in Liferay-look-and-feel.xml


Then restart the server. Now do customization in ftl files rather than doing it in vm.

By default Liferay uses vm(Velocity Template Language).






Tuesday, August 3, 2010

What is Kuler?

Adobe Kuler — the web-hosted application for generating color themes that can inspire any project. No matter what you're creating, with Kuler you can experiment quickly with color variations and browse thousands of themes from the Kuler community.

You can Explore, create and share color themes.

What is MooTools?

MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.

MooTools code respects strict standards and doesn't throw any warnings. It's extensively documented and has meaningful variable names: a joy to browse and a snap to understand.

Examples