Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Liferay LRP-614 - Portal Developer

Page: 2 / 5
Total 144 questions

If multiple Ext plugins modify struts-config-ext.xml:

A.

Liferay merges all of the plugins into one plugin and deploys the combined plugin

B.

Liferay only deploys the first plugin that modifies struts-config-ext.xml and does not deploy subsequent plugins

C.

The last plugin deployed takes precedence

D.

All of the plugins deploy successfully

An Ext plugin should be used to:

A.

Create aportlet

B.

Create a theme

C.

Overwrite a portal JSP file

D.

Create a servlet filter

E.

Modify coreportletdeployment descriptors

F.

Create a web service

The recommended way to add a custom class to Liferay's startup process is to:

A.

Create a portal-ext.properties file in the Liferay Home directory that adds the custom class to global.startup.events, and add the custom class to the deployed Liferay application

B.

Create an Ext plugin that replaces the value of global.startup.events with the custom class, and add the custom class to the plugin

C.

Create a portal-ext.properties file in the Liferay Home directory that replaces the value of global.startup.events with the custom class, and add the custom class to portal-impl.jar

D.

Create an Ext plugin that adds the custom class to global.startup.events, and add the custom class to the plugin

The recommended way to turn off portlet borders in a custom theme is to:

A.

Modifyportlet.vm to hide theportletborders

B.

Set the theme setting "portlet-setup-show-borders" to "false"

C.

Create a JSP hook that overrides port!et_wrapper.jsp to hide theportletborders

D.

Set the portal property "portlet.setup.show.borders" tofalse"

Objects stored in the portlet application scope session are available to:

A.

Any portlet on the same page

B.

Any portlet in the same portlet application

C.

Any portlet within the portal application

D.

Only the portlet that stored the object in the session

Service Builder entities are defined in:

A.

portlet.xml

B.

liferay-portlet.xml

C.

service, xml

D.

web.xml

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");

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

A.

True

B.

False

When a hook plugin overrides the language keys for the locale "en_USthe text presented for the locale comes from:

A.

The core Language.properties

B.

The plugin Language.properties

C.

The plugin Language_en.properties, then the core Language.properties

D.

The plugin Language_en.properties, then the core Language_en.properties

To generate remote services with Service Builder:

A.

Pass the switch "-Dremote-service=true" to the Ant "build-service" target

B.

Set the attribute "remote-service'' to "true" on the "entity" element in service,xml

C.

Set the attribute "remote-service" to "true" on the "service-builder" element in service.xml

D.

All of the above