190-951 Free Dumps Study Materials
Question 5: 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 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-side JavaScript: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-side JavaScript: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 Save Document. 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 Save Data Sources. Specify DiscussionTopics as the argument.
Correct Answer: D