Liferay Dynamic Includes
Liferay Dynamic Includes How to customize JSPs with Dynamic Includes Overview There are several ways for JSP customization in Liferay. For Core JSPs you can use a Custom JSP Bag . For module JSPs you can use an OSGi Fragment Bundle . These approaches are powerful: you can make any changes you need to the JSPs being customized. But they have a common drawback: after portal upgrade to the next version you might need to come back to these modules, and merge changes from Liferay with your customizations. Dynamic Includes can solve this problem, and make portal upgrades easier and safer. What is a Dynamic Include? Dynamic Include is a Liferay extension point, which provides developers with a possibility to modify core and module JSPs without a complete override. It consists of two parts: A l iferay-util:dynamic-include tag - used by Liferay to provide the extension points in certain places for JSP files; A DynamicInclude interface - to be imple...