Thursday, February 28, 2013
Sunday, February 24, 2013
Workaround for p:column colspan
Recently, I was facing a problem with the p:datatable colspan attribute.
I wanted to conditionally colspan the table cell, but I failed to do that. And I found its impossible to do it now from the Primefaces forum.
Finally, I came out with a workaround with jQuery.
Instead of the colspan attribute, I used the styleClass attribute to dynamically adjust the table's colspan.
I wanted to conditionally colspan the table cell, but I failed to do that. And I found its impossible to do it now from the Primefaces forum.
Finally, I came out with a workaround with jQuery.
Instead of the colspan attribute, I used the styleClass attribute to dynamically adjust the table's colspan.
Tuesday, February 19, 2013
How to setup Liferay Remote IDE Connector
Liferay Remote IDE Connector provides remote development and deployment support from Liferay IDE. With the help of this plugin, we may also enable the remote development and deployment to non-tomcat Liferay bundled.
This post shows the steps to setup the Liferay Remote IDE Connector and the target Liferay with JBoss bundled.
Theoretically, it should works fine with other server bundled as well.
Platform:
Liferay 6.1.1
Eclipse Juno
1. Make sure Liferay development environment is setup.
2. Download Server Manager Web plugin
Steps:
1. Start the Remote Liferay instance or local non-tomcat Liferay instance.
2. Deploy the Server Manger Web plugin into the target Liferay instance.
put the downloaded lpkg file into the <TARGET_LIFERAY>/deploy folder
Friday, February 15, 2013
How to change portlet title's icon in Liferay
When we create a new portlet in Liferay with Liferay SDK, there come with a default icon in front of the portle title.
We can actually change the icon, so that it is more precise to present our portlet.
The purpose to change the default icon is to differentiate our custom portlet with Liferay's portle, we can change the icon to our flagship logo, to increase users' awareness.
It is pretty simple to change the default title icon, below are the steps.
We can actually change the icon, so that it is more precise to present our portlet.
The purpose to change the default icon is to differentiate our custom portlet with Liferay's portle, we can change the icon to our flagship logo, to increase users' awareness.
It is pretty simple to change the default title icon, below are the steps.
Wednesday, February 13, 2013
How to integrate OpenAM with Liferay for single sign on (SSO)
the objective of this post is to show the steps of how to enable SSO in Liferay with OpenAM.
Assumption:
1. OpenDJ is installed as LDAP for Liferay
2. OpenAM is installed.
Required software:
1. Liferay 6.1.1
2. OpenDJ 2.5
3. OpenAM 10.2
Steps:
1. login to Liferay as Administrator
2. Go to > Control Panel > Portal Settings > Authentication > Open SSO
3. Fill in the following details
Assumption:
1. OpenDJ is installed as LDAP for Liferay
2. OpenAM is installed.
Required software:
1. Liferay 6.1.1
2. OpenDJ 2.5
3. OpenAM 10.2
Steps:
1. login to Liferay as Administrator
2. Go to > Control Panel > Portal Settings > Authentication > Open SSO
3. Fill in the following details
Subscribe to:
Posts (Atom)
Popular Posts
- How to create database view with Oracle SQL Developer Data Modeler
- Primefaces fileDownload in Liferay
- How to enable CKEditor in PrimeFaces Extension
- How to backup Oracle SQL Developer Data Modeler project
- Eclipselink Cache Coordination with JBoss and JMS
- How to handle multilingual error messages for jQuery validation plugins
- Import/Export MySQL database with SQLyog
- Handling Many-to-Many relationship in relational model
- How to edit Liferay email notification templates
- How to easily embed a Google Map in your website