nerdexam
IBM

LOT-410 · Question #21

Jack wants to be able to add a client-side JavaScript (CSJS) library as a resource to his XPages custom control. How would he accomplish this?

The correct answer is B. Within the Properties view of the custom control, select "Resources" and then add the appropriate resource. See the full explanation below for the reasoning.

Question

Jack wants to be able to add a client-side JavaScript (CSJS) library as a resource to his XPages custom control. How would he accomplish this?

Options

  • AJack cannot accomplish this as resources can only be added to XPages and not custom controls.
  • BWithin the Properties view of the custom control, select "Resources" and then add the appropriate resource
  • CWithin the Events view of the custom control, select the onClientLoad event and insert the resource name
  • DWithin the Properties view of the custom control, select "Dojo" and select the "Insert Custom Library" option.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    81% (21)
  • C
    4% (1)
  • D
    12% (3)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice