To define a primary key named ''bookld" in service.xml:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 2
Customizations to a theme are made in the folder:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Q: 3
Instanceable portlets: (Please select all correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, B
Q: 4
All Service Builder entities contain a local reference to: (Please select all correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, C
Q: 5
A hook plugin can be used to: (Please select all correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, C, D
Q: 6
Default rankings in the Message Boards portlet are set as portlet preferences. To make all new
instances of the portlet display custom rankings, it is recommended to:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Q: 7
The method to embed a portlet in a layout template is:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 8
The recommended way to validate a user against an external system when adding a user through the
UI or a web service is to:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 9
Creating a Struts action hook requires the following elements in liferay-hook.xml: (Please select all correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, C, E
Q: 10
The bundled property file that contains settings for a development environment is:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 11
Supported plugin types in the Plugins SDK include: (Please select all correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, C, D, E, F
Q: 12
To remove some of the core portlets from the Add Application menu and add them in the Control
Panel:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Q: 13
When a hook plugin overrides the language keys for the locale "en_USthe text presented for the
locale comes from:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Q: 14
To map a Service Builder entity to an existing database table in service.xml the entity name must
match the database table name.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 15
All render logic must be implemented in the JSP when using MVCPortlet:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 16
The recommended way to create new methods in a core service is to use a service wrapper hook.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 17
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
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 18
ThemeDisplay.getUserId() returns a value of -1 for the Guest user.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 19
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.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Q: 20
A portlet application only needs the standard web.xml deployment descriptor to be considered valid.