Steve wants to hide a menu item in the action menu. This menu item may be needed for later use. What is the best way to accomplish this?
A. Use the IBM WebSphere Integrated Solutions console to edit the Dynamic Content Spot to update the menu definition and restart the customtheme application.
B. Update the shelfActions.json using the WebDAV located inside the menuDefinitions folder and then register the changes inside the theme.js filelocated inside the js folder.
C. Declare the menu item as not visible in the server-side feed. Declare the menu item as visible in the client-side code, and then stop and restartthe custom theme application.
D. Declare the menu item as visible in the server-side feed then override in the client-side's visibilityFn.
正解:D
質問 2:
Carl is trying to create a theme based on a modularized IBM WebSphere Portal theme. He is ready for deployment, but is unsure of the structure he needs to use to accomplish this. What would be the proper deployment structure for this theme?
A. Create a folder for the theme in the file store, and create a WAR file containing an exact copy of this theme. All associations between static anddynamic content will be made once both are associated by sharing similar context roots.
B. Create an ZIP file that contains one WAR file containing the dynamic content of the theme and one JAR file containing a .content filereferencing the static content.
C. Create a WAR file that contains an ZIP file containing an EAR file that includes both static and dynamic content.
D. Create a custom version of the dynamic content from the modularized theme as a new EAR file and a custom version of the static content bycreating a folder in the file store for it.
正解:D
質問 3:
Bill is developing a user management application. He has access to custom JSP tags that use the PUMA SPI to perform all the required logic. What type of application would be best for Bill to use?
A. Bill should develop an iWidget.
B. Bill should develop a portlet.
C. Bill should deploy his JSPs into the theme using webDAV.
D. Bill should create a Servlet that will generate the desired markup.
正解:B
質問 4:
Which option best describes how JSR 286-compliant portlets and widgets interact with each other?
A. Widgets and portlets can interact by using shared render parameters.
B. Portlets and widgets cannot interact with each other.
C. Widgets and portlets can interact by using shared render parameters and events.
D. Widgets and portlets can interact by using events.
正解:C
質問 5:
Stella is developing a CSS sub-contribution component for her custom module. Which of the followings statements is incorrect regarding CSS sub-contribution types?
A. CSS sub-contributions are only valid under a head contribution type.
B. When debug is enabled, separate link elements are generated for each CSS URL.
C. CSS sub-contributions are valid under both head and config contribution types.
D. The URL referenced in CSS sub-contribution must return valid CSS syntax.
正解:C
質問 6:
Which one of the following statements is valid regarding credential objects?
A. Portlets that use active credential objects need to extract the secret from the credential to authenticate with the backend.
B. Passive credential objects hide the credential's secret from the portlet.
C. To create a slot for storing active credentials, set the active parameter of the CredentialVaultService.createSlot method to true.
D. Credential objects are serializable.
正解:C