Free LRP-614 Exam Braindumps (page: 9)

Page 8 of 37

The recommended way to override multiple JSPs in the Documents and Media portlet is to:

  1. Create a separate hook plug in for each JSP
  2. Create an Ext plugin
  3. Create a hook plugin that contains all the JSPs
  4. Copy them directly into Liferay

Answer(s): C



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:

  1. Navigate to System Defaults in the Control Panel and update theportletpreferences
  2. Create a hook plugin that modifies the defaultmessage.board.ranks portal property
  3. Create an Ext plugin that contains the desired configuration inportlet-ext.xml
  4. Create a JSP hook that overrides the rankings for all instances of the Message Boardsportlet

Answer(s): C



The method to send a redirect response and prevent resubmitting a form when a user refreshes the page is:

  1. clearRequ estPara mete rs ()
  2. removeDuplicates()
  3. removeParameters()
  4. send Red irect()

Answer(s): D



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

  1. Liferay merges all of the plugins into one plugin and deploys the combined plugin
  2. Liferay only deploys the first plugin that modifies struts-config-ext.xml and does not deploy subsequent plugins
  3. The last plugin deployed takes precedence
  4. All of the plugins deploy successfully

Answer(s): B






Post your Comments and Discuss Liferay LRP-614 exam with other Community members:

LRP-614 Exam Discussions & Posts