MegaCorp is working on integrating one of their applications existing in non-IBM WebSphere Portal environments into WebSphere Portal. Which of the following options should they use for this purpose?
A. WebClipping Portlet International Edition
B. IntegrationPortlet
C. WebClipping Portlet
D. IntegrationPortlet_jsEnabled
Given the following code in the portlet.xml file, what line of code returns the value of the "test" init- param.
A. renderRequest.getInitParameter("test");
B. renderRequest.getPortalContext().getInitParameter("test");
C. portletConfig.getInitParameter("test");
D. renderResponse.getInitParameter("test");
In the case of a processAction or serveResource call, what is the expected behavior if an action or resource parameter has the same name as a public render parameter?
A. The public render parameter is ignored.
B. The public render parameter values must be the last entries in the parameter value array.
C. The public render parameter is appended with a unique identifier to distinguish it from the action/resource parameter.
D. The public render parameter takes precedence and overwrites the value of the action/resource parameter.
If Lola needs to create a resource collection, which of the following options must she define?
A. An instance of the following:
-com.ibm.websphere.personalization.ResourceCollection
B. An instance of either of the following:
-com.ibm.websphere.resources.ResourceCollectionImpl
-com.ibm.websphere.resources.ResourceManager
C. An instance of one of the following:
-com.ibm.websphere.personalization.resources.Resource
-com.ibm.websphere.personalization.resources.ResourceManager3
-com.ibm.websphere.personalization.resources.ResourceDomain3
-com.ibm.websphere.personalization.resources.AuthIDTranslator
D. An instance of either of the following:
-com.ibm.websphere.personalization.ResourceCollectionImpl
-com.ibm.websphere.resources.ResourceManager
Which one of the following statements is valid regarding credential objects?
A. Credential objects are serializable.
B. To create a slot for storing active credentials, set the active parameter of the CredentialVaultService.createSlot method to true.
C. Passive credential objects hide the credential's secret from the portlet.
D. Portlets that use active credential objects need to extract the secret from the credential to authenticate with the backend.
Evan needs to share action URL parameters used in a portlet with another portlet. In the binding section of the WSDL files used for specifying a portlet's participation with the property broker, an action URL parameter can be bound to several scopes. Which one of the following options best describes the scopes that Evan can use to share the action URL parameters using the property broker?
A. Page attribute, Request attribute, Request parameter, Session attribute
B. Request attribute, Request parameter, or Session attribute
C. Request parameter or Session attribute
D. Session attribute only
Roger has been discussing iWidgets with a prospective client and has been highlighting certain aspects of the specification. Which of the following statements is false and thus ill-advised?
A. Three modes are defined in the iContext Constants (VIEW, EDIT and HELP). An iWidget does not need to support all three modes.
B. Overall page management components are provided by the iContext. These include iWidget coordination, page layout and controls, andbackend service interaction.
C. iScope is a mechanism to support encapsulation of an iWidget's assests.
D. The iDescriptor is a special ManagedItemSet which is always persisted by the iContext.
Corrie needs to create several iWidgets that will interact with each other. She is evaluating the mechanisms that she can use to share state information between the iWidgets. Which one of the following options is the best way to accomplish this?
A. Use the JSR 286 defined event and payload mechanism.
B. Store state information in the user's session.
C. Implement public render parameters.
D. Declare the state sharable in the ItemSet definition and register listeners in the individual iWidgets to be informed when shared state changes.
The JSR 286 Portlet Specification PLT.C appendix defines the Cascading Style Sheet classes for a variety of logical units in the markup. It follows the styles defined by the OASIS Web Services for Remote Portlets Technical Committee. What is the prefix used for the name of the CSS classes defined in this appendix?
A. css- (for example css-font, css-form-field, css-table-body)
B. wsrp- (for example wsrp-font, wsrp-form-field, wsrp-table-body)
C. portal- (for example portal-font, portal-form-field, portal-table-body)
D. portlet- (for example portlet-font, portlet-form-field, portlet-table-body)
Bill is developing a mail portlet. One of the requirements of the mail portlet is that it should prompt the user for a user name and password on the first access, then store that information in the credential vault. After that, the mail portlet should read the credential from the credential vault and use it for logging in to the external application. Which type of credential slot should Bill use?
A. System slot
B. Administrative slot
C. Shared user slot
D. Portlet private slot