C2040-951 Free Dumps Study Materials
Question 15: Pablo has created an XPage to use for browsing and editing customer data. He would
like to add a
button which asks users if they are sure that they want to update the customer data. The
button saves the
changes if users indicate that they are sure.
How can Pablo create this button?
A.Drag a button control from the core controls onto the XPage canvas. From the Control
properties, select
Save as the button type, and enable the Confirm option.
B.Drag a button control from the core controls onto the XPage canvas. From the Control
properties, select
Save as the button type. A confirmation prompt is included by default.
C.Drag a button control from the core controls onto the XPage canvas. From the Control
properties,
select Submit as the button type. From the events panel, add a server-side simple action.
Select Confirm
Action for the action.
D.Drag a button control from the core controls onto the XPage canvas. From the Control
properties,
select Submit as the button type. From the events panel, add a client-side simple action.
Select Confirm
Action for the action.
Correct Answer: C