C2040-410 - IBM Notes and Domino 9.0 Social Edition Application Development Exam B

Go back to IBM

Example Questions

If the facet is named, which is true? Jaden is looking for a way to show all the error messages from his validated fields in one place. Which of the following could he use to accomplish this? 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? Mark has designed a mobile application with two mobile pages. For the first mobile page he set the pageName property to "viewMobilePage" and for the second mobile page he set the pageName property to "documentMobilePage". He designed the viewMobilePage to display a listing of customer names from the CustomersByName view. He designed the documentMobilePage to display the document details for the customer touched on the viewMobilePage. He specified "customerDoc" as the name for the Domino Document data source and the field with the customer phone number is named "phone". What can Mark do to add a touch control to send an SMS message to the customer currently displayed on the documentMobilePage? In addition to monitoring Java heap usage, what other feature is enabled when a developer sets the "Show heap status" preference setting in IBM Domino Designer? Which is a true statement about XPages in the Notes client (XPiNC)? Which property does the Dojo Text Area control have that the Multiline Edit Box control does not? James has created an IBM Domino application that users will access over the web. He needs to create a link to open the application's "Using This Application" page. What URL string will he use? Davis is concerned that the Extension Library REST Service is not secure. Which is a true statement? Greg is designing a mobile application and would like to provide his mobile application users with a wheel selector interface to set a date value. How can he add a date wheel selector interface to his mobile input page? William wants to show line numbers in the Source Editor. How can he accomplish that? Gabe is using the Calendar classes to create a repeat meeting. How does Gabe use the NotesCalendar class to create a repeating event? Which statement is true about the Application Layout control? Which server notes.ini property will set the maximum Java Heap size used by the HTTP process? Jimmy wants to define a data source within his XPages application. Which option is a valid data source? How many of the JavaServer Faces (JSF) lifecycle phases involve the processing of events? Which statement is true for the Single Page Application control for use on a mobile XPage? There is a case where the XPage needs to check for certain conditions of the XPage prior to submission to the server for processing. All data entry controls are configured with server-side validators. Which XSP method could be used to prevent a page submission? Which statement is true when developing an XPage in IBM Domino Designer? Akane is trying to decide between using @Command([RefreshWindow]) and @Command(ReloadWindow]) in a view action. What is the significant difference between the two? When adding a custom control to his XPage, Dennis wants to display a custom message to the designer rather than the normal design representation of the custom control. How would he accomplish this? Laura wants to add a flag to her XPages control, but does not see it in the All Properties section within IBM Domino Designer in Eclipse. How can she add a custom attribute? Jen added an Application Layout control to the ccAppLayout custom control she is developing. To the titleBarTabs in the configuration she added three <xe:pageTreeNode> nodes to open an XPage with a Domino View data source in the Customers, Parts and Sales applications respectively. The label property for the three tabs she set to "Customers Application", "Parts application" and "Sales Application". What must Jen do to show the "Customers Application" tab as selected when any of the "Customers" XPages is rendered in a browser? A developer is working on an XPage and there is a client-side feature that needs to compute a value from a viewScope variable docStatus. Which Expression Language syntax will compute the value client-side? There is a requirement in a XPage to display a dialog box to gather data from the user without losing the context of the underlying XPage. After the user enters FirstName, LastName, and MiddleInitial, the underlying XPage should be updated with the "Full Name". Which control should be used? Which control, used to dynamically switch content, includes a useHash property to support switching content via a URL hash tag? Louise is designing a mobile workflow application. Next to a Label control displaying "Approved?" she added a Toggle Switch control with a leftLabel set to "Yes" and the default rightLabel set to "No". Which event should Louise now code to test for when the mobile application user swipes the Toggle Switch from "No" to "Yes"? Charles will use DOM to access document-related data using server-side JavaScript. Which class would Charles use to access character data? Which property of the Form Table control is used to display an asterisk (*) before the label for any required fields? If the facet name is computed which is true? John wants to add a "data-role" attribute to his Edit Box control. Which can he use to accomplish this? Twill is using the NotesDXLImporter class to import a text file containing the DXL for an IBM LotusScript agent that she would like to use in her application. However, the agent is not appearing after the import. Why? What two items are true regarding managed beans? (Choose two.) Which control should Larry add to the left column area of an Application Layout to provide a menu selection interface that uses the "lotusSelected" style class to indicate that a menu choice was selected? Slobo is working on a new XPages application. He has a requirement to use a Stylesheet (CSS). How would he use it on a XPage? Tyler has designed a viewMobilePage to display a listing of customer names from the CustomersByName view. During testing Tyler determined that to avoid scrolling he will need to restrict the number of customer names displayed on the viewMobilePage to ten. How can he do this? Which statement is true regarding the Extension Library Dialog control? By default, in which file type are custom controls stored within the Eclipse workspace? Which attribute of a facet specifies the location to display the facet's contents in its parent control? What format does the NotesCalendar class use for the data in the calendar entries? Jessica wants to design a Page that passes all data directly to the browser and treat the entire Page as HTML. How would she do this? James is creating an IBM LotusScript agent that will concatenate a string value and a numeric expression. Using the following code snippet, what will be the output? a$ = "500" b% = 200 c$ = "100" print (a$ & b%) + c$ Lynn would like to obtain the current date and time from the server hosting the database where his Formula code is executing. Which line of code could he use to do that? What value does this formula return? FIELD Items := 10; FIELD Values := 5; rate := 0.10; subtotal := Items * Values; subtotal * (1 + rate) Pamela wants to be able to able to debug her JavaScript within her XPages in the Notes client (XPiNC) application. What Extension Library control should she add to her XPage to enable this? 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? What is an Editable Area? Gary is writing a view selection formula to only display documents which have a Status field value of "Complete". Which formula will display the correct documents? Marco has designed a mobile application with two mobile pages. For the first mobile page he set the pageName property to "viewMobilePage" and for the second mobile page he set the pageName property to "documentMobilePage". He designed the viewMobilePage to display a listing of customer names from the CustomersByName view. He designed the documentMobilePage to display the document details for the customer touched on the viewMobilePage. He specified "customerDoc" as the name for the Domino Document data source and the field with the customer phone number is named "phone". What can Marco do to add a touch control to dial the phone number for the customer currently displayed on the documentMobilePage? Steven is using Java to write an agent in his application and needs to get a handle to the database that the agent is running in. How can Steven accomplish this?