Qiang needs to add a button to the Contact XPage. When clicked, this button should delete the currently open document from the application. What is one way that Qiang can add this button?
-
A
Drag the Data control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the Operationstab, select Current document and Delete.
-
B
Drag the Data control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. In the Options areaof the properties, select Delete for the Action, and select Domino Document for the Target.
-
C
Drag a Button control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the eventspanel, select the Mouse onclick event, and add a server-side simple action. Select Delete for the action.
-
D
Drag a Button control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the eventspanel, select the Mouse onclick event, and add a client-side simple action. Select Delete for the action.
Reveal answer details
Close answer details
Which of the following options cannot be used in a server-side Javascript library?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Which @Command can be used in an XPage?
-
A
@Command([ToolsRunMacro];agent)
-
B
-
C
@Command([EditProfile];formname;uniquekey)
-
D
@Commands are not available for use in an XPage.
Reveal answer details
Close answer details
What is the purpose of using XSLT in a Lotus Domino Web application?
-
A
To define what DXL should be available for export.
-
B
To allow a Web service to interact with a Java agent.
-
C
To display a view as HTML without using a Java applet.
-
D
To transform XML documents to HTML or even to another XML document.
Reveal answer details
Close answer details
Anna, who has developed traditional Lotus Notes application for years, is working on her first XPage application. Until now, she always tried to achieve goals by using as much @formulas as possible. Now she is asking her colleagues about @formulas with XPages. Which of the following answers is wrong?
-
A
Thomas said that there is no @formula language with XPages.
-
B
Marc explained that she can use most of the @formulas within JavaScript.
-
C
Adam told her that she can use @formulas, but some of them have different functionality.
-
D
Pete said that she can use @formulas, but because it is running inside JavaScript, @formulas are case sensitive, and instead of semicolons ituses commas to separate parameters.
Reveal answer details
Close answer details
Kaitlyn has been asked to track which browser versions people are using to access the Customers XPage. She wants to add code that writes the browser version to the server log whenever a user opens the XPage. What server-side code can Kaitlyn add to do this task?
-
A
Add this code in the beforePageLoad event of the XPage:var req = facesContext.getExternalContext ().getRequest();print(req.getHeader("User-Agent"));
-
B
Add this code in the onLoad event of the XPage:var req = facesContext.getExternalContext ().getRequest();print(req.get(HTTP_USER_AGENT));
-
C
Add this code in the onLoad event of the XPage:print(headerValues.getHeader(HTTP_USER_AGENT));
-
D
Add this code in the beforePageLoad event of the XPage:print(headerValues.getHeader("User- Agent"));
Reveal answer details
Close answer details
With her Lotus Notes applications, Marianne has extensively used the QueryOpen event of the Notes Form to change the representation of some data. Is there a way to do the same with XPages?
-
A
Yes, on the Events tab of any XPage, you can find the BeforePageLoad event, where you can do similar things.
-
B
Unfortunately, there is no comparable functionality in XPages to do similar things.
-
C
Yes, on the Basic tab of any XPage, you can find the QueryOpen property, which can be used.
-
D
Unfortunately, there is no way to influence any data when XPages are loaded. You have to change them after loading and before the user getscontrol.
Reveal answer details
Close answer details
Rhiannon needs to add a field on her XPage that shows three data options and only one of the options can be selected. What type of core control does Rhiannon need to use to accomplish this task?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Donna wants to navigate to a panel in her XPage. Which area would she use?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 10
Single choice
Clarice has an XPage where she needs to store a value in a browser cookie. Given that the value's name is 'language' and the value is 'Spanish,' what JavaScript code can she use to do that?
-
A
cookie.language = "Spanish"
-
B
cookie.setValue("language") = "Spanish"
-
C
var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("Cookie", "Spanish");response.addCookie(userCookie);
-
D
var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("language", "Spanish");response.addCookie(userCookie);
Reveal answer details
Close answer details
Question 11
Single choice
Joy wants to implement single sign-on for her Lotus Domino Web applications. What does she need to do?
-
A
Encode the Single Sign-On form in each database.
-
B
Enable "Use Single Sign-on" in the database properties.
-
C
Ensure that all servers are using the same certificate authority.
-
D
Update the "Session authentication" field in the server's configuration document.
Reveal answer details
Close answer details
Question 12
Single choice
Frederick has added a button to his XPage and labelled it Edit. What should he do to make the button put the document in edit mode?
-
A
Add a simple action to the button's onclick event and select the Edit Document Action.
-
B
Add a simple action to the button's onclick event and select the Change Document Mode Action, specifying Edit as the mode.
-
C
Add server-side JavaScript to the button's onclick event and use the @Function script library to execute @Command[(EditDocument)].
-
D
Add client-side JavaScript to the button's onclick event and use the @Function script library to execute @Command[(EditDocument)].
Reveal answer details
Close answer details
Question 13
Single choice
Grace would like to emulate a PostOpen event on her XPage by using the Execute Script simple action. What options can she use to build her script logic?
-
A
-
B
@Formula, LotusScript, Java
-
C
Java, JavaScript, LotusScript
-
D
JavaScript, Expression Language, Custom
Reveal answer details
Close answer details
Question 14
Single choice
What best describes a theme for an XPage application?
-
A
A theme is a collection of CSS files.
-
B
A theme is a collection of Dojo modules that are used for the XPages application.
-
C
A theme is a collection of JavaScript resource files that are used to implement the user interface.
-
D
All of the above can be included in themes.
Reveal answer details
Close answer details
Question 15
Single choice
Emily is preparing to build an application for using browsers. She is considering using XPages. Which of the following statements about XPages is not valid?
-
A
XPages can be deployed to a Lotus Domino 8 server.
-
B
XPages can be used on a variety of browsers with minimal changes.
-
C
XPages can be made multilingual by using built-in Lotus Domino Designer functionality.
-
D
XPages can create and manipulate Lotus Domino data on other servers, provided they are within the same trusted domain.
Reveal answer details
Close answer details
Question 16
Single choice
Dudley is looking to improve the performance on an XPages application he built for the marketing department. This application is not used by a large amount of users at one time. Which server page persistence setting would work best in this scenario?
-
A
-
B
-
C
-
D
Keep only the current page on disk
Reveal answer details
Close answer details
Question 17
Single choice
Monica has bound the view named "Open invoices" into her XPages application, which is accessible as view1. For the convenience of the user, she likes to display the total amount of all invoices. How can she calculate this amount?
-
A
var total = view1.getItemSumDouble ('amount');
-
B
var allDocs = view1.AllDocuments();var total = allDocs.AddValues('amount');
-
C
var total:double = 0;var doc:NotesDocument = view1.getFirstDocument();while(doc != null){total = doc.getItemValueDouble('amount') + total;var tmpdoc:NotesDocument = view1.getNextDocument ();doc.recycle();doc = tmpdoc}
-
D
var total:double = 0;var doc:NotesDocument = view1.getFirstDocument();var item:NotesItem;while(doc != null){item = doc.getFirstItem('amount');total = item + total;var tmpdoc:NotesDocument = view1.getNextDocument();doc.recycle();doc = tmpdoc}
Reveal answer details
Close answer details
Question 18
Single choice
Maya is considering migrating her existing car rental application to use XPages. Which of the following sentences is true?
-
A
Framesets do not need any rework when migrated to XPages.
-
B
One can use views in XPages. They can be embedded into XPages by using appropriate controls.
-
C
If the existing application is using subforms, the migration is easy: Subforms can be included into XPages without adaptation.
-
D
Migrating an existing application is hard work, because it is not possible to run an application that uses XPages and classical design at thesame time.
Reveal answer details
Close answer details
Question 19
Single choice
Gustav has added a View control to his XPage. He needs to allow users to delete documents from the view. How can he do this task?
-
A
Add a button with a simple action defined to Delete Selected Documents.
-
B
Enable the Column Display property check box and the View property Allow Deletion.
-
C
Enable the Column Display property check box and add a button with a simple action defined to Delete Selected Documents.
-
D
Enable the Column Display property check box, and add a button with server-side JavaScript in the button's onclick event that uses the@Function script library to execute @Command [(DeleteDocument)].
Reveal answer details
Close answer details
Question 20
Single choice
Marie develops a web shop application. This web shop is used by different divisions of her company. While the business logic for each of these web shops is always the same, she needs to make the user interface distinguishable between the different instances of the shop. How can she achieve that task?
-
A
Marie develops different applications for each division.
-
B
Marie develops different Cascading Style Sheets for each division.
-
C
Marie makes the differences by using different Dojo themes per instance.
-
D
All of the previous options are possible. The most flexible way of doing it is fitting the different resources like stylesheets, Dojo themes, and soon together as a theme and define different themes for each different web shop.
Reveal answer details
Close answer details
Question 21
Single choice
With her Lotus Notes applications, Marianne has extensively used the QueryOpen event of the Notes Form to change the representation of some data. Is there a way to do the same with XPages?
-
A
Yes, on the Events tab of any XPage, you can find the BeforePageLoad event, where you can do similar things.
-
B
Unfortunately, there is no comparable functionality in XPages to do similar things.
-
C
Yes, on the Basic tab of any XPage, you can find the QueryOpen property, which can be used.
-
D
Unfortunately, there is no way to influence any data when XPages are loaded. You have to change them after loading and before the user gets control.
Reveal answer details
Close answer details
Question 22
Single choice
Joy wants to implement single sign-on for her Lotus Domino Web applications. What does she need to do?
-
A
Encode the Single Sign-On form in each database.
-
B
Enable "Use Single Sign-on" in the database properties.
-
C
Ensure that all servers are using the same certificate authority.
-
D
Update the "Session authentication" field in the server's configuration document.
Reveal answer details
Close answer details
Question 23
Single choice
Chester has an XPage that is reporting an Error 500 HTTP Web Server: Command Not Handled Exception. How can he get more details about the problem?
-
A
Double-click Application Properties in the applications navigator, select the XPages tab, and enable the "Display default error page" option.
-
B
Double-click Application Properties in the applications navigator, select the XPages tab, and disable the "Display default error page" option.
-
C
Click the Application title in the applications navigator, select the Properties View, select the Design tab, and enable the "Display default error page" option.
-
D
Click the Application title in the applications navigator, select the Properties View, select the Design tab, and disable the "Display default error page" option.
Reveal answer details
Close answer details
Question 24
Single choice
Lainey has recently upgraded to Lotus Notes Domino 8.5. She is now exploring the design of her applications to see what new features might be available. What is the purpose of the controls palette that Lainey sees?
-
A
The controls palette contains controls, such as Edit Box, File Upload, and Table that the developer can drag onto the XPage canvas.
-
B
The controls palette is another way to access the same items that are available from the Create menu for forms, views, XPages and other design elements.
-
C
The controls palette contains items like Edit Box, Button, and Label that the developer can drag onto XPages and forms. The controls palette is not available for views and pages.
-
D
The controls palette contains UI and other controls (such as Button, Link, and Image) that allow the developer to drag controls onto XPage or page elements. The controls palette is not available for other elements.
Reveal answer details
Close answer details
Question 25
Single choice
Clarice has an XPage where she needs to store a value in a browser cookie. Given that the value's name is 'language' and the value is 'Spanish,' what JavaScript code can she use to do that?
-
A
cookie.language = "Spanish"
-
B
cookie.setValue("language") = "Spanish"
-
C
var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("Cookie", "Spanish");response.addCookie(userCookie);
-
D
var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("language", "Spanish");response.addCookie(userCookie);
Reveal answer details
Close answer details
|