The search-container-condensed-hook project is a Hook for the <liferay-ui:search-container> JavaServer Page Scriplet provided by liferay-ui Taglib in Liferay 6.2
As part of the Liferay 6.1 to 6.2 upgrade the liferay-ui Taglib and the Scriplet's therewithin were ported to AlloyUI 2.0. In other words, although Liferay core underwent a minor version upgrade, the front end library used by Liferay UI's JSP Tablib underwent a major version upgrade from 1.0 to 2.0. This resulted in the incorporation of Twitter Bootstrap across all of liferay-ui's Scriplet's and caused noticeable variences across the followingly elements:
The code in this repository modifies the <liferay-ui:search-container> Scriplet in Liferay 6.2 to behave and present in a manner that more closely resembles that of 6.1, namely that it remove's unnecessary whitespacing thus fixing functional issues with data-intensive implementations.
This repository contains a lightweight Hook for the <liferay-ui:search-container> JavaServer Page Scriplet provided by the liferay-ui Taglib in Liferay 6.2 GA1 through GA6. The code follows all Liferay standards and patterns for 6.2 including:
<liferay-util:buffer> tag and modifies the class assignments at runtime.This Hook's only change is that it applies, by default, the table-condensed class to the underline table element resulting from the implementation of the <liferay-ui:search-container> Scriplet.
To build this plugin run the following commands:
git clone --depth 1 [email protected]:cmaggiulli/search-container-condensed-hook.git ~/search-container-condensed-hook
cp -rp ~/search-container-condensed-hook ${plugins.sdk}/hook
ant compile
ant direct-deploy