Displaying Extension Library Dialog box when page loads?

前端 未结 3 1090
别那么骄傲
别那么骄傲 2021-01-28 03:31

Is there any way to display an extension pages dialog box when my page loads?

3条回答
  •  孤独总比滥情好
    2021-01-28 04:06

    Add a with the following client-side code as its value:

    XSP.addOnLoad(function(){XSP.openDialog("#{id:dlgMessage}");});

    ...just be sure to place the component outside any refresh targets, or it will launch the dialog again after every partial refresh event with a target that includes it.

提交回复
热议问题