New Year Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

To hide the default success message in a portlet that extends MVCPortlet:

A.

Add the following when creating an action URL:

name="addRecord"

var="addRecordURL"

add-process-action-success-action="false" />

B.

Add the following to liferay-portletxml:

false

C.

Add the following to portlet.xml:

< in it-pa ram>

< na me >add -process-action -success-action

false

D.

The default success message can only be overridden by supplying a customized success message using:

SessionMessages.add(actionRequest, "custom-success-message");

The descriptor liferay-portlet.xml defines:

A.

Events

B.

The portlet class

C.

The CSS class wrapper

D.

Resource bundles

To define a primary key named ''bookld" in service.xml:

A.

B.

C.

D.

The recommended way to automatically add tags when creating web content is to:

A.

Create a model listener in a hook plugin and implement the onAfterCreate() method

B.

Create a model listener in a hook plugin and implement the onBeforeCreate() method

C.

Create an Ext plugin to extend and override JournalArticleLocalServicelmpI

D.

Create a hook plugin and use a service wrapper to extend JournalArticleLocalService

The Plugins SDK uses:

A.

portal-service.jar

B.

JAR files from the user's home directory

C.

portal-impl.jar

D.

portal-plugin.jar

Site administrators would like to search for web content based on the review date. The review date is not currently indexed when web content is published. The recommended way to add the review date to the search index is to:

A.

Create an Ext plugin and overwrite the Journal indexer to index the review date

B.

Create a hook plugin and override the Journal service to index the review date

C.

Create a hook plugin and override the edit article Struts action to index the review date

D.

Create a hook plugin and implement an indexer post processor to index the review date

An administrator would like to add a new travel preferences section in the Miscellaneous section of the user form. The travel preferences are stored as custom fields. The recommended way to implement the solution using a hook plugin is to: (Please select all correct answers.)

A.

Modify html/portlet/users_admin/edit_user.jsp to add the travel preferences section to theMiscellaneous section

B.

Set the portal property "users.form. my.account, miscellaneous"to "travel-preferences" and add the corresponding JSP

C.

Create a Struts action hook to persist the Expando value to the database

D.

Add the custom fields to the relevant JSP using

The method to retrieve a list of users that have been added directly to a site is:

A.

SiteLocalServiceUtil.getSiteUsers()

B.

UserLocalServiceUtil.getSiteUsers()

C.

UserLocalServiceUtil.getGroupUsers()

D.

SiteLocalServiceUtil. getGroupUsers ()

MVCPortlet directs page flow using:

A.

The controller() method

B.

A render parameter called "mvcPath"

C.

A direct link to the JSP with a relative URL

D.

A public render parameter called "path"

The Classic theme is built using:

A.

HTML 4

B.

XHTML

C.

HTML 5

D.

HTML 6

E.

WML