


Sample Questions:
To customize the default success message displayed by MVC Portlet:
Add a custom key to the Session Messages object
Override the language key default-success-message in Language. properties
Provide a <default-message-mapping> entry in liferay-portlet.xml
Pass a parameter called 'success'' in the Action URL and map it to a custom language key
The recommended way to cleanly redeploy an Ext plugin is to:
Remove the plugin WAR file from the server and redeploy
Set ext. redeploy .enabled to ''true''
Remove the text-plugin-[name of plugin],xml file in the deployed Life ray application and redeploy
Start from a clean instance of the server and redeploy
To start Life ray with developer properties:
Set the porta. developer, mode property in portal-ext. properties to ''true"
Include portal-developer. properties during Java startup, or in portal-ext. properties
Navigate to Server Administration in the Control Panel and set the portal. developer. mode property to "true"
Copy portal-developer. properties from the portal's classes directory to the Life ray home directory and restart the server
Not all of the fields in the User object are searchable out of the box. The recommended way to make these fields searchable is to:
Create a hook plugin that overrides the User service to index the required fields
Create a hook plugin that overrides the edit user Struts action to index the required fields
Create an Ext plugin that extends the User indexer to index the required fields
Create a hook plugin that implements an indexer post processor to index the required fields
The recommended way to display a web content article in a theme:
Use the Asset Entry service in portal_normal.vm to get the desired article
Embed the Web Content Display portlet, passing in the desired article ID to the portlet URL
Embed the Web Content Display portlet, passing in portlet preferences set to the desired article
Create a JSP hook that gets the desired article from the Journal Article service
After removing a customization from an Ext plugin, the recommended way to redeploy in a development environment is to:
Redeploy the plugin and restart the server
Un deploy the original plugin and deploy the updated plugin
Start with a clean instance of the server and deploy all plugins
Redeploy all plugins and restart the server