Which method can be used only in an ActionResponse?
A. encodeURL
B. setProperty
C. addProperty
D. setPortletMode
Which life cycle method of a portlet do the doView, doEdit and doHelp methods represent?
A. init
B. render
C. destroy
D. processAction
Mary wants to enable cookie support for a portlet she has authored. She has already enabled two-phase rendering within the portlet.xml. What method must be modified to include the following statements?
Cookie myCookie = new Cookie("stylekey", "styleValue "); myCookie.setPath(request.getContextPath()); myCookie.setMaxAge(1200000); renderResponse.addProperty(stylekey);
A. doEdit(RenderRequest renderRequest, RenderResponse renderResponse)
B. render(RenderRequest renderRequest, RenderResponse renderResponse)
C. doHeaders(RenderRequest renderRequest, RenderResponse renderResponse)
D. processAction(RenderRequest renderRequest, RenderResponse renderResponse)
Rachel has added a custom new parameter named user to the page properties of the Human Resources page.
How can Rachel retrieve this parameter?
A. She is unable to access the user parameter.
B. She can use the
C. She can use the
D. She can use the
Which feature of the Theme Optimization Analyzer portlet will analyze the theme and its components for known issues and then report the number of errors, warnings and informational messages?
A. Reports
B. Validation Reports
C. Development Mode
D. Remote Debugging
Which statement is true regarding the processAction lifecycle method?
A. It generates the HTML page for the portal.
B. It generates the HTML fragment for the portlet
C. It can publish an event by calling the setEvent method.
D. It can handle an event that is published by another portlet.
Jack wants to allow users to bookmark his portal page. He is using the following code:
What change must he make to this code to allow users to bookmark the page?
A. The code is correct and will allow the users to bookmark the page.
B. He must include the normalize="true" attribute to indicate that the URL to be generated should be normalized.
C. He must include the forceAbsolute="true" attribute to indicate that the URL to be generated should be absolute.
D. He must include the keepNavigationalState="true" attribute to indicate that the URL to be generated should keep the current navigational state, which will include all portlet modes, states, and render parameters in the URL.
Rachel needs to configure access to her company's mail system by using a portlet. The company requires users to be prompted for their user name and password the first time they access their mail. This information is then stored for future access.
What type of credential vault slot should Rachel use?
A. system slot
B. shared user slot
C. portlet shared slot
D. administrative slot
Don needs to update a custom layout in his production server. He made the necessary updates to the layout.html file in WebDAV, but his users are not seeing the changes.
What is the most likely cause of this incorrect behavior?
A. He did not run the cef resh-page-layout-template task.
B. He saved the updates in the themelist directory in WebDAV.
C. He did not force a recompile of the Defaultjsp file in his custom theme.
D. He did not restart the server, as required, for the layout updates to take effect.
Chris wants to create a new custom theme without leveraging WebDAV.
What is the first step?
A. Run the XMLAccess script to enable and register the new theme.
B. Create a new folder in WebDAV for the new theme using the /mycontenthandler/dav/fs- type1 entry point.
C. Create a new EAR and new WAR project then deploy it using the IBM WebSphere Portal Administration Console.
D. Create a new EAR and new WAR project, copy the WebDAV entire Portal 8.5 directory into the WAR project, then deploy using IBM WebSphere Integrated Solutions Console.