Mark has added the Extension Library Dialog control to an XPage, accepting the default ID of "dialog1". He has added a button to launch the dialog. Which option will launch the dialog from the button?
On the Client tab of the onclick event of the button, add xsp . openDialog ("dialog1").
On the Server tab of the onclick event of the button, add xsp. openDialog ("dialog1").
On the Client tab of the onclick event of the button, add xsp. openDialog("# {id: dialog1}").
On the Server tab of the onclick event of the button, add xsp. openDialog ("# {id: dialog1}").
Correct answer: C
Question 3
What does setting the expandLevel property of a Navigator control to "0" do when the expandable property is set to "true"?
expands all the Navigator control levels
expands the first (index 0) Navigator child node
makes the Navigator control show only the parent levels
prevents the Navigator from displaying a twisty on levels that can be expanded