최신 IBM-Lotus C2040-922 무료샘플문제:
1. Eric is writing an XPages in the Notes Client (XPinC) application and has a data type problem in a Server Side JavaScript function. How can he find out more information about the objects in his code?
A) Use print() and _dump statements in his code and look in Help -> Support -> View Trace for the output
B) Add a Firebug Lite control to his XPage and then set a breakpoint in the code using Firebug in the Notes Client
C) Set up a new debug configuration in the Java perspective in Domino Designer and then set a breakpoint in the code and step through it to examine the objects
D) Use print() and _dump statements in his code and look for the output on the server console
2. John has a managed bean which is defined as follows: <faces-config> <managed-bean> <managed-bean-name>distanceConverter</managed-bean-name> <managed-beanclass>bean.MyBean</managed-bean-class> <managed-bean-scope>view</managed-beanscope> </managed-bean> </faces-config> The bean has a property called 'miles' which allows a distance in miles to be entered and converted to kilometers. John wishes to have a user enter a value via an edit box and use the managed bean to convert the value from miles to kilometers. What should the value of the edit box's value attribute be in order to utilize the managed bean?
A) <xp:inputText id="inputText1" value="#{bean.MyBean.setMiles()}"></xp:inputText>
B) <xp:inputText id="inputText1" value="distanceConverter.miles"></xp:inputText>
C) <xp:inputText id="inputText1" value="#{distanceConverter.miles}"></xp:inputText>
D) <xp:inputText id="inputText1" value="#{view.distanceConverter.miles}"></xp:inputText>
3. Tamsin is building an XPages application for use on mobile devices. She finds the font and row height on View Panel controls too small and difficult to navigate on a touch screen. Which View Panel property should she add her CSS class to?
A) captionStyleClass
B) viewPanelStyleClass
C) viewStyleClass
D) dataTableStyleClass
4. Dominic wants to implement the open source CSS framework called Blueprint in his XPages application. He does not want to include any other CSS framework resources which may exist on the Domino server. What is the best way to include all of the required CSS files in the XPages in his application?
A) Create a new theme which extends webstandard and then add each Blueprint CSS file via a resource definition
B) Create a new theme which extends oneui and then add each Blueprint CSS file via a resource definition
C) Create a new theme which does not have an extension property and then add each Blueprint CSS file via a resource definition
D) In each XPage in the application add the required CSS files to the Resources section
5. Elaine wants to use the "webkit" stylesheet for webkit browsers. Which object will enable her to do this?
A) facesContext.getExternalContext().getHeader("User-Agent")
B) facesContext.getExternalContext().getRequest().getHeader("User-Agent")
C) facesContext.getExternalContext().getContext().getHeader("User-Agent")
D) facesContext.getRequest().getHeader("User-Agent")
질문과 대답:
질문 # 1 정답: A | 질문 # 2 정답: C | 질문 # 3 정답: D | 질문 # 4 정답: C | 질문 # 5 정답: B |