最新的IBM WebSphere Portal 8.0 Solution Development - C2210-911免費考試真題
When writing a custom portlet service, what interface must be implemented to make use of the portlet service life-cycle methods?
正確答案: C
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
What is the outcome if a non-deferred module has a requirement on a deferred module?
正確答案: C
Bill is developing a portlet that uses AJAX to retrieve information from the server. In the serveResource() method first he is setting "AdminName" request attribute and then forwarding control to a JSP for generating markup. Using best practices, how should he print the "AdminName" attribute inside the JSP?
正確答案: D
Given the following code in the portlet.xml file, what line of code returns the value of the "test" initparam. <portlet-class>MyPortlet</portlet-class> <init-param> <name>test</name> <value>test_init_parameter</value> </init-param>
正確答案: C
Jeanelle is advising a client on modular themes in IBM Websphere Portal 8.0. Which of the following statements would be incorrect and therefore not communicated to them?
正確答案: A
PreferencePortlet is Portlet Specification 2.0-compliant and the system is running IBM WebSphere Portal 8.0. What is the output of the following code? public PreferencePortlet extends GenericPortlet{ protected void processAction(ActionRequest actionRequest, ActionResponse){ actionRequest.getPreferences().setValue("test","ViewModePreferenceValue"); actionRequest.getPreferences().store(); } protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { // Generate action URL }
正確答案: B