Public render parameters are of the type:
ThemeDisplay.getUserId() returns a value of -1 for the Guest user.
The method to retrieve an integer submitted as a form field named "widgetCount"' is:
The recommended way to display a web content article in a theme:
When adding new users to Liferay, the form will display the Details, Organizations and Personal Site sections based on the following property in portal.properties:
users.form.add.main =detaiIs,organizations,personal-site
The "users.form.add.main" property is listed in the liferay-hook_6_l_0.dtd as a portal property that can be overridden with a hook.
Deploying a hook with the following property in the portal.properties file will remove the Personal Site section:
users.form.add.main =details,organizations
Color schemes are defined in:
Portlet events are distributed to portlets on different pages by setting the property:
The recommended way to add new functionality in Liferay is to:
To display a success message in a JSP use:
Objects stored in the portlet application scope session are available to: