Which property of the Form Table control is used to display an asterisk (*) before the label for any required fields?
A. enableRequiredMarks
B. showRequiredMarks
C. disableRequiredMarks
D. displayRequiredMarks
正解:C
質問 2:
Which statement is true when developing an XPage in IBM Domino Designer?
A. The XPages XML syntax is called XSP markup.
B. XPages controls cannot be added to the XPage through the Source View.
C. The Source View depicts an HTML representation of the XPage.
D. Use of standard HTML tags like <div> and <script> are not permitted.
正解:A
質問 3:
Sam would like to use Formula Language to extract the word "cat" from the sentence: "The black cat walked under the ladder". She has assigned the sentence to the variable "MySentence". Which line of code could she use to do that?
A. @LeftBack(@Right(MySentence; "cat"); 3)
B. @Left(@RightBack(MySentence; 3); 25)
C. @MiddleBack(MySentence; 25; -3)
D. @Middle(MySentence; "cat"; 3)
正解:C
質問 4:
Sally wants to manually bind an Edit Box control to the LastName field on her document data source "contactDoc". Which is the correct syntax for the Edit Box?
A. <xp:inputText value="#{contactDoc.getComponent(LastName)}" id="form1"></xp:inputText>
B. <xp:inputText value="#{contactDoc.LastName}" id="form1"></xp:inputText>
C. <xp:editBox value="#{contactDoc.LastName}" id="form1"></xp:editBox>
D. <xp:input value="#{contactDoc.LastName}" id="form1"></xp:input>
正解:B
質問 5:
Sofia has created a button on an XPage that has the following JavaScript code for the onclick event: applicationScope.put("School","Montessori"); If the application is closed and reopened, what is the value in contained in applicationScope.School?
A. null
B. ""
C. Montessori
D. exception error
正解:C
質問 6:
Which is the correct way to compute a client-side JavaScript variable fullName from two fields on a datasource firstName and lastName?
A. var fullname = "#{javascript:document1.firstName + ' ' + document1.lastName;}";
B. var fullname = "#{javascript:document1.getItemValue('firstName') + ' ' + document1.getItemValue('lastName');}";
C. var fullname = "#{javascript:document1.getItemValueString('firstName') + ' ' +document1.getItemValueString('lastName');}";
D. var fullname = "#{javascript:document1.getDocument().firstName + ' ' + document1.getDocument().lastName;}";
正解:C
質問 7:
Helen is using a Repeat control to add a row to a table for each view entry in a Domino View data source. When she tests her code she sees 10 tables and not one table with 10 rows. How could she correct this?
A. In the Output section select the "Create as a Table" option and individually add the fields to be displayed.
B. Use the ignoreTableHeader property of the repeat control to suppress the creation of multiple tables.
C. Change the number of rows to be displayed from 100 to 10 and that will create only one table with 10 rows.
D. Take the Table Header row and Footer row lines of source code and move them outside of the repeat control.
正解:D
質問 8:
Jack wants to be able to add a client-side JavaScript (CSJS) library as a resource to his XPages custom control. How would he accomplish this?
A. Within the Properties view of the custom control, select "Resources" and then add the appropriate resource by selecting from the prompts.
B. Within the Events view of the custom control, select the onClientLoad event and insert the resource name within the client-side JavaScriptsection.
C. Jack cannot accomplish this as resources can only be added to XPages and not custom controls.
D. Within the Properties view of the custom control, select "Dojo" and select the "Insert Custom Library" option. Then follow the prompts to add theappropriate library.
正解:A