In portal.properties, the following property lists portlets that can be embedded on any page:
portlet.add(default.resource.check.whitelist=3,56_INSTANCE_0000,5S,S2,S6,87,88/103,113,145,164,
The property is listed in liferay-hook_6_l_0.dtd as a property that can can be overridden with a hook.
The recommended way to prevent embedding the Search portlet ("3") is to create a hook plugin.
The recommended way to override multiple JSPs in the Documents and Media portlet is to:
The method to embed the non-instanceable Language portlet with the name "82" in a theme is:
To remove some of the core portlets from the Add Application menu and add them in the Control Panel:
In portal.properties:
login,events.post=\
com.liferay.portal.events.ChannelLoginPostActionA,\
com.liferay.portal.events.Defaultl_andingPageAction,\
com.liferay.portal.events.LoginPostAction
A hook plugin can insert a new class between DefaultLandingPageAction and LoginPostAction.
Methods for retrieving the current users ID include: (Please select all correct answers.)
The recommended way to implement a new SSO solution that captures the SSO header is to:
The service() method in GenericPortlet handles all requests for a particular portlet and dispatches to the appropriate method based on the portlet mode.
Advantages of hook plugins over Ext plugins include: (Please select all correct answers.)
After removing a customization from an Ext plugin, the recommended way to redeploy in a development environment is to:
An administrator would like to search for blog entries by the Twitter account of the author. The recommended way to add the Twitter account to the index and add the term to the search query is to:
All Service Builder entities contain a local reference to: (Please select all correct answers.)
The method to retrieve an integer submitted as a form field named "widgetCount"' is:
The JavaScript method that executes after all the portlets on the page have finished loading is:
The JavaScript method that executes as soon as the HTML document has finished loading is:
Supported plugin types in the Plugins SDK include: (Please select all correct answers.)
Beta-portlet.war requires services that are in alpha-portlet.war. To guarantee beta-portlet.war deploys after alpha-portlet.war:
The recommended way to override the updateLastLogin() method and create a new method called updateLastlmpersonation() for the User service is to: