Fiona would like to create an XPage that would switch into edit mode. In order to allow users to edit the page she would like to add a button to do this. How should she set up the button to perform this action?
-
A
XPages cannot be opened in edit mode.
-
B
No button needs to be added, XPages are opened in edit mode by default.
-
C
In the Properties tab, select "simple action", click "add action"; in the dialog, select Document for Category, select "Change document mode"in the "action" field, and then select "auto edit" in the "Document mode" field.
-
D
In the Event tab, select "simple action", click "add action"; in the dialog, select Document for Category, select "Change document mode" inthe "action" field, and then select "auto edit" in the "Document mode" field.
Reveal answer details
Close answer details
Jackie is updating the Travel application. There are several forms that are used from the Notes client and from the Web browser, and she needs to add an area at the bottom of each form to be used to capture approval/denial comments. Jackie has created XPages that make use of JavaScript controls for rich text, and she would like to offer Web users a similar rich-text experience in the field that she will add on a new subform. How can she do this task?
-
A
Add a rich text field on the subform. The JavaScript controls are the default starting in Domino 8.5
-
B
Position the cursor in the subform where the new field should be created, and select Create > Object > Dojo Edit Box.
-
C
Add a rich text field on the subform. In the Web Access section of the Field properties, set the Display option to Using JavaScript Control.
-
D
Position the cursor in the subform where the new field should be created. Drag a rich text control from the controls palette onto the subform.
Reveal answer details
Close answer details
John wants to use Themes to help him define controls properties. He wants to use the OneUI theme but also extend it to be able to manage a different style for some buttons. How can he override the global theme properties for some of his buttons?
-
A
You cannot override any property of a specific control.
-
B
He has to change the Style attribute of his button.
-
C
He needs to specify one theme file.
-
D
He can use the option <control override='true'> for the concerned controls.
Reveal answer details
Close answer details
Margot has created a new theme for her application and saved it as a Themes resource. When she is testing her application, she wonders, why her new theme is not used. What could be the reason for this?
-
A
Themes have to be activated individually to each design element that is used on the web.
-
B
She forgot to activate her new theme in the application properties. In the Web section she has to change the default theme to her newtheme.
-
C
There was a problem in her theme. When themes are not correct, Lotus Domino Designer disables the theme and uses the last used themeor the application or server default theme. Problems are reported in the Problems pane only when the theme is open in Lotus DominoDesigner.
-
D
Margot used a reserved word as the name of the theme. When you do that, Lotus Domino Designer does not present you with an errormessage but simply ignores the theme with the illegal name
Reveal answer details
Close answer details
Shawn has a list of options that he would like to add as checkboxes to an XPage. How can he add a Checkbox group control to his current XPage?
-
A
From the Create menu, select Group Controls, and then select Checkbox group
-
B
From the Controls Palette, drag a Checkbox group control to the XPage
-
C
From the Create menu, select Other..., expand the Other Controls, select Checkbox group, and click OK
-
D
From the Controls Palette, drag a Check Box control and select the Checkbox group option in the All Properties
Reveal answer details
Close answer details
Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage. What global object should she use to access the parameters that she's interested in?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Lisa wants a confirmation before the document, which was edited in an XPage, is submitted and saved. How can she accomplish this task?
-
A
She puts a Confirmation Button Control on the XPage.
-
B
She puts a Button Control on the XPage and selects Confirmation Action from the Add Action dialog box.
-
C
She puts a Button Control on the XPage, adds a Confirmation Action through "Add Action ...", and adds the "Save Document" simple action.
-
D
She puts a Button Control on the XPage, adds a group to the Simple Action panel, opens the group, addsa Confirm Action to the group,enters the text for the prompt, and then adds the Simple Action "Conditional Save Document" to the group.
Reveal answer details
Close answer details
Nadine has discovered that XPages dynamically generates names of UI elements. She therefore cannot know ahead of time what an element's name is when it is passed to the Web browser. What function can Nadine use in her server-side JavaScript to fetch the generated element ID at runtime?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Percy has written a LotusScript agent that creates a vCard and attaches it to a selected Person record in the Domino directory. His agent runs to completion, but when he opens the document it does not have the vCard attached. Given the following LotusScript code, what is the cause of the problem? Dim session As New NotesSession Dim dbNAB As NotesDatabase Dim docNAB As NotesDocument Dim dcNAB As NotesDocumentCollection Set dbNAB = session.CurrentDatabase Set dcNAB=dbNAB.UnprocessedDocuments Set docNAB = dcNAB.GetFirstDocument Do While Not (docNAB Is Nothing) Call docNAB.AttachVCard(docNAB) Set docNAB = dcNAB.GetNextDocument(docNAB) Loop
-
A
The agent doesn't save docNAB after attaching the vCard.
-
B
The AttachVCard method cannot use the same document object as both source and target documents.
-
C
The AttachVCard method requires an additional parameter, specifically a ForceDocumentSave boolean value.
-
D
The AttachVCard method can only be used with mail memo documents as the target, so the agent would have to call docNAB.Send to attachthe vCard.
Reveal answer details
Close answer details
Question 10
Single choice
Elizabeth is modifying the Customers composite application. She needs to add code to determine if the RecentOrders component can be repositioned. What is a function she could use for this purpose?
-
A
@IsMoveable("RecentOrders")
-
B
@GetComponentProperty(MOVEABLE)
-
C
@ComponentProperty("RecentOrders"; MOVEABLE)
-
D
@GetComponentViewPreference(com.ibm.rcp.moveable)
Reveal answer details
Close answer details
Question 11
Single choice
John has an application that contains a form named "Order". His boss has asked him to create an XPage that will be used to create documents similar to the "Order" form. How can he ensure that he includes all of the fields that form contains to the XPage?
-
A
Define a document data source based on the form and drag the document from the Data Palette to the XPage
-
B
Define a document data source based on the form and drag all of the fields from the Data Palette to the XPage
-
C
Define a document data source based on the form and drag the document from the Controls Palette to the XPage
-
D
Define a document data source based on the form and drag all of the fields from the Control Palette to the XPage
Reveal answer details
Close answer details
Question 12
Single choice
Arthur wants to change the look of his entire XPages application. What can he do to accomplish this task?
-
A
Create a theme and apply appropriate style information, then change the Application's Default theme on the Basics tab of the Applicationproperties.
-
B
Create a theme and apply appropriate style information, then change the Application's Default theme on the XPages tab of the Applicationproperties.Click here to input option.
-
C
Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the XPages tabof the Application properties.Click here to input option.
-
D
Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the Basics tab ofthe Application properties.Click here to input option.
Reveal answer details
Close answer details
Question 13
Single choice
Nathan is adding the ability to upload files to his XPages application. What can he do to have the files placed in a particular rich text field.
-
A
In the Properties view, on the Data tab, select Simple Data Binding and specify a Domino document data source and bind to the specific richtext field.
-
B
In the Properties view, on the All Properties tab, under Basics, select the fieldName property and specify a Domino document data sourceand bind to the specific rich text field.
-
C
In the Properties view, on the File Upload tab, under Options, select the Add File to Field option and specify a Domino document data sourceand bind to the specific rich text field.
-
D
The file is uploaded as a V2Attachment and stored outside of the fields. To add it to a particular rich text field, Nathan can write an agent tosave the file to the operating system and reattach using the NotesRichTextItem classes.
Reveal answer details
Close answer details
Question 14
Single choice
John is using the new Java editor to create a Java agent that will fill up some items in a Lotus Notes document. During the editing process, John realizes that a specific variable name is not the name of the item he wishes to update, but he used that variable many times in the code already. How will John change the name of the variable in the code?
-
A
Click the menu item Edit -> Find/Replace in the dialog box, enter the new variable name, and click replace all.
-
B
Click on the menu item Edit -> Rename in the dialog box, enter the new variable name, and click replace all.
-
C
Double-click the variable name to select it, right-click, select Rename from the menu, enter the new variable name, and press Enter.
-
D
Double-click the variable name to select it, right-click, select Refactor from the menu, then select Rename, enter the new variable name, andpress Enter.
Reveal answer details
Close answer details
Question 15
Single choice
Carl is using the NotesRichTextDocLink object to work with a URL that he has in the body of an email. He would like to remove the underlying URL associated with the link, while leaving the formatting of the link alone. What method would Carl use to accomplish this task?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
|