Oct 16, 2016, 9:26 PM
110 Posts

Calling a dialog within custom control

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: dialog control,custom control
  • Replies: 1

I created a custom control which contains the extension library dialog control.

In my new XPage, I put the newly created custom control. Here, it's ID is 'mydialogcc'.

How can I show the dialog? I tried using the usual SSJS code getComponent('mydialogcc').show() but it doesn't work.

Oct 25, 2016, 7:14 AM
50 Posts
Calling a dialog within custom control

Have you tried CSJS? XSP.openDialog('#{id:mydialogcc}')