IBM C2040-922 試験概要:
| 認定ベンダー: | IBM |
|---|---|
| 試験名: | Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design |
| 試験番号: | C2040-922 |
| 関連資格: | IBM Certified Application Developer - Lotus Notes and Domino |
| 試験形式: | シナリオベース問題, 多肢選択式 |
| 対応言語: | 英語 |
| サンプル問題: | IBM C2040-922 サンプル問題 |
| 受験方法: | 監督付き試験(提供時点の IBM 認定資格の配信状況に応じて、オンラインまたはテストセンターで受験) |
| 前提条件: | IBM Lotus Domino 開発および XPages アプリケーション設計の経験が推奨されます。また、事前に IBM Domino 認定資格を取得していると有利な場合があります。 |
IBM C2040-922 試験シラバストピック:
| セクション | 目標 |
|---|---|
| サーバーサイドおよびクライアントサイドスクリプティング | - サーバーサイド JavaScript (SSJS)
|
| データアクセスと統合 | - 外部データの統合
|
| ユーザーインターフェースとコントロール | - コア XPages コントロール
|
| XPages のアーキテクチャと設計 | - XPages アプリケーションの構造
|
| セキュリティとパフォーマンス | - アプリケーションセキュリティ
|
IBM Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design 認定 C2040-922 試験問題:
問題 #1
Peter wants to enhance the view controls used in his application so that they can display rich content from the underlying document collection. He wants to do this in an efficient manner as the application has thousands of documents and is accessed by hundreds of concurrent users. Which of the following approaches should John take to add this enhancement to his application most efficiently?
A. Add a computed column to the view control that opens each document, set the column content type to HTML, and bind the rich text content from each document using JavaScript code.
B. Modify the Domino view to include the rich text field and add a new column to his view controls that automatically binds to this field.
C. Nothing - XPages view controls cannot display rich content.
D. Add an action to each column that will retrieve the rich text content from the underlying document when clicked, assign it to a computed field with content type set to HTML, and then display that field.
問題 #2
John wishes to create a component that is capable of saving its state as the JSF component tree is being saved and restored. In order to do this, John's component must implement which of the following interfaces:
A. javax.faces.component.StateHolder
B. javax.faces.component.DataHolder
C. com.ibm.xpages.component.XPStateHolder
D. javax.xpages.component.StateHolder
問題 #3
Michelle is editing an existing XPage: ?The page has a "tags" Edit Box with Type Ahead enabled, which provides suggestions for possible tags or keywords to add to the document. ?The HTML source of the Edit Box includes a dojoType attribute. ?After the edit box there is a panel named "tagsHint" explaining the concept of tags. ?Now Michelle wants to hide the "tagsHint" panel when values are already present in the "tags" field. ?She adds an Output Script control containing the following code: var tags = dijit.byId("#{id:tags}"); if( tags.value.length > 0 ){ // already set some tag var tagsHint = XSP.getElementById("#{id:tagsHint}"); tagsHint.style.display = "none"; } ?When she opens the page in a web browser, the JavaScript Error Console reports the error: tags is undefined at the line: if( tags.value.length > 0 ){ // already set some tag What is the problem with the sample code?
A. The first line should be: var tags = XSP.getElementById("#{id:tags}");
B. The script should be in the "onload" event of the XPage control corresponding to the HTML "body" tag.
C. There is no initial value in the tags field, so it is not possible to find the length of the value.
D. The dijit is not yet loaded; the code in the Output Script control should be in an "addOnLoad" listener function.
問題 #4
Jo wants to make a configurable list of countries available to the client side JavaScript of her XPage for use in various different fields on the web page. What would be the most efficient approach?
A. Add an @DbColumn to a server side script library to look up the country list in each place it is required
B. Add a @Decorum to a client side script library to look up the country list in each place it is required
C. Use the Output Script control to create a global Client Side JavaScript object to reference when the list is required
D. Perform an AJAX request to get the country list from another XPage when it is required using dojo.xhrGet
問題 #5
Jeremy wants all of the dijit.Dialog boxes in his application to call a client side JavaScript function called "validateForm" whenever they are hidden. What is the best solution?
A. Create a custom Dojo control and use that instead of the standard dijit.Dialog in the application
using the following code:
/**
*Custom Dojo Control
*/
dojo.provide('com.myco.widget.Dialog');
dojo.require('dijit.Dialog');
(function(){
dojo.declare("com.myco.widget.Dialog", dijit.Dialog, {
onHide: validateForm
})
}());
/**
*Initialization code
*/
var dialog = new com.myco.widget.Dialog();
B. Whenever he initializes a new dijit.Dialog, add an onHide event like so:
var dialog = new dijit.Dialog({
onHide: validateForm
}
);
C. Create a custom Dojo control and use that instead of the standard dijit.Dialog in the application
using the following code:
/**
*Custom Dojo Control
*/
dojo.provide('com.myco.widget.Dialog');
dojo.require('dijit.Dialog');
(function(){
dojo.declare("com.myco.widget.Dialog", dijit.Dialog, {
onHide: validateForm
})
}());
/**
*Initialization code
*/
var dialog = new com.myco.widget.Dialog();
D. Create a custom Dojo control and use that instead of the standard dijit.Dialog in the application
using the following code:
/**
*Custom Dojo Control
*/
dojo.provide('com.myco.widget.Dialog');
dojo.require('dijit.Dialog');
(function(){
dojo.declare("com.myco.widget.Dialog", dijit.Dialog, {
onHide: validateForm
})
}());
/**
*Initialization code
*/
var dialog = new dijit.Dialog();
E. Create a custom Dojo control and use that instead of the standard dijit.Dialog in the application
using the following code:
/**
*Custom Dojo Control
*/
dojo.provide('com.myco.widget.Dialog');
dojo.require('dijit.Dialog');
(function(){
dojo.declare("com.myco.widget.Dialog", dijit.Dialog, {
onHide: validateForm
})
}());
/**
*Initialization code
*/
var dialog = new com.myco.widget.Dialog();
F. Create a custom Dojo control and use that instead of the standard dijit.Dialog in the application
using the following code:
/**
*Custom Dojo Control
*/
dojo.provide('com.myco.widget.Dialog');
dojo.require('dijit.Dialog');
(function(){
dojo.declare("com.myco.widget.Dialog", dijit.Dialog, {
onHide: validateForm
})
}());
/**
*Initialization code
*/
var dialog = new com.myco.widget.Dialog();
G. In the "Close" or "Cancel" button of each dialog add a call to validateForm in the onClick event.
解説:
| 問題 #1 正解: D | 問題 #2 正解: A | 問題 #3 正解: D | 問題 #4 正解: C | 問題 #5 正解: A、C、E、F |














1191 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
