Want to pass your Creating IBM Lotus Notes and Domino 8.5 Applications with Xpages and Advanced Techniques C2040-986 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
What best describes simple Actions for XPages?
A. Simple actions make it possible to do web application programming by dragging and dropping.
B. Simple actions are predefined snippets of program code that you can define in the code section of an application.
C. Simple actions are preprogrammed functionalities that can be selected to be executed on an event within a control or within the XPage.
D. XPages does not support simple actions. Instead, you have the possibility to define custom controls, which provide the same functionality as the simple Actions that you know from elsewhere in Lotus Domino Designer.
Frank has an Purchase Order application where Order lines are created as child documents to the Purchase Order header. The Order lines are displayed in an embedded view. The formula in the first column of the view is @Text($Ref). How might the application be optimized?
A. Use a repeat control whose value is currentDocument.getDocument().getResponses().
B. Use @DbLookup formulas within a repeat control, instead of a View panel.
C. Enable the single copy XPage design on the XPage tab of the Application properties.
D. Use a multivalue field to hold the Order lines, instead of using child documents.
The DiscussionTopics XPage includes a button to take users to the Feedback XPage. Ted has created the Feedback XPage. He now wants to add a Save and close button that saves the user's input, and take the user back to the DiscussionTopics XPage. What is one way that he can do this task?
A. Drag a new Button control onto the XPage canvas. Set the button type to Submit. For the onclick event, add the following server-sideJavaScript: Feedback.save();
B. Drag a new Button control onto the XPage canvas. Set the button type to Submit. For the onclick event, add the following server-sideJavaScript: Feedback.save(); context.getUrl("..");
C. Drag a new Button control onto the XPage canvas. Leave the button type as Button. For the onclick event, add a simple action selecting SaveDocument. Specify DiscussionTopics as the argument.
D. Drag a new Button control onto the XPage canvas. Leave the button type as Button. For the onclick event, add a simple action selecting SaveData Sources. Specify DiscussionTopics as the argument.